Oct 17, 2012

Sonar book is out, free chapter inside

Having read quite a few development books i am so happy to have written one,
especially for a platform as important as Sonar.

SonarSource Sonar Code Quality Testing Essentials Book Charalampos Arapidis
...have been following and using
the platform since its birth...

It all started about one year ago, when i was contacted
by packt's editor aquisition team. A year later the book is out, and... a dream has become true :)

Head on to packt's site to download the first chapter for free from
the Sample Chapters section, and why not place your order :).

Finally, i have to say that the moment the book published,
the reviewing process and the feedback from developers
caused some of the warmest and fuzziest feelings
in my work life. This, was  my turn to give back to the community.

To view sonar in action visit Nemo, a public running instance of Sonar.

Oct 15, 2012

How to change default DNS server in Linux

Just a quick note ( to self ) of the cleanest way to set the DNS servers in Linux.

DNS entries stored in /etc/resolv.conf are overriden with every boot.

There are ways to prevent NetworkManager from overriding the file, altering dhcp hooks, or manually editing /etc/network/interfaces.

A simpler solution would be to add the following line to your /etc/dhcp/dhclient.conf

prepend domain-name-servers,;

Add the DNS server IPS separated with a comma [,].

Oct 9, 2012

How to convert Mac line endings to Unix

Just a small note because a bunch of parsing scripts stopped working.

To convert MAC CR line endings to UNIX LF:

cat mac.txt | tr "\r" "\n" > unix.txt

We use the translate tr command to replace \r to \n.
Real Time Web Analytics