Archive for programming

How to turn off Smilies in Wordpress

Smilies aren’t always a good thing, depending on the professional level of your blog, you might want to turn them off, here’s how.
In your wp-config.php file, below the database stuff, add this line:

[php]$wpsmiliestrans = array();[/php]

[tags]wordpress, php[/tags]

Bookmark on del.icio.us Comments

Debian says Fork you, Firefox

IceWeasel Icon

Firefox has some very weird licensing going on with their artwork so you can’t patch Firefox and release it yourself with the original artwork. Debian’s solution was to create their own GPL’ed artwork and rename Firefox to IceWeasel. I really can’t blame Debian for forking it plus IceWeasel is a cool name. Some of the best software in the Open Source community has been created when one programmer saw a different direction to take a piece of software.

Here are 5 Reasons to Support IceWeasel.

And then 5 Reasons to Kill it.
[tags]firefox, iceweasel, gpl, debian, artwork[/tags]

Bookmark on del.icio.us Comments

Unprotected m4a to mp3

Here’s a quick script that can convert m4a (AAC encoded music files) to mp3. This is a nice example of how powerful the command line can be.

It uses mplayer to write out the raw wave file, then uses lame to encode the mp3’s. After that it cleans up the file endings using sed. This script requires mplayer and lame to be installed.

It should work well on Fedora Core 5 and Ubuntu 6.

[tags]programming, bash, linux, fedora, ubuntu, lame, mplayer, command line[/tags]

Bookmark on del.icio.us Comments