- Start a PasteDeploy-based WSGI project: paster create -t paste_deploy $APP_NAME
- Serve the webapp: (Note: I usually rename docs/ to config/) cd $APP_NAME paster serve docs/devel_config.ini
If you're going the framework route …
I want to stab this error in the face.
The program 'presenter' received an X Window System error. This probably reflects a bug in the program. The error was 'BadShmSeg (invalid shared segment parameter)'. (Details: serial 351 error_code 158 request_code 132 minor_code 19) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error …read more
Mercurial hook for notify.io
Update (9/2/10): Fixed bug when pushing multiple commits at once, silenced wget's output.
Here is a Mercurial hook to send notifications to notify.io whenever it gets new changesets pushed to it. It requires python, wget, bash, mercurial, internet access and an uncommon sense of humour (the latter …read more
It's been nice knowing you, but I'm giving you up.
No more reading RSS feeds during my computer labs, no more worrying about whether Google is spying on me by working out what kind of subscriptions I read.
Goodbye Google Reader, Hello undisclosed client-side RSS reader.read more
In the spirit of "release early, release often", here is another release of Presenter. This is an Alpha release, so it's still got plenty of bugs (the obvious one is with Video playback).
I've provided a .deb package, so if you're a Debian/Ubuntu user, it should be relatively easy …read more
Latex - inserting a box with no content
Or, an empty box! Working out that query on Google took me some time, so I'll put the answer here:
RealLife (tm) Update: I'm enjoying University, and I'm thinking of moving into C/C++ via Vala.read more
Update on Presenter
How to do plugins using eggs
(Just so that I don't forget, and because some of you may not have seen this before.)
This is the magic Python code which automagically gets eggs with the entry point "my.plugin.namespace" declared.
for egg_plugin in pkg_resources.iter_entry_points('my.plugin.namespace'): print egg_plugin.name