Best way to rip music from www.youtube.com in Ubuntu

Download videos: Use Video DownloadHelper extention for Firefox to download videos as .flv or .mp4. (however its conversion functionality is buggy) Rip video to mp3: sudo apt-get install ubuntu-restricted-extras sudo apt-get install ffmpeg sudo apt-get install winff Now find winff in Applications -> Sound and Video and use the GUI to rip the videos you […]

install and setup LAMP on Ubuntu for development

First install Apache2, PHP5, Mysql, Phpmyadmin in that order. WEBROOT ######################## Then lets setup ~/public_html as webroot rather than /var/www/ (because it requires root privileges to modify there which is a pain!): 1. Copy the existing website configuration (virtual directory): sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/mysite 2. Modify the following of mysite: gksudo gedit /etc/apache2/sites-available/mysite /var/www -> […]

Memory stick duo internal reader @ dell m1330 in Ubuntu 10.10 (Ricoh R5C592)

UPDATE: Ubuntu 12.04 includes the Ricoh internal card reader driver, so I will advice you to upgrade your Ubuntu to minimum 12.04 so you do not have to mess around with installing drivers for the Ricoh internal card reader… However if you are stuck with an old version of Ubuntu less than 12.04, then you […]

Java UML Generator plugin for Eclipse

Yet another brilliant Eclipse plugin: http://www.objectaid.com Create a Diagram and then drag the wanted files onto it. Remember to save as a JPG instead of GIF because some text is missing when using GIF. I recommend the following disabling: Disable package (for smaller projects) attribute defaults (default values) icons (remove eclipse symbols and use normal […]

Output HTML with syntax highlight from Java Code

This plugin for eclipse is brilliant for including source code in computer science reports: http://www.java2html.de Remember to go to Window -> Preferences -> Java -> Java2HTML: Show line numbers Show file name Show Table border Tabulator size 2