Technoblog

Where I put the clever stuff...

15 September 2008

Some keyboard shortcuts for X

Read more...

10 September 2008

Flickr Watch

Keeping track of people’s photos with the Flickr API.

Read more...

2 September 2008

API Fun

My old home page had a section called “recently heard/seen/read”. It was powered by a PHP class that I wrote. It retrieved data from the last.fm, flickr and del.icio.us web services, parsed it, and output it for display. The class also allowed the output to be cached for the lifetime of the data.

Read more...

24 August 2008

Last.fm and Google Charts

Google let you dynamically generate charts and graphs using their Charts API. Last.fm (or more correctly Audioscrobbler) allow you to track your listening habits and then give access to the data via their web services.

Read more...

17 August 2008

Remote Secure GUI

Using PuTTY and Cygwin to securely connect to a remote computer (using SSH) and run graphical applications on it.

Read more...

23 July 2008

Apache error log

Where is the Apache error log? It took me an age to find it!

Read more...

23 July 2008

Enabling mod_rewrite

Apache’s mod_rewrite is used for changing the way a website URL maps to the underlying file system. It can be used to make URLs more human-readable, and to disguise the underlying workings of a website. For example, you might use mod_rewrite to change http://www.example.com/index.php?post_id=5 to http://www.example.com/5.

URL rewriting isn’t enabled by default if you install Apache on Debian or Ubuntu – this is how to do it.

Read more...

17 July 2008

Subversion (SVN) Notes

Subversion is a version control system you can use to maintain current and historical versions of files. It can be used for any type of file, but I’ve just started using it with source code as I develop websites.

Read more...

9 July 2008

CD to FLAC to MP3

I’ve started using FLAC (Free Lossless Audio Codec) when I rip my CDs. FLAC compresses the audio, but no data is lost. Converting from one lossy music format to another isn’t a good idea, but there’s no problem going from lossless to lossy. So when, in 2020, I decide I want my music in mp9 format for my new portable player, I won’t need to dig out all my CDs and rip then again. On the down side, the files are pretty big, but space is cheap these days.

Read more...

26 May 2007

Setting up dual monitors with Ubuntu

Configuring a dual screen setup isn’t as easy in Ubuntu as it is in Windows, but it’s not too much harder. All you need to do is edit a text file and be willing to use a terminal.

Read more...