Author Archives: John
Quicksilver hotkey trigger None unset reset
Shift-Backspace Quicksilver is a utility for osx providing programmable hotkeys amongst other things. The difficulty of having an interface which has you set the hotkey by pressing it, and letting you use the backspace key as a hotkey, is how … Continue reading
Start headless vbox on windows
start-process ‘C:\Program Files\Oracle\VirtualBox\vboxheadless’ ‘-s yourVMNameHere‘ -WindowStyle Hidden This powershell command will start your virtualbox machine. We’re going to set things up so you can do it by clicking on an icon. Your Mileage May Vary: The stuff below worked great … Continue reading
“Don’t Play” videos on smh.com.au
The smh.com.au website has an annoying habit of putting videos at the top of their “news” articles. That is: 15 seconds ads appear on many of the pages followed by the news story. The only way to avoid the ad … Continue reading
Razer Gaming Products = spam
Just a little bitch and moan. I purchased a Razer Lachesis and accompanying mouse mat about 3 years ago (from a retailer). Initially I had some very annoying problems with the mouse; it had a glitch which caused the cursor … Continue reading
[django] Creating dynamic lists of radio buttons from arbitrary classes and with long descriptions
I was looking for a way to put a lot of text next to the radio buttons in a django form. I also needed the list of radio buttons to automatically populate and vary according to the situation. After the … Continue reading
Is there a Django template tag that lets me set a context variable?
The answer is buried inside the more complex current_time example in the documentation. Problem You want to add a variable to the context. But you don’t want to go back and add that variable to all the views which call … Continue reading
Civilization V Review – First Impressions
Civ V (or “Civilization 5″) is a “God” strategy computer game where you rule a country and attempt to take over the world. Although when put under such harsh light the fun of bludgeoning all whom you meet into submission … Continue reading
Django widget renderer render
I got a little frustrated trying to find the ‘simple’ answer to change the html which is generated by the various form field widgets. In this case the RadioSelect field generates radio buttons wrapped in an unordered list. It was … Continue reading
How to complete the BAS Online
The Australian Tax Office (ATO) have a very tiresome mandatory requirement for all business’s to submit a form every 3 months. The effect of the “Business Activity Statement” (BAS) is to tell the ATO how much they should bill you … Continue reading
How to configure an open samba share
I’m always battling to expose my linux virtual machines to my windows desktop. Here is a sample smb.conf which completely exposes a directory to a specific IP address: security = share hosts deny = ALL hosts allow = 192.168.1.99 [www] … Continue reading