Toggen Blog
Tech tips
Articles
Latest
Before I forget – Sending POST variables using jQuery
You can pass in POST variables as follows with key=value pairs thusly: $.ajax({ type: "POST", url: "some.php", data: "name=John&location=Boston", success: function(msg){ alert( "Data Saved: " + msg ); } }); or using an object var ref_num_url =...
Getting Higher Screen Resolution for a Ubuntu 11.04 Guest in Virtual Box
I have a Linux Mint 10 Host with Virtual Box 3.2.8 OSE installed. I have installed Ubuntu 11.04 Beta as VBox guest but the VBox Guest Additions that come with VBox 3.2.8 won't compile for the X11 on Ubuntu 11.04 so I was restricted to 1024x768 resolution. My monitor...
Delete the Dot SVN Subversion Directories from a Working Copy
I use subversion to keep track of configuration file changes in the /etc directory on some of my Linux boxes. However I have found occassionally some of the scripts that run against files in /etc/* descend into the .svn directory and try to execute the svn version...
Returning Shell Folders Using Wscript.Shell and Kix
User profiles have moved between Windows XP and Vista/Windows 7 so to create portable logon scripts you need to be able to resolve the correct locations of a users Desktop, Favourites etc. Using Wscript.Shell's SpecialFolders property you can return the correct path...
McDonald’s has Ubuntu
Walked in to the McCafe at Greenhills and the screen had Ubuntu running. McOpen Source - Would you like Fries with That?
Using Databases to Store Hierarchical Data
Databases or more correctly how Databases model things in the real world fascinate me. Reading up on the CakePHP Tree Behavior I found a link to Managing Hierarchical Data in MySQL A really good primer on why database tables use a single table to represent...
