Technical notes, my online memory

Sunday, February 28, 2010

Testing JSON django fixtures

›
My JSON testing fixture for django was bad, and django gave a really unhelpful error: ValueError: No JSON object could be decoded A line num...
1 comment:
Saturday, February 27, 2010

Accessing Australian public transport data and Google's General Transit Feed Specification (GTFS)

›
I've used some pretty ordinary public transport websites. To do something about the problem, I recently embarked on a mission to create...

Using ssh forced-command with rsync for backups

›
I want to use ssh forced command to limit a backup user to just running rsync. The idea is to allow backups to be deposited without grantin...
1 comment:
Thursday, February 25, 2010

HOWTO set a proxy for apt updates with a local mirror and problems with http_proxy overriding apt settings

›
This has annoyed me for some time now. The http_proxy environment variable in Ubuntu overrides the APT proxy settings, despite this apparen...
Wednesday, February 24, 2010

Copying a compressed disk image across the network using netcat and dd

›
Here is a handy command to copy a disk image (such as a VM) across the network compressed. We also do a SHA1 hash to make sure it copied co...
Tuesday, February 23, 2010

Django user profiles

›
While the Django doco is pretty good, it is a bit light-on for user profiles . User profiles are for when you want to extend the informatio...

Time offsets in python

›
I always forget how to do time offsets (i.e. current time - 20 seconds) in python. Here's how: from datetime import datetime,timedelta ...
‹
›
Home
View web version
Powered by Blogger.