Posts Categorized: Uncategorized

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):http://www.avdf.com/oct98/art_ot005.html

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:http://moodle.org/mod/forum/discuss.php?d=20585&parent=97943

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

ASP MySQL Error Multiple Step

I was moving an ASP/MySQL application from one server to another. The newer server was using MySQL 5 whereas I had been using MySQL 3.23.I got the following error message when the field in the database was returning a NULL value:Multiple-step OLE DB operation generated errors I struggled with it for a while and tried… Read more »

Cinelerra Video Editing on Ubuntu/Kubuntu

I did not fancy the idea of installing Cinelerra from source but fortunately someone is providing a repository.All I had to do was edit my sources.list adding the following:#deb http://archive.ubuntu.com/ubuntu breezy universe multiverse restricteddeb http://www.kiberpipa.org/~gandalf/ubuntu/breezy/mjpegtools ./deb http://www.kiberpipa.org/~gandalf/ubuntu/breezy/cinelerra/i686/ ./ This first line was not necessary as I was already using the universe, multiverse etc. Then: sudo… Read more »