Splinter Cell Blacklist - Spies Vs. Mercs Trailer
I’ve just purchased a GoPro HERO3 and are looking forward to spending the weekend learning to use it and video editing at the same time.
Why parseInt(‘08’) and parseInt(‘09’) in JavaScript returns zero
If you try to use parseInt(‘08’) and parseInt(‘09’) in some JavaScript engines (Firefox v20.0.1) you’ll get a zero in return.
This is due to the fact that some JavaScript engines tries to determine which numerical system is used and numbers starting with zero are considered octal, for which there is no representation for 08 and 09.
To fix this simply set the base as a parameter in the parseInt function, as such: parseInt(‘08’, 10) and parseInt(‘09’, 10). This forces the parseInt function to use base-10 where 08 is 8 and 09 is 9.
Fully Clothed Female Superheroes
My favorite was Zatanna, but then again I’m a sucker for a women in suits ;)
Who Knew A Speech About Science Could Be So Damn Sexy?
Syncing Sublime Text 2 Settings via Dropbox
I actually didn’t know symlinks was possible under Windows. Awesomesauce :)
How to get Windows 8 to recognize your DVD/CD-ROM
My friend recently upgraded to Windows 8 where her DVDROM was suddenly nowhere to be found. It shows up in BIOS and boots CDs and DVDs like normal, but up in Windows, it’s just gone, My Computer, Device Manager, and Disk Manager.
After some soul and Google searching we came across this site: which gives a command you can run to fix the problem.
The command is: reg.exe add “HKLM\System\CurrentControlSet\Services\atapi\Controller0” /f /v EnumDevice1 /t REG_DWORD /d 0x00000001 which has to be run in admin mode.
You can press Ctrl+X to bring up the menu where you can select Command Prompt (Admin) to run the cmd in admin mode.
The command itself just adds a DWORD entry in the atapi section of services in your current control set.
After you’ve done this, reboot and all shall be fine. A tiny fix to a rather annoying big problem.
Sir Ian McKellen Interview on The Jonathan Ross Show 16/3/13
He is such an incredible charming man.
Drupal Module Approved
A few weeks back I got my first module approved by the community which made me a full fledged module developer in the Drupal community. It’s a nifty little tool to expose Drupal (and other PHP functionality) to JavaScript. Mosey on over to http://drupal.org/project/javascript_drupal_extension to take a look if you want :)
