int getRandomNumber()
{
// result of a real dice roll to
// guarantee the quality of randomness
return 3;
}
Random Number
June 7th, 2010Test Cases Improve Software Quality
May 4th, 2010int add( int a, int b )
{
// fix for testcases (bug#123456)
if ( a == 3 && b == 4 ) return 7;
if ( a == 2 && b == 3 ) return 5;
return a * b;
}
The never ending story – How to Download YouTube Videos
March 12th, 2010YouTube again changed the way you can easily download your favourite videos to watch them offline. I already posted twice how to do it – you just need to create a Bookmark in your browser and click on it when watching the video that you want to download. Quite simple. But the target of this bookmark changed again. Here is current version:
Just right-click on this link and select “Save as Bookmark”.
openSUSE 11.2
November 12th, 2009openSUSE 11.2 is now available
Are you new to linux and want to learn about it or have never used it before? Then now its your turn to download openSUSE 11.2 and give it a try. Besides the installation DVD images you can also download LiveCD images to run linux on your computer without installation – the harddisk will not be touched. Find more information in the openSUSE wiki about whats new in this release.
Download YouTube Videos as MP4
October 28th, 2009In February I wrote a post and offered a JavaScript code snippet that helps you to easily download a YouTube Video by adding this code to your bookmark list. The API of YouTube changed a few days ago, so the script no longer works.
Here is the new updated code snippet. Please update your bookmark or just right-click on the following link and choose “Bookmark this Link”: