So this weekend, I decided to scratch my own itch and figure out a way to play a random media file. Let’s say you’ve got a lot of tv shows or movies and you don’t want to browse… you want to channel surf. This is how you can do it in Windows: chcp 65001 setlocal…Read More Media Roulette.bat
I just got back from my first PyCon! There were a lot of familiar faces. Which is quite an achievement for an introvert like myself. I finally got to meet people in the Python community as far away as Austin, TX. While finding people was easy in a crowd of 2,500, finding food was not.…Read More PyCon US 2013 Wrap Up
If you’re having a hard time talking to a server started with `python- m SimpleHTTPServer` on a virtual machine, there’s an easy fix. Add the host PC to the virtual machine’s hosts file. The problem arises because the logger tries to report the full name of the request origin, which I never bother setting up…Read More Fixing python -m SimpleHTTPServer
I’ve got a thing about keeping things off the floor. So one weekend I went to IKEA and impulse bought these BESTÅ BURS wall cabinets (15% off sale) and despite the instructions, I assembled and mounted them myself. But I didn’t like the way they blocked the light from my only area light in my…Read More IKEA to the rescue
LazyColor has been updated! Why choose just from standardized colors when you can could be choosing from colors that sort of also look like real words!Read More LazyColor updated!
How to make sure you’re guaranteed to have your main content rendered no matter which base you extend, because every base template will provide a main block.Read More The MAIN thing about Django templates
If you’re doing any development in Python, odds are you’re using virtualenv. And if you’re using virtualenv, odds are you’re using virtualenvwrapper. I came up with a few tricks to make my life easier, and I thought I ought to share them. And as a disclaimer: although I am obsessed with discovering best practices, these…Read More A few virtualenv tips
I started investigating CSS frameworks almost a year ago. Back then, the two main contenders were SASS and LESS. Well, there’s really three contenders if you count SASS and SCSS separately, but between those two, SCSS “won”, and in the future, when I say SASS, I mean SCSS. Based on hearsay on the Internet, people…Read More SASS vs LESS