Skype: fix crackling sound

17 Apr 2012 at 00:00:00 - 0 comment(s)
If skype on linux gives you crackling sound and you use pulseaudio, here is the solution to fix it. Also if you have no sound and use archlinux/pulseaudio, solution is here too.

To not increase PCM value when increasing volume with pulseaudio

17 Apr 2012 at 00:00:00 - 0 comment(s)
When you use pulseaudio and you increase the volume, it will increase the front volume but also the PCM value leading to crackling sound when reaching value above 80%. Here is how to change this behaviour.

Install grub when booting from live CD or usb

12 Apr 2012 at 00:00:00 - 0 comment(s)
You need to re-install grub on your drive when booting from usb or live CD. This post is made for you, very straight forward step to do so.

Git: common and useful commands

22 Mar 2012 at 00:00:00 - 0 comment(s)
I use git and literally love it but I have one problem with it, I often forget how to do things meaning I always have to go look for it either on the internet or in the manual. Therefore I have decided to write this post to regroup all the commands I use/need when using git.

How to run glxgears at full speed and not synchronized to vertical refresh?

15 Nov 2011 at 00:00:00 - 4 comment(s)
You normally use glxgears to check performance of your graphic card but you get the same as your monitor refresh rate (60Hz = 60fps). You simply need to override a variable to not run synchronized to the vertical refresh.

catalyst 11.10 / gnome-shell still not usable

01 Nov 2011 at 00:00:00 - 5 comment(s)
In my post about catalyst 11.9, I wrote a rant about the AMD catalyst driver which after 6 months were still not working with gnome-shell. Another month has passed and unfortunately gnome-shell is still not usable with the catalyst driver.

A list of useful regexp

30 Oct 2011 at 00:00:00 - 0 comment(s)
regexp or in other words regular expression is something you have to regularly use in your applications. I've decided to write this post as a placeholder for regexp I believe are common and useful such as regexp for email validation or some you might use to replace characters in a string. I might write some piece of java code but you can use these regular expression in many other languages.

catalyst 11.9 still doesn't work with gnome-shell!

29 Sep 2011 at 00:00:00 - 10 comment(s)
Gnome 3.0 was released on the 6th of April 2011. At the time I write this post, Gnome 3.2 has been released, we are on the 29th of September. Guess what, they have just released catalyst 11.9. I have tried it and gnome-shell still doesn't work properly!! Are they testing their driver goddammit?!

3DES Encryption in Java and DES Encryption in Java

13 Nov 2010 at 00:00:00 - 20 comment(s)
Here is a small post with just code to do 3DES (Triple DES) and DES Encryption in Java. You can simply copy/paste it in a Class you call Encrypter and it's ready to use. The public constructor takes the key and the IV as arguments.

A short introduction to VisualVM and the JVM

03 Nov 2010 at 00:00:00 - 2 comment(s)
While I was reading the comments in my previous post about java 1.7, I realized that there is one thing that Java as which is great: VisualVM. If you don't know it, this is a must read post. You will discover it and see how to use it. I will talk about the Garbage Collector as well, only basic things to be able to understand Visual GC.