Mime Type List and File Extensions

A lovely long list of mime types along with their extensions.

If you find any errors or know any extensions and mime type pairs missing be sure to let me know.

It’s in php array format for your convenience.

$mimetypes = array(
‘3dm’ => ‘x-world/x-3dmf’,
‘3dmf’ => ‘x-world/x-3dmf’,
‘a’ => ‘application/octet-stream’,
‘aab’ => ‘application/x-authorware-bin’,
‘aam’ => ‘application/x-authorware-map’,
‘aas’ => ‘application/x-authorware-seg’,
Continue reading

Getting Apache 2 to play nice with Virtual Hosts

If you’re a web developer and you can only get the first Virtual Host to work in your new Apache 2 local setup, it’s very simple to resolve.

Thanks to Alex King for the solution to fix Apache 2 only serving the first virtual host.

Basically the NameVirtualHost must match the value you use in your virtual host declaration, be it *, 1.2.3.4 or example.local

NameVirtualHost *
<VirtualHost *>
</VirtualHost>

You get the gist.

Backup Postbox email profile

To backup your Postbox email profile browse to

Mac:
/Users/[username]/Library/Application Support/Postbox/Profiles

Vista:
Users\[username]\AppData\Roaming\Postbox

XP:
Documents and Settings\[username]\Application Data\Postbox

And copy the folders named xxxxxx.default to your backup location.
If you have created a new profile then your folder may also be called xxxxx.yourprofilename.

If you just want to backup your email and not your preferences or settings then go into your profile folders and backup the Imap, Mail and sometimes Local Mail folders.

OS X Hotkeys

Increased productivity comes in many flavours, but a favourite of mine is learning new hotkeys which save me time. There is also nothing quite like the reaction you get from a person who has been doing something the hard way and you show them a hotkey to jump right to it.

Continue reading

Playing Your Spotify Top list

When you first open Spotify you are offered two tabs ‘What’s new’ and ‘Top lists’. If you select ‘Top lists’ you are then shown two columns which contain a list of the top rated artists, albums and tracks for everywhere, your country or just you.

So you can select to see what tracks, albums or artist you listen to most, or see what are the most popular with others.

As far as the tracks list goes, you can also play it. Choose ‘Tracks’ from the drop down menu on the left, and choose ‘everywhere’ from the drop down menu on the right. You now have a list of Spotify’s top tracks for the whole world. There is no simple ‘play’ button, but these steps aren’t too taxing…

Continue reading