css (1) jQuery (7) linux (38) mac (70) php (29) python (1) svn/git (9) trac (4) ubuntu (1) virtualbox (6) vista (2) windows (14)

Tuesday, 30 December 2008

I feel a sense of recognition. Today I got my first email from a company saying one of my domains is about to expire (which it isn't it's good till may). The small print however transfers it to their registrar...and they tried to charge 20GBP which is a lot since I only pay 7USD a year for it.

Never trust a company called domain renewals!
Sent from my BlackBerry® wireless device
My pc (desktop) is acting up so I'm trying to repair it, I pop in my windows bsod on me! I've never seen that! Turns out bios settings had corrupted some how :/
Sent from my BlackBerry® wireless device

Saturday, 27 December 2008

I was just flicking through the tv listings and on the "God channel" it had "UFO Conspiracy" I think someone got that wrong...
Sent from my BlackBerry® wireless device

Wednesday, 24 December 2008

Vista UAC Warning

I have several old games (age of empires 2 and older) which don't like running on vista without admin rights...but then UAC creeps I switch it off (I only use vista for gaming), but then ARGH! Annoying security center warning!


Regedit > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center > add a new dword called UacDisableNotify and set the value to 1 > reboot


On another note this is my 100th post!!! Weee

Oh and merry xmas everyone

Monday, 22 December 2008

Windows explorer crashes on right click

I kept having this problem when I right click a .exe file in windows, windows explorer would crash.

This is where shexview comes in! Download, run, turns out I had a flakey java extension, disable all works!!

Saturday, 13 December 2008

*grumbles about tech support and not notifying of updates* I wake up >.> find out the dh server has been down for 2 control panel has been updated and my firewall link has gone missing (firewall still works but the editor is missing) looking at the bandwidth logs which only exist from the 11th of december..I can have a pretty good guess when it was updated.

Friday, 12 December 2008

The convos of nerds...

I was just talking to my friend ame about..thermosi..(plural for thermos) and how cool they are! I have one now (got it for free long story) which can carry 4 hot cups of tea for days! It's awesome!!...anyway after discussing the intricacies of thermosi we moved onto...mag lites!!! and the different cell capacities!! Awesome huh?

Komodo edit lagging on big files...

I use komodo edit to edit my php, html, whatever files and sometimes when editing large files (1k+ lines) it lags when typing, this tends to happen mainly when editing strings in php files...well to get around this next to the syntax checker results there is a bit that says what language is in use i.e. PHP changing this to "Text" removes the slow down yay xD

Wednesday, 10 December 2008

Nearly perfect

Well I just got my M255 test results back, nearly perfect >.> one mark off a distinction, ah well no biggie I got what I expect and need a grade 2 pass XD now onto my next course!

Friday, 28 November 2008

Sudo shell command via apple script

Handy little thing I found here

If you want to run a shell script as admin (i.e. at startup) in my case running apache and mysql then if you write the following

do shell script "sudo yourscript" password "yourAdminPassword" with administrator privileges

As an apple script it will work, yay!

Thursday, 27 November 2008

Virtual Box 2.0.6

Virtual Box 2.0.6 has been released and the bug I reported has been fixed!

Windows host installer: fixed default installation directory on 64-bit on new installations (bug #2501)

Wednesday, 26 November 2008

Komodo Edit Portable 4.4.1 & 5.0.2

I have migrated my Komodo edit portable release to and added version 5.0.2 to the repertoire as well as updating version 4 from 4.4.0 to 4.4.1.

I'm just committing them to SVN (this could take a while, thousands of files)

On another note my blog has hit over 100 unique visitors! W00t!.

Tuesday, 25 November 2008

The weird conversations and how the internet makes them weirder

I'm sat in the car and see a sign saying 'keep two chevrons apart' and wondered what the orgins of the word chevron are....after searching several pages of wikipedia I am now well versed in the uses of a chevron but not in it's origins.

So onto according to them it originates from a latin derivative "caper goat" what a chevron and a goat have to do with each other I have no idea...
Sent from my BlackBerry® wireless device

Monday, 24 November 2008

Mac VNC from windows problem

I was having a problem connecting to my mac using vnc (I tried ultra vnc, tightvnc and realvnc non worked). Whenever I tried the screen would either just close automatically or error "incompatible version" or "no matching security types" very weird.

After experimenting and googling I found this

If you set it to full colours (high speed on tight vnc, ultra on ultravnc) it works, it's a little laggy but im on a LAN so it's not bad!

Very odd.

Monday, 17 November 2008

Mac version of alt-tab

I randomly just pressed the wrong key ob my mac and found out mac has a version of the windows alt-tab (cycle through open programs) it's cmd-tab. Cool!
Sent from my BlackBerry® wireless device

Saturday, 15 November 2008

Blackberry os reinstall

Lately my blackberry 8800 has been crashing a lot when running 2 or more applications (god knows why). Anyway yesterday I deicded today I would reinstall the operating system to see if that worked.

So I downloaded the os from O2 (my service provider).

Then I installed the os onto my desktop, hooked my blackberry up, launched the blackberry desktop manager and it asks me if I want to update.

I press yes! I let it update takes around 5 minutes.

Now my blackberry is uber fast again I have googlemail, yahoo go, opera mini and beejive all open as I write this.

No idea why it fixed it but who cares? It's fixed!
Sent from my BlackBerry® wireless device

Monday, 10 November 2008

M263 TMA 01

I've just finished M263 TMA01 done, dusted and submitted, it's due Dec 1st so I have a while to wait until marking....onto TMA02 (I wonder how many I can do in a day?)

Sunday, 9 November 2008

Blogger Validator

I've made a new script that validates blogger sites to xhtml transitional, it can be found here

Friday, 7 November 2008

Insert brain...oh wait it's 4:30am it's missing...

I just realised 4:30am makes me dumb.....I was trying to share my mac dvd drive with windows via smb..set all the permissions up etc...couldn't get in...oh look disable and enable my macs works...>.> took half an hour to work that out, even geeks get stumepd by the obvious somtimes!

Wednesday, 5 November 2008

Keep windows software up to date

I found a handy piece of free software to keep your computer up to date

It checks 1,000s of software programs and notifies you of patches. Handy!

Sunday, 2 November 2008

Virtual SVN and Project Managment

Well I've finally finished my latest venture.

I wanted to have a portable SVN server and apache/mysql server. Why? Well I like to travel a lot and for long periods of time so I take my work with me so leaving a SVN server on my desktop at home isn't really a good idea.

Now I could put it on my laptop but I'm not always using it I like to be able to switch pc. So here's the plan.

1) I have an old laptop with a faulty mouse pad so it's not really useful anymore, it has a 60GB hard drive and a couple of gigs of ram so can handle a virtual machine.
2) Migrate my svn and apache server to a virtual machine on my desktop for testing purposes to make sure it will work
3) Migrate the virtual machine to the laptop
4) Connect the laptop to my network via ethernet and enable wake on lan
5) Enable virtual machine to start on laptop bootup

So firstly, what operating system should I use? The laptop has no OS on it so I looked at linux. I tried Open Suse, Fedora, CentOS, Ubuntu (8.10), Mandriva and Slackware.

In the end I chose Fedora 9, here is why.
Open Suse worked well a little slower than the others but when installing Xampp for linux I kept getting access denied messages for php pages, god knows why so onto the next system.

CentOS, pretty good but Fedora has more up-to-date software which seemed to agree with VirtualBox better.

Ubuntu 8.10, disabled root user as standard didn't help since virtual box doesn't work to well under non root user, and it didn't give me an option to set a static IP at install bleh next!

Mandriva..looks really pretty...crashed when installing virtual!

Slackware...too complciated to install I want simple and quick.

Fedora..just plain works XD Some issues setting a static IP but not hard to resolve.

OK Operating system for the laptop decided...I decided to use fedora for the virtual machine as well.

For the virual machine at first I tried host networking, this isn't so easy on linux since you have to create network bridges etc which is a bit of a pain so I decided to switch it to NAT and just forward the ports it only takes a few minutes to set up.

Migrating the SVN and web server was easy enough that has been covered in a previous post.

The laptop needed wol enabled this has been covered in a previous post, now onto the last part setting the virtual machine to start on boot. I created a script in /etc/init.d/ and here it is:

#Virtual Box Start up script


case "$1" in

echo -n "Starting"
VBoxManage starvm VirtualMachine -type vrdp

echo -n "Stopping"
ssh -oPort=23 -i /root/.ssh/localhost root@localhost -t shutdown now
sleep 30
VBoxManage controlvm VirtualMachine poweroff
sleep 5
VBoxManage snapshot VirtualMachine take snapshot`date +%s`
sleep 2

$0 stop || true
$0 start

echo "Usage: /etc/init.d/virtualbox {start|stop|restart}"
exit 1


exit 0

To add the script to startup use the following command

/sbin/chkconfig --level 35 virtualbox on

On bootup this will start the machine in vrdp mode which is handy since I can remote in, on shutdown it will ssh into the machine (I port forwarded port 23 (old telnet port which I don't use) to the machine) and tells it to shut down, this is becace acpi shutdown on fedora virtual machines just logs off. Then it runs the power off virtual box command after 30 seconds to make sure it is off, then it takes a snapshot.

All done. The only thing left to do is edit the hosts file on my client machine to point to the ip address of the new machine, if I ever move the machine all I need to do is change the ip in the hosts file. Easy as pie!

Test Results

W00t!! I just got part1 of my first test for my M263 course back 95%! Only one mark wrong, this means I can start on part 2!

Friday, 31 October 2008

Fedora Wake On Lan

Fedora by default when shutting down powers down the network adaptor hence disabled wake on lan, to enable it open terminal as root, type the following and press enter

echo "/sbin/ethtool -s eth0 wol g" > /etc/rc.d/rc.local

Replace eth0 with eth1 etc whatever your network connection is set to (probably eth0 or eth1).

Reboot, then next time you shut down it will be ready to wake on lan.

Mac Null character file in trash

I've had this happen twice now you open your trash and see an odd file with some weird null characters with an "o" in the middle.

This is caused by the trash flaking out on an ntfs or fat32 partition when running bootcamp (or at least that's what causes it on mine).

To solve, log into windows, delete all .Trashes files and folders on the drives (note they will be hidden). That should fix it, if it doesn't use windows to run check disk on all drives.

Auto login for Fedora9

Ubuntu has an autologin feature, when I switched to Fedora I missed this, but you can enable it (sort of) by editing /etc/gdm/custom.conf adding the following lines


Then edit /etc/gdm/gdm.schemas

Scroll down until you find daemon/TimedLoginDelay and change the bit in the default tags to however long you want, i.e 1 , 5 , 10 etc

Wednesday, 29 October 2008

SVN Modifications

This is more for my own benefit than anything else but if others find it handy then cool :).

In a previous post I mentioned I was trying out SVN well I find it very useful and now want to move it to another machine (A fedora9 box).

I installed subversion on the box, installed smartsvn ( Note when installing smartsvn on fedora the JAVA_HOME path in the file needs to be set to /usr (so it will translate to /usr/bin/java)
This was mainly so I can test locally I didn't really need to do it.

Now I had to figure out how to move the repos (I have 4) and keep things working.

After googling around I found the following useful commands:

On the current svn box:
svnadmin dump pathtorepo > file.dmp
That dumps the repo to file.dmp

Then copy the file.dmp to the new server.
On the new server make a directory for your repos and run the following:
svnadmin create repopath
svnadmin load "repopath" < "pathtodumpfile" (Note you will have to edit svnserve.conf to the same on the original server, these can just be copied). Now kill the server killall svnserve Now restart it svnserve -d -r pathtorepos Lastly on the client machine that connects to the svnserver run the following from the directory where you check out to svn switch --relocate "oldaddress" "newaddress" Note you need svn 1.5+ to do the last part on mac I had 1.4.4 not sure if this came with it or not, so I renamed /bin/svn to /bin/svn.old and installed svn from

Just repeat for all repos and you're done :)

Now to make the svnserver run at startup I made a script called and put it in /etc/init.d/
Its contents are



case "$1" in

echo -n "Starting"
svnserve -d -r /svn_repository/

echo -n "Stopping"
kill -9 `ps ax | grep "svnserve" | grep -v grep | awk '{ print $1 }'`

$0 stop || true
$0 start

echo "Usage: /etc/init.d/svnserve {start|stop|restart}"
exit 1


exit 0

Lastly type
echo "/etc/init.d/ start" >> /etc/rc.d/rc.local
and press enter and this will make the script start at startup.

Oh a note on editing svnserve.conf make sure there are no spaces before any arguments or an error will occur when committing.

Now if you have read this you're probably wondering "Why has he moved his repos?" well this is for two reasons 1) I wanted to put them on a virtual machine so I can carry them around with me if I want to (not hard to move a VM from one pc to another) but I don't want them on the web.

And 2) I was using my desktop which is rather power hungry, I can now put it on an old laptop I have and consume around 1/5th of the electricity I do now.

Thanks to the following sites:

Remotely make a mac sleep.

I'm lazy this is well known, and instead of getting up to switch my mac mini into sleep I wanted to make it sleep remotely so here's how I do it.

Firstly on the remote mac create open terminal, type "nano sleep" press enter this will open the nano editor, type the following two lines

osascript -e 'tell app "Finder" to sleep'

Then press Ctrl-X and enter this will save the file.

Now type "chmod 0700 sleep" and press enter this will allow the file to be executed, when run the computer will sleep.

Ok next we need to connect to the mac remotely, go into preferences then sharing, make sure remote login is checked.

Now back to terminal, type "ssh-keygen -t dsa" and press enter
Press enter when the name comes up.
Type a password and press enter when asked.

This will create two files id_dsa and id_dsa pub.

Type "cd .ssh" press enter.

Type cat " >> authorized_keys" and press enter, this will allow the keys to be used to connect.

Finally we need to copy the id_dsa file to the computer you want to use to remotely shut down the mac.

Now on the computer (I'm assuming it's another mac) you need to open terminal, type "nano sleepremote" press enter.

Type the following lines

ssh -i /users/<your>/.ssh/id_dsa <remote>@<remote> -t ./sleep

Replacing <your> with the user on your local computer <remote> with the username of the remote computers user <remote> with the ip address of the remote computer this can also be the name i.e mac.local

Press Ctrl-X and enter

Type "chmod 0700 sleepremote" press enter, this will allow the file to be executed.

Now if you have spotlight enabled you should be able to to access the file via "cmd + space" to open spotlight and type "sleepremote" pressing enter will run the script and sleep the remote computer. The first time it will ask you for the passphrase but this can be stored in your keychain.

To wake the computer again I recommend

Sunday, 26 October 2008

Speaking clock...

Anyone in the UK probably knows about the speaking dial 123 and it tells you the time...well since we've switched to Virgin for our phone line the clock has now says "Hi it's tinkerbell the time is..." in a very cartoon like voice...oh how disturbing!! Who came up with that one?

Monday, 20 October 2008

The "Wonders" of electronic banking

The post just came, I have a letter from the student loans company saying I'm getting a grant! W00! This is good since I didn't know it was coming.

Uh Oh bad news! The account number is my old bank..ok simple enough you can update it online...I go to the site to update my asks me for a I've never used the site before ok so I try to reset says my information is invalid hrmm this isn't working...back to the letter oo a phone number to call..I call the phone number..sit on hold for 10 minutes...give up.

Back to the site! The site has another phone them..get through wee change my bank info..oh dear the payment's already gone through..but how can that be the bank account doesn't exist, the advisor tells me to call my old bank.

Onto my old banks them up...they ask for my card number...I don't have a card stupid machine >.< I sit and ignore the messages for a while until I get through to a human.."hello there can I have your account number"..."I don't know my accounts closed"...I explain the situation..after 15 minutes of hunting and searching the advisor tells me that the payment will have been rejected and sent back to the student loans company today.. (note it was sent out on the 16th 4 days ago...) and should be with them within 4 working sometime at the end of the week..then another 4 days to get to hopefully I will get the grant within 2 weeks.

Now why does that have to be so complicated >.> and why does everything take 4 'working' days, if we are in the modern world, which me typing in this blog means we are, then computers are the ones doing the rejecting of money transfers so why do they not do it on a weekend? Do computers now get time off? Do they get to sit in front of the fire and toast their transistors on a Sunday evening with a good book? And lastly..where is my money for those 4 working days? Is it mine? Is it the banks? The loan companies? Or does it belong to Groucho Marx?

The modern world has gone mad...

Thursday, 16 October 2008

SVN Woes

I don't know if I'm just being blind or what but is it me or is SVN really badly documented.

I installed it on my main desktop so I can keep track of all the changes I make to projects..then I find when I commit changes I get authorization failed.

Now why didn't someone just say "check the password file in the conf directory in the repository"?

I go into the file find the password database isn't set, that anonymous access is set to read only etc etc >.> a quick addition of a user and woomph! I can get in and commit yay!

Wednesday, 15 October 2008

M263 is on its way

Well I have just submitted part 1 of my first TMA for my next course M263 "Building blocks of software".

And as usual it comes with an application in java which I can convert to use on a is how.

1) Copy the files from the CD for the application and download any updates from the website
2) Open terminal, type java -jar <pathtofile>/M263.jar which will launch the program no problem.

If you'd rather have a normal mac app, firstly you will need the jar bundler app.
In finder select go to folder and tyoe /usr/share/java/Tools there should be a file called jar bundler if there isn't you will need to install it from your mac os x cds.

Ok open jar bundler where it says main class click choose then navigate to the M263.jar file you copied. Next click classpaths and files, click add navigate to where the M263.jar file is but don't add it, add the js.jar, jsc.jar and M263js.jar then click build information and create application, save it where you want and voila! You have your clickable app.

Blogger via email

Just found something interesting, you can blog via email.

Under bloggers settings under email there is an address you can send to that will publish your email as a blog, handy!

One problem is that anyone can email that address and it will do it, so to make that somewhat difficult I set the email to an md5 value a nice random 32 character string should prevent spam :)
Sent from my BlackBerry® wireless device

Windows Update auto restart (vista)

I have windows update scheduled to automatically install updates...unfortunately it did this while I was converting a video file I had left the pc alone and it decided to reboot itself gah!

So I thought "There must be a way to switch this off" and guess what there is, assuming you have business/ultimate you can go start > run gpedit.msc

Choose administrative templates > windows components > windows update and there are a whole host of options which are self explanatory.

Tuesday, 14 October 2008

Ever wondered how much your mac costs you?

Just been spending some time...few hours...trying to figure out how to power my mac on via a can't <.>

You can wake one from sleep but not from power off. How irritating anyway next question to sneak into my mind was "How much more power does a sleeping mac take compared to a shut down mac" why computers when switched off use up power I've no idea (well I know my pc does for the network card so it can be woken on a lan but since a mac can't do that why does it? Pass...).

Anyway being the frugal sod I am, I have a power watt per hour meter.

A mac when shut down (mac mini this is) uses 9 watts per hour.

A sleeping mac uses 12 watts per hour.

3 watts difference.

Our electricity costs approximatly 10 pence per kilo watt hour.

So simple maths brings that 1 watt per hour is 10/1000 = 0.010 pence per hour.

We have 3 watts per hour so that's 0.030 pence per hour.

24 hours in a day makes it 0.72 pence per day

365 days in a year makes 262.8 pence per year.

Which is £2.62 a year to run a mac in sleep state instead of off.

Now the actual cost will be less due to the fact that for an undetermined amount of time the mac will be on which will make the difference between sleep and shutdown 0 since it will be in neither state.

Now just for curiosities sake if the mac was on 24/7/365 and uses approximately 45 watts of power an hour, this will vary depending on what it's doing but is a good average for my mac mini, it will cost £39.42 imho that's really really cheap :)

Now my desktop is another matter (not really fair to compare the two since it's huge and has 3 monitors...but oh well) it uses approximately 320 watts per hour which if on 24/7/365 would cost £280 a year. Still not too much.

Ok enough rambling! [/end ramble]

Thursday, 9 October 2008

Thunderbird signature oddness!

I just noticed when sending replies in thunderbird the signature wasn't appearing (or so I thought) turns out by default thunderbird appends the signature to the END of a reply..why? Don't know.

Anyway I found this article which basically tells you to go to > tools > account settings > select the account you want > go to composition and addressing > change "Start my reply below to quote" to "Start the reply above the quote" > then under that change the "place my signature below my reply" to "below my reply (above the quote)"

Monday, 29 September 2008

Virtual box vboxsvc chews up ram/cpu

Recently I have been playing with virtual box by sun. The reason for this is I run vista x64 as my development machine (it's got more ram, better processor and oodles more hard drive space than my mac book pro), which the only version of vmware which I used to use will work is the 2.0 vmware server beta version.

Vmware server 2.0 in my opinion is fugly! The interface is web one running on an apache server it installs on your pc..really what was wrong with the old interface? It's slow and makes adding hard drives/isos far more complicated than before.

So I installed virtual box, unfortunatly if I leave the pc on for say a day or so it will chew the cpu and ram so much the host machine hangs.

Now apparently this is caused by a memory leak in vista which is noted on the virtualbox download page there is a hotfix from microsoft but you have to request it which is a pain.. so a google around found this which I downloaded and replaced the old files with the new ones and woot! No problems, infact I have been running virtual box all day and the service has used 4MB of ram, compared to the 600 to 1000 it was previously!

Thursday, 18 September 2008

Firefox 3 Smart Bar

Really annoying? Yes! As you may know I develop websites, and like anyone with any sense I develop them locally before uploading them, so the live version and localhost version have the same I want to access the live one..I type in the address which logically resembles the title of the page and what do I get? The localhost version...

After a quick google I found this. It tells you how to disable the "smart" bar.

Firstly type about:config into the address bar, then filter it by urlbar, change
browser.urlbar.matchOnlyTyped to true and browser.urlbar.maxRichResults to 1 and voila! All done!

PHP Bug Fixed!

Yay, the bug I reported about floats being squiffy in php5.2.2 and above has finally been fixed in cvs see

Tuesday, 16 September 2008

OU & Mac

Found a useful site on OU stuff and macs

I added my tutorial for bluej and mac to it :)

Monday, 1 September 2008

MacOS X Adobe Reader 9 - An internal error occurred

Just a quick blog before bed.

I've had a problem with adobe reader 9 for a few days and never got around to fixing it. Whenever I launched it I got the message "An internal error occurred" then it crashes and the apple report system pops up.

Googling around I found that checking the disk permissions might help so I tried avail.

Turned out that the /users/<username>/library/application support/adobe/acrobat folder had the wrong permissions (my user had no permissions only system had access) popped myself in with read and write and woomf! Works fine now :)

Sunday, 31 August 2008

Mac Book Pro Boot Camp and PrtScn

Well I was just doing the last part of question 3 for my latest degree test and you have to take a screen shot of your results. Ack! Mac Book pro doesn't have a prtscn (print screen) button..after a quick googling I found this.

To save you scrolling down the keyboard command for bootcamp 2.0+ is Fn+Shift+F11 (regardless of your function key settings).

If you want just the active window it's Fn+Shift+Alt+F11.

Bluej Mac OSX and Open University OUWorkspace

If anyone happens to be doing a course with the open university i.e. M255 that needs bluej and the ouworkspace but they use a mac..I found a useful site here

Now one alteration to this site if you want the same version of bluej as the one on the OU CD you should download bluej 2.0.5 from the bluej website

Another alteration is that you should put the bluej package in a separate folder inside the applications folder, because otherwise when you launch the ouworkspace it brings up an error as it scans every file/folder in the same directory..don't ask me why.

The instructions are as follows

1. Right click, or control click if you have a single button mouse on the BlueJ icon. Select the option “Show Package Contents” this will open a window with a folder named “Contents”.

2. Navigate to the userlib folder Contents > Resources > Java > userlib.

3. Pop in the Course software CD, at the root of the CD is a folder named “libraryfiles” go inside here and copy the files “bsh-2.0b4.jar” and “ou.jar” to the userlib folder opened in the last step.

4. Next navigate to the folder Contents > Resources > Java > extensions.

5. From the root of the course CD copy the jars “eaextension.jar” and “ouwextension.jar”.

6. In the finder navigate to the folder named Library in the root of your hard drive and scroll down to the folder Java, copy the same two jars “bsh-2.0b4.jar” and “ou.jar”
to the folder named “Extensions”.

Quick listing:
Inside BlueJ application bundle:
Resources > Java > Extensions should contain the following:

Inside BlueJ application bundle:
Resources > Java > userlib should contain

In the Library Folder in the Hard Drive and not in your home folder.
/Library/Java/Extensions should contain the following:

Sunday, 10 August 2008

Weird thing happend today, I wanted to sort my files by size...the size option wasn't there, I checked by right clicking the column bar, clicking more...nope size not there....but as ever google has the answer, I found this post which told me what to do, deleting this key

HKLM\Software\Microsoft\Windows\ CurrentVersion\PropertySystem\PropertySchema\CachedSchema

(and since im on vistax64 this key

HKLM\Software\Wow6432node\Microsoft\Windows\ CurrentVersion\PropertySystem\PropertySchema\CachedSchema)

Rebooted the pc and tada! It's back

Wednesday, 25 June 2008

THG Star Dragon

I've just finished a site for my friend ame to help advertise her books.

Always a good thing making new sites :) I've a few more to do, will probably crack on some more today, Rachel's at work for another hour and a half which sucks but shes getting paid so that's always a good thing.

Had a go at fixing one of Rachel's friends pcs, everything seems fine except it doesn't display video and there's no bios beep, since I don't have the equipment with me to test out what's wrong (probably a duff motherboard since the video is integrated) I've taken the contents of the my documents folders out so at least the docs have been retrieved.

Friday, 20 June 2008

Alt+3 = #

Well I'm sat here on my brand spanking new mac book pro, and thought to myself when I went to write a CSS sheet...where's the # key?

There isn't one!!! You have to use alt+3 to get it randomly weird :P

Tuesday, 27 May 2008

I am a geek

This entry is a geeky one

Firstly while cleaning up my pc I thought I'd fix a few issues I've been too busy/lazy to deal with.

Just so you know I'm on windows vista.

Firstly when I open a .html file or something of the same ilk I get an error "unable to find...." from windows then it opens fine in firefox...very annoying.

Google brought me to this note if you're using the 64bit windows you need to add wow6432node to the reg key path after hkcr

This is what fixed it for me:

[code]You will need to manually edit the registry in Windows Vista or in cases where the File Types listing is missing certain entries such as "URL:HyperText Transfer Protocol" (HTTP) and "URL:HyperText Transfer Protocol with Privacy" (HTTPS).

Caution: Editing the registry incorrectly can damage your system. Do not attempt these steps if you are inexperienced or uncomfortable using the Registry Editor.

1. Go to "Start -> Run" (or press the windows key+R) then type regedit and click OK

2. Use the directory tree hierarchy to navigate to "HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec"

3. Delete the "ddeexec" registry key

4. Repeat for "HKEY_CLASSES_ROOT\HTTPS\shell\open\ddeexec" (and any other protocols you want to fix)

5. Repeat for "HKEY_CLASSES_ROOT\FirefoxURL\shell\open\ddeexec"

6. Repeat for "HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\ddeexec" [/code]

Next problem was starting up admin programs at bootup without having to use that annoying "windows has blocked a startup program" which brought me to this

[code]1. Launch the Task Scheduler

Example: Start Menu > All Programs> Accessories > System Tools

2. From the Actions panel on the right, select Create Task...

a. Give the app a name of your choice in the "Name Section"

3. Go to the Security Options on the General tab

a. Select an user account with administrative privileges

b. Select the radio button Run only when user is logged on

c. Check the box Run with highest privileges

4.Go to the Triggers tab and click New...

a. In Begin the task, select At log on

b. In the Settings options, select All users

c. In the Advanced Settings options, check the box Enabled

d. Click OK to close the dialog

5. Go to the Actions tab and click New...

a. For Action, select Start a program

b. In the Settings options, browse for the Program/Script you want to execute on


c. Click OK to close the dialog

6. Go to the Settings tab

a. Check the box Run task as soon as possible after a scheduled start is missed

b. Uncheck the box Stop the task if it runs longer than

7. Make any other desired settings

8. Click OK to save and close the task properties [/code]

works a charm :) now I'm issue free (pretty much...I think)