How To Run Sandboxed Django Sites in Production

Recently, I moved all my sites from a dedicated server to a great VPS over at SliceHost. I took the opportunity of “the big move” to fix an ongoing problem I’d had, which was that all four of my Django sites were using the same libraries.
Ouch! That meant that I couldn’t update any [...]

Git SVN Error – Fixed

While working on a SVN project using my new favorite tool, “git”, I ran into a small problem. A network bobble caused the subversion portion to fail. I stopped it, but then when I tried again, git said:
Cannot dcommit with a dirty index. Commit your changes firstor stash them with `git stash’.

How To Kill nasty Word Garbage Characters in your CMS

Recently I was doing a server move for a client. From an ancient slow system costing her too much money (and me too much bother dealing with a know-it-all-wrong admin) at Today.net, to a nice modern VPS reliably, competently and fully managed by LiquidWeb.
Last year, I wrote her a travel reservation & quoting app in [...]

Django and Lighttpd configuration for smooth SSL

I use and prefer Lighttpd for serving my Django applications. Tonight I worked out a nearly perfect configuration which allows me to serve the app through fastcgi in both http, and SSL-enabled https. The media files are directly served by Lighty, without hitting the django backend at all, for maximum speed.
Better yet, this [...]

Cross-browser safe, readable Javascript style

Over time and thousands of lines of professional Javascript programming, I’ve developed an almost bulletproof Javascript layout style. It is important to have one, even if you are the only person working on your script, because:
it helps you read the code more quickly
it helps you not forget browser "gotchas"
it makes your code more reusable [...]

Fixing Exim sender callout error

On my new dedicated server, I’ve been getting reports of mail bounces. Looking more closely at them, I found they said “451: Deferred sender callout cannot be verified.”This is the result of an anti-spam measure that Cpanel enables by default for Exim.

Mass Import Yojimbo Passwords

I searched all over the place last night and I couldn’t find anything that could import passwords into Yojimbo for me. I did see a lot of complaining about the lack of ability to do so, however.
Since I really like the app in most ways except for its lame import capabilities, I whipped one [...]

Tricky Drupal Javascript Loading Problem

A short tale about squashing a bug.
You see, my mistrust for IE made me miss the real problem. What was happening was that in IE 7 on Vista, a site I’m building for a client was not loading any Javascript. It wasn’t even loading the base Javascript "jquery.js" and "drupal.js", so my site [...]

Django auto_now Removal Gotcha

The latest Django revisions have removed the shortcut handlers "auto_now&quot and "auto_now_add". This didn’t look like a very big deal to replace.

VPN Client for Vista using Parallels

A recent client needed me to run some Windows-only software from their network.

keep looking »

Video & Audio Comments are proudly powered by Riffly