Tag Archives: code

Squeeze more readable space out of Google Reader’s new layout

I am not happy with the removal of Google Reader social features. I really enjoyed discovering new feeds following people.

Anyway, I don’t mind the new look but it leaves too little readable space. A couple of years ago I blogged about how to use Firefox’s userContent.css to optimize the layout. Continue reading

Posted in css, en, firefox, geek, tech | Tagged , , | 1 Comment

Django random object manager

Several times in the past I needed to fetch a list of random objects. And Today I decided to make a Mixin class to add a get_random() method to my managers: # -*- coding: utf-8 -*- from random import sample … Continue reading

Posted in django, en, Python | Tagged , , | 3 Comments

Django cheap pages

Sometimes I end up using Django for the wrong thing, just to dispatch pages and put all my content in the templates. Flatpages are too flat and other DB based content tools are too complex. I just want to use … Continue reading

Posted in django, en, geek, programacion, web | Tagged , , , | Leave a comment