Tag Archives: efficiency

Skip the distractions: Focus on web page content with Readability

Often when trying to catch up on the news or just researching something online, I come across article pages filled with distractions. Ads before the article, ads around the article, ads below the article, ads in the article, obscene sidebars … Continue reading

Posted in Apple, Desktop, Web Applications | Tagged , , | 1 Comment

Tune MySQL like a pro with MySQLTuner

I don’t know why I didn’t know about this before (or why I forgot about it, more likely), but I came across MySQLTuner recently and was most pleasantly surprised. It’s a Perl script that only requires your MySQL user and … Continue reading

Posted in MySQL | Tagged , , , | Leave a comment

A better way to search for methods of Python objects

Python’s introspection abilities are quite extensive and useful. They are also well-documented, so I won’t go into the basics here. Check out this article if you need a good overview. N.B.: discussion and code below applies to both methods and … Continue reading

Posted in Programming, Python | Tagged , , | 4 Comments

Rapidly set up a MySQL database for testing

Sometimes you just want a database to run some queries against. Any reasonable set of tables with data pertaining to something not terribly complicated will do. Perhaps you have an urge to tease out the intricacies of correlated subqueries, or … Continue reading

Posted in MySQL | Tagged , , | 2 Comments

Light at the end of the carpal tunnel: snippets in vim with snipMate

I’ve tried a number of snippet plugins for vim, many claiming more and less feature parity with the beloved TextMate. I started using snipMate today, and it is by far my favorite. If you haven’t seen TextMate-like snippets in action, … Continue reading

Posted in vim | Tagged , , | 6 Comments