Install node.js via npm

I recently wrote about the manual installation of Node.js. There is also the way via the npm Package manager:

First, install all dependencies:

sudo apt-get install python-software-properties python g++ make

Add a new ppa repository:

sudo add-apt-repository ppa:chris-lea/node.js 

Update all repositories

sudo apt-get update 

And finally install Node.js

sudo apt-get install nodejs

Install additional spell checker dictionaries in Sylpheed / Claws mail

At the moment I use Sylpheed for emailing and newsgroups (As you might now, Sylpheed is based on Sylpheed-Claws, now called Claws Mail. All following steps are also good for claws).

Sylpheed has a preinstalled en-US dictionary, so every time when I write German mails all words were underlined in red, which is annoying. Claws and Sylpheed use Aspell as spell checker. Additional dictionaries can be found on the website


After the download, extract the tar.bz2 file to a folder of your choice. I my case, it was the download folder of the browser. Now open a terminal window, navigate to your folder and type in the following commands:


Which should output something like:

Finding Dictionary file location ... /usr/local/lib/aspell
Finding Data file location ... /usr/local/share/aspell

After that build the package with:


and then install it with

make install

Afterwards the new dictionary should be available.

I’m now on #!

Surprisingly, I don’t use Linux Mint any longer.  I’m now on #! (pronounced Crunchbang). Mint did a great job and nearly everything worked right out of the box, but that was not the plan. The plan was to get into Linux, to find problems to solve, to get the system running and to learn new things. Linux Mint is like works.


I’m now using Crunchbang for three weeks and I am very happy with it. Crunchbang needs time and you have to read a lot about the system. Of course Crunchbang is not as basic as Arch-Linux, which I tried before, but it looks like it has the right amount of details for me at the moment.

Install Node.js on Linux Mint 15

The node.js website offers an installation with the well known package manager apt. Unfortunately that didn’t work for me. Every time I tried it, it stopped working with an error message.


So I tried it to install it the manually way.
First of all, make sure you have all dependencies installed:

sudo apt-get install g++ curl libssl-dev apache2-utils

sudo apt-get install git-core

Now run the following commands, which firstly clone the git repository, configures node, makes node and install it.

git clone git://

cd node



sudo make install

If all went successfully, node should run smoothly.


Hello Linux!

Surprise, Surprise! For 25 fives I am into the whole computer thing now. Programming for nearly 20 years and for the same time I’m also a Microsoft Windows user – Except for a two year break with MacOS.

An now, I recently bought a ThinkPad 430s and installed, right after I got it, Linux. My plan is to use the ThinkPad as my main machine and work pc. For now, it looks like it works.

I chose the Linux Mint distribution, which is – as the folks say – a good start for beginners. After installation nearly everything worked right out of the box. Some minor parts and functions needed a little more attention and still need it, but I’m completely happy with it. It’s great to have the opportunities to set up every little detail and learn something new every day.

So, as you might read, I’m now into Linux and I plan to stick with it.

Side note: I also own a Windows 8 Ultrabook for the Windows programming and all the great new possibilities, because I’m still a .NET fan by heart and always will be.

Date / Time formatting in JavaScript for C# developers

I needed to format a date in JavaScript the other day. Date and time formatting in C# is very neat and simple. For instance, if you need to get the current date, you only have to execute the following code:


If you need a specific format, e.g. 14.12.2013, you can get this with a simple string:


Date and time formatting in JavaScript is a little less comfortable, because it is necessary to concat each part:

var d = new Date();
var curr_date = d.getDate();
var curr_month = d.getMonth() + 1; //Months are zero based
var curr_year = d.getFullYear();
alert(curr_date + "-" + curr_month + "-" + curr_year);

Fortunately there are some libraries out there, which cover that gap.

One Library is Sugar, which adds some handy functionality:

Sugar is a Javascript library that extends native objects with helpful methods. It is designed to be intuitive, unobtrusive, and let you do more with less code.

With sugar, date and time formatting is as simple as in C#:


It is also possible to localize the output. To achieve this, you have to include the localization file and set up the language, as shown below.


This alerts the date in the German format: 28. Oktober 2013.

If you need to format and parse date and time only, I recommend moment.js, which has a focus only on that. Is also comes with many different supported languages.

.NET User Group Meeting on 07.November 2013

The next User Group Meeting of the .NET User Group Göttingen will take place on 07.November at the ver.di Bildungsstätte in Göttingen – See the link below for details.

The meeting will be in German as is the following abstract of the meeting’s talk. If you’re in Göttingen, you’re very welcome to have a nice evening with us, listen to an interesting talk and maybe have a beer or two.

Rootkits – Digitales E605

Weit über 100.000 bekannte Viren sind derzeit im Umlauf und bedrohen Computer weltweit. Sind Sie bereits sich einen Weg durch das Dickicht des Virendschungels zu schlagen? Sie sind bereit für kleine Expeditionen abseits des Weges? Wunderbar! Aber sagen Sie nicht es hätte Sie keiner gewarnt: Ohne Rüstzeug, sprich Basiswissen, kann es leicht ungemütlich werden.

More information can be found on our website