I haven’t spent that much time on github until recently. Poking around there led me to create my first project repository and put in up for anyone to use: django-apikey. (The original post/announcement can be read here: “django-apikey — Key Based Authorization For RESTful Django Applications”)
It quickly got some feedback, all of which was very useful. One commenter suggested making some unit tests for the code, which forced me to learn how to write test cases for Django. Another person forked the code and made the stylistic changes to make it compliant with PEP 8.
Continue reading “django-apikey Version Bumped”
I’ve spent a lot of time fighting against plugins and WordPress in general in attempt to get my Google PageSpeed over 90. I had basically given up on getting into the high 90s due to my reliance on some external resources that don’t set long expire times or, in at least 2 cases, sheer laziness in not wanting to combine and minify external CSS or JS resources myself.
Over the last week, however, I decided to give site optimizations one last go and finally got my PageSpeed over 90 — to 93 on my front page to be exact. I also managed to get YSlow up to a B — it’s an A if I use the “small blog or site” ruleset.
How’d I do it? Read below the fold for the step-by-step.
Continue reading “Google PageSpeed and How I Learned To Love The mod”
Since I posted about using Python to send HTML email, things have changed in Python’s standard library. While that method still works, it’s better to use the new email package.
Continue reading “Sending HTML Email From Python”
I just created a git repository for django-apikey, which provides an API key-based authorization backend for use with django REST services. Currently, it works with django-piston, but I do plan on adding support for other django REST packages.
Continue reading “django-apikey — key based authorization for RESTful django applications”
It’s been a bit of time since my last post, but now it’s back to going through Project Euler. The second problem works with a favorite problem in computer science: Fibonacci numbers. Continue reading “Project Euler Problem #2”