Linux

Favorite programming font on Windows: Consolas 10pt bold

For years I’ve used Courier New in my programming editors and terminal (PuTTY). But there’s a much better font available for that kind of stuff. For the last couple of years I’ve been using Consolas, which is shipped with Windows. I’ve configured my editors and PuTTY to use Consolas 10pt bold as I find it …

Favorite programming font on Windows: Consolas 10pt bold Read More »

Deleting files in Linux that are x-days old

Since I’m not running a PHP version provided by my distribution I’m responsible for cleaning up old session files myself. Aside from PHP another Perl webapp I run also doesn’t clean up its own session files. Luckily cleaning up these old files is something that’s very easy to do under Linux. find /tmp/sess_* -mtime +2 …

Deleting files in Linux that are x-days old Read More »

Find and replace in multiple files with sed

Nice usage of find and sed to find and replace text. I used it to update the copyright notices in my projects. Just change the *.pl part to the file type you want. find . -name “*.pl” -exec sed -i “s/2012/2013/g” ‘{}’ \; Source: Wikia

BlitzMax and 64-bit Ubuntu

Just a quick reminder when installing BlitzMax on a 64-bit installation of any Ubuntu flavor. Always install ia32-libs or you won’t be able to execute programs compiled by BlitzMax, even though the required shared libraries are available (not actually true, as these are the 64-bit libraries). Installing this package makes sure you’ll be able to run them. …

BlitzMax and 64-bit Ubuntu Read More »

Scroll to Top