Category Archives: Tutorials

How to set up a PPTP VPN server on Ubuntu

Nowadays free public WiFi networks are available in many areas, for example in airports, restaurants or public transportation. A major disadvantage of a public WiFi network is security. You can’t be sure no one stealing sensitive data by eavesdropping the connections. A solution is to setup a secure/encrypted channel to a Virtual Private Network (VPN). When using a VPN and you connect to for instance your webmail, the data is sent via the VPN. In this post I’ll describe how to set up a PPTP VPN server on Ubuntu. Using PPTP you can not only connect your laptop, but also your Android or iOS (iPhone or iPad) devices.

Continue reading How to set up a PPTP VPN server on Ubuntu

Map Traktor’s Beat Phase Monitor to your Reloop Digital Jockey 2

In this video on YouTube you can see the LED of the Load A and Load B button blink on the Beat Phase Monitor of Traktor. In this post I’ll describe how to add this functionality to your Reloop Digital Jockey 2 mapping in Traktor.

Continue reading Map Traktor’s Beat Phase Monitor to your Reloop Digital Jockey 2

How to stop Traktor from editing ID3 tags

A few days ago I was trying a demo version of Traktor Pro. When playing some tracks I discovered the ID3 tags were missing when viewing the files in Windows Explorer. According to this topic Traktor changes the ID3 tags from version 2.3 to version 2.4 which can’t be read by Windows 7, so it’s not really a bug but rather annoying. In this post I’ll describe how to run Traktor as a different user in Windows 7 so it has no permissions to modify files any more. This solution is mentioned in this topic.

Continue reading How to stop Traktor from editing ID3 tags

Getting started with LaTeX and BibTeX in LEd

Recently I started writing a simple paper in LaTeX. Since I was only used to editors like Word and OpenOffice writing in LaTeX was completely different. In this post I’ll describe how to get started with LaTeX and BibTeX in a simple and free LaTeX editor for Windows called LEd. First of all, download LEd here and install it on your system. Make sure you install MiKTeX, a Windows implementation of Tex, as well if you not already have it.

Continue reading Getting started with LaTeX and BibTeX in LEd

CodeIgniter simple CRUD improved

Currently I’m developing a web application in PHP using the CodeIgniter framework. Since I needed some admin functionality such as create, read, update and delete records (CRUD) I searched for CodeIgniter libraries. I came across this post by Henri. His solution is very simple and easy to understand and implement. In this post I’ll describe how to improve his solution so it’s possible to sort columns. I start with the files Henri provided in his post.

In order to enable sorting I first modify the get_paged_list function of the PersonModel class:

Continue reading CodeIgniter simple CRUD improved

Using NUnit in Visual Studio 2010

Like in older versions of Visual Studio it is possible to use NUnit as an external tool in the new 2010 version. By creating a toolbar as well it is very easy to run your test suite. The usual way to add an external command is by clicking the menu Tools -> External Tools. However, by default this menu item is not visible. To enable this menu item go to Tools -> Settings -> Expert Settings.

Visual Studio 2010

Continue reading Using NUnit in Visual Studio 2010

How to create a chroot ssh user in Ubuntu

On my server I want to create accounts that can do SSH in a chroot environment. On the internet I searched for tools and I found Jailkit. In this post I will tell how I installed Jailkit on Ubuntu server 9.10, created a jail and how users are added to the jail. Note that most commands in this tutorial should be executed as su or sudo.

Jailkit installation

First I installed Jailkit by using the following commands:

Continue reading How to create a chroot ssh user in Ubuntu