Charlesleifer - charlesleifer.com - charlesleifer.com
General Information:
Latest News:
Using python to generate awesome linux desktop themes 22 Aug 2013 | 03:56 pm
I remember spending hours when I was younger cycling through the various awesome color themes on my 386, in the glory days of windows 3.1. Remember hotdog stand? http://image:hotdog-stand Well, I ha...
Becoming a Django Apologist 24 Jul 2013 | 01:33 pm
It's been roughly four years since my introduction to the Django framework and I thought I'd write a little post to commemorate this. In my mind nothing had as big an impact on my career as my decisio...
Rewriting Huey for a better API 15 May 2013 | 04:50 pm
For a while I've been itching to rewrite Huey, and just last week released 0.4 which is an almost total rewrite. I initially started Huey for performing tasks like checking comments for spam, sending ...
Structuring flask apps, a how-to for those coming from Django 27 Apr 2013 | 06:21 pm
The other day a friend of mine was trying out flask-peewee and he had some questions about the best way to structure his app to avoid triggering circular imports. For someone new to flask, this can be...
"wallfix", using python to set my wallpaper 22 Apr 2013 | 02:54 pm
I had fun writing about my "cd" helper, so I thought I'd share another productivity helper I wrote for setting my wallpaper. It's a little silly, but I insist on my wallpaper being used for my lockscr...
Creating a personal password manager 14 Apr 2013 | 02:26 pm
My password "system" used to be that I had three different passwords, all of which were variations on the same theme. I maintained a list of sites I had accounts on and for each site gave a hint which...
"j" for switching directories - hacking "cd" with python 13 Apr 2013 | 03:05 am
Everyone uses cd a lot, I'm no exception. Because I use virtualenvs for my python projects, I'm often "cutting" through several layers of crap to get to what I actually want to edit. This was a good o...
Raspberry Pi Mobile 14 Jan 2013 | 02:31 pm
My Raspberry Pi got a new case this weekend: http://image:raspberry-pi-mobile
Shortcomings in the Django ORM and a look at Peewee, a lightweight alternative 15 Dec 2012 | 07:27 pm
In this post I'd like to talk about some of the shortcomings of the Django ORM, the ways peewee approaches things differently, and how this resulted in peewee having an API that is both more consisten...
Sharing Screenshots with Dropbox and Imgur 28 Nov 2012 | 04:09 pm
I saw a post on hackernews this morning where a guy had built a little screenshot uploader for dropbox. Unfortunately, his script is for Mac OS and I use linux. So, for linux folks out there, here is...