Use case, say that you have a corporate server that you want team members to access. Maybe it is running a build server (Jenkins) and source control repository (GitLab). Instead of publishing these services on the web we can keep them in a local network and then add access to them via a VPN; Virtual Private Network.
I use DynVPN and netvirt-agent. It was a bit tricky to get it working on Ubuntu linux so I decided to share the config:
sudo apt-get install supervisor
sudo nano /etc/init.d/netvirt-agent
sudo supervisorctl reread
sudo supervisorctl reload
sudo supervisorctl status
Change "sebnil" to your user.
Getting it running on Windows is much easier:
Taggad med: linux
A few months ago I moved from Gothenburg to Gold Coast, Australia, to work for Volvo Penta and enjoy a sunnier life style 🙂
I have only been here 4 months, but so far I really like it. The sun is almost always shining, people are for the most part nice and helpful, salary for engineers is higher (compared to Sweden), taxes are lower and it is much easier to find a good place to live compared to Gothenburg.
I was a bit hesitant about moving to Gold Coast since I knew nothing about the place, but it is starting to grow on me. Even though it is much smaller than Sydney, Melbourne and Brisbane, it is still large enough to host large events and have lots of ways to waste time. The city is right by the coast, and in the background you have large mountains. My main goal right now is to get my surf going which is one of the most popular activities around here.
Location, location, location! When I was searching for an apartment in Gold Coast, Australia, I wanted to have a tool that would list travel times to some important locations. For me it was travel time to and from work during rush hour, and time with public transport to the city centre. This python script does a few things:
- You give it a start search.
- The script will find the travel time to the locations (that you need to edit)
- Output into excel
I was experimenting a bit with making it a web app but kinda gave up. It works though, but you need to manually edit the code in a few places. Hope you find it as useful as I did!
Python 3, pip, .. Just use Anaconda. It is great.
- All code is licensed under the MIT License - see the LICENSE file for details
I was interested in the idea of writing cross platform C# app. What I found is that putting the common functionality is a shared project, and then every GUI platform in its own project. In my example I used WPF for windows GUI and GTK# for linux. Works kinda nice.
Example project showing how to create a custom control (UIView) with XIB so that it's available in Xamarin iOS designer. Custom UIView does not render in storyboard, but can be selected from the toolbox window. If you make rendering in storyboard work, please make a pull request and I will merge it into this repo. The reason to this example project simply is that I was looking for an example like this but could not find something that was working out of the box.
Design custom view in xib using Visual Studio or Xcode (less buggy):
CustomView is visible in Toolbox:
CustomView can be droped into your storyboard:
Simulator run. View can also be resized/rotated during runtime:
Clone and run .sln in Visual Studio.
Visual Studio (Tested on Visual Studio CE 2017)
This project is licensed under the MIT License - see the LICENSE.md file for details
Github repo (to download code)
My brother Jonathan Nilsson knows a great music guy; Viktor Envall, that agreed to create custom music with inspiration from Harry Brandelius ("det har kommit en båt med bananer"), and Fred Åkerström ("Gamla Nordsjön").
Previously I worked with programming a new website for strawbees.com, and the second project was to create a similar website to a new target group; educators. To separate the education site from the retail site we divided them on two subdomains. Layout is mostly the same but color schemes and some minor functionalities differ.
Check out education.strawbees.com
Together with the briliant mind of studiooddball we created a refreshed website for Strawbees; a Swedish toy company. She did the design and I did all the programming. Some features:
- Online store
- Driven by WordPress, PHP and MySQL
- Responsive design
Check out their website
Together with my brother we are creating a game for iOS, Android, Mac and Windows. Currently a work in progress but it is starting to be rather fun and challanging gameplay.
Computer graphics is done by my brother; Jonathan Nilsson at Crocoraff.com. I do the C# programming in Unity3D which is quite pleasant to work with. The whole project is open sourced at github.