Toggen Blog
Tech tips
Articles
Latest
RegRead / RegWrite VBS
Thinking of storing settings in registry. Some sample code: set oshell = createobject("wscript.shell") apf = "HKEY_LOCAL_MACHINE\SOFTWARE\Settings" settings = Array("user", "domain", "password", "host") slug = apf & "\edi_transfer_" ' create APFoods key...
VBS Dictionary Object: The poor mans JSON
After spending a lot of time coding in jQuery and CakePHP. Which rely heavily on JSON and PHP Arrays respectively I have come to appreciate storing stuff in objects. Most of my at work Windows scripting stuff is done using VBS so I was searching for a way to store...
Generate and Insert a new password for your Joomla Install from the Linux Command Line
When resetting your Joomla password you may want to generate your own md5sum password. I found an oddity with doing if from the command line. If you just echo the password echo admin | md5sum 456b7016a916a4b178dd72b947c152b7 - echo -n admin | md5sum...
Apple.com Trailers ChromeOS Crouton/Ubuntu 13.04
I have a HP Chromebook but wanted to watch apple.com trailers and it comes up with the "Get QuickTime" splash in Google Chrome. Note: The following fix is not to get Apple.com trailers working in the Chromebooks ChromeOS Google Chrome browser but inside a crouton...
Learning Git
Generally if you Google you will be heading over to stackoverflow and will probably find the answer to specific problems quite quickly. However it pays to have a structural overview of git. I found the following two resources immensely helpful. The most amazing...
Ubuntu 13.04 Screen Dimming when running under Crouton Chroot on a HP Chromebook
I installed crouton using the smaller 'cli-extra' target because I didn't want to have to upgrade a desktop environment through two versions of Ubuntu. sudo sh -e ~/Downloads/crouton -t cli-extra Then entered the crouton change root environment using 'sudo...
