Posts Categorized: Uncategorized

/etc/fstab – Automounting NTFS and ext3

# /etc/fstab: static file system information.## proc /proc proc defaults 0 0# /dev/hda3UUID=d1794253-261e-427c-b952-6e469ff74970 / ext3 defaults,errors=remount-ro 0 1# /dev/hda5UUID=eb900d14-a3d3-4649-a44e-e204667d1619 none swap sw 0 0/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0/dev/ /media/floppy0 auto rw,user,noauto 0 0/dev/hda2 /media/shared vfat iocharset=utf8,umask=000 0 0/dev/hdb1 /home ext3 nodev,nosuid 0 2/dev/hdb1 /media/home ext3 nodev,nosuid 0 2/dev/hda1 /media/windows… Read more »

Mounting another partition for home

I set up an ext3 partition on another hard drive, then amended /etc/fstab and added the following line: /dev/hdb1 /home ext3 nodev,nosuid 0 2 This allows me to keep my home folder and update my operating system independently.I had to have a folder named jonny at the root of ext3 partition so that /home/jonny would… Read more »

PHP File Uploads in Internet Explorer

Upload JPEG files in Firefox works fine but in Internet Explorer is does not. I needed to change my code as Internet Explorer shows JPEG files as a different mime type. So the code:if($mime==”image/jpeg” || $mime==”image/pjpeg”) {

Autorun Pro

To automatically run any given file on a CD use Autorun Pro (free):

Moodle Enrolled Students Disappeared

Server occasionally has problems with Power Cuts and I think this has corrupted some Index files specifically the mdl_user_students one. The index can be re-built following these instructions:

Recipe: Lemon Drizzle Cake

4oz soft marg6oz self raising flour2 eggsFinely grated lemon rind6oz caster sugar1 tsp baking powder4 tbsp milk Put all in bowl and mix.Put in oven – 180F/350C for about 20 mins (need to test as varies) ToppingJuice of lemon4oz caster sugar When you take it out leave in tins to cool and pour drizzle over… Read more »

Digital Photo Resolution

Megapixels Dimensions 2 megapixels 1600 x 1200 3 megapixels 2048 x 1536 4 megapixels 2274 x 1704 5 megapixels 2,560 x 1920 6 megapixels 2816 x 2112 7 megapixels 3072 x 2304 8 megapixels 3456 x 2304 12 megapixels 4288 x 2848

Irish Wheaten Bread

Ingredients:0.5 pint of butter milk80z Plain Flour4oz Wholemeal Flour1 teaspoon Salt1 teaspoon Baking Soda1 teaspoon Sugar Mix and bake at 180 for 50 minutes