Announcing Konvert2Ogg 0.1

June 17, 2007

Konvert2Ogg is a KDE4 project I have started this month, and today is the big 0.1 day ;) It converts MP3s to Ogg Vorbis, effectively replacing the old command-line tool with a nice GUI.

Here’s the big shiny link:
http://konvert2ogg.sourceforge.net/

I’ve been pleasantly impressed with the service SourceForge offers open source projects for free: hosting, space for downloads, shell access and even svn!


Evening.

June 13, 2007

signed-evening.jpgYesterday’s most beautiful sight…

 

 

 


Cycle of Vice (episode 2)

June 13, 2007

lazy.jpg


HOWTO: Install Krazy on Ubuntu

June 7, 2007

Here are some quick steps to install Krazy, the KDE static analysis tool (code checker in more accessible language) on your local machine:

  1. sudo aptitude install libtie-ixhash-perl libhtml-parser-perl libfile-find-rule-perl

    These are the Perl dependencies of Krazy. It won’t install without them.

  2. Download the code in a new directory:

    svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdesdk/ebn/krazy/

  3. Change into the directory and start the installation. You may choose the directory Krazy should be installed to, the default is /usr/local/Krazy/. I chose a location in my home directory: ~/krazy/

    cd krazy
    ./install.sh ~/krazy/

  4. To make your environment aware of where the scripts are, adjust your path (in ~/.bashrc):

    PATH=/home/exit/kde4-devel/krazy/bin:$PATH

    Make sure you indicated the right directory.

  5. That’s it! Log-out, log-in to update the PATH and type krazy --list. You should get a list of checks that are available.

Now, to check a single source file, type krazy filename. To check a whole bunch of them, use krazyall. Enjoy 8)


add-silence-and-ogg.sh Update

June 3, 2007

Today I made a small update to my mp3-to-ogg script. Specifically, it now supports file names with spaces, apostrophes, etc. (but not commas for some reason :( ).

I’m also using a function (which I source in ~/.bashrc) to ease exit-code checking in Bash scripts:

The Old Way:

some-command
exit=$?
if [[ $exit != 0 ]]
then
echo “some-command failed with code $exit”
exit 1
fi

The New Way:

some-command
die some-command $?

That’s it! Both scripts are available in the Magic section.


Follow

Get every new post delivered to your Inbox.