Skip to content

Author: Rowan Rodrik

Microsoft batch file meets bash shellscript

Luca City, who already shared a nice readline keyboard shortcut with me, wrote me again on May 14 to share another unrelated, but very interesting trick: Read More »

Allowing dots in WordPress post slugs

I was once again annoyed by the fact that WordPress doesn't allow dots in post slugs. Luckily, this time I hadn't published the post with a botched URL yet. (I don't like changing permalinks because they're meant to be permanent; cool URLs don't change.) A quick googling pointed me to a post in the WordPress support forum with a reference to the Periods in Titles WordPress plugin. Read More »

Jeroen Dekker (photography) on-line

Jeroen Dekker, a friend and photographer, has recently, on May the 5th, put his website on concert photography on-line. (Go check it out! He has some great pictures there.) Read More »

Drag and drop file upload extension for Firefox

I'm not very fond of file picking dialogs. They're much too squeezy to my taste. I much prefer a full-blown file system browser to pick my files. I feel no need to suffer cute, miniature wannabe file choosers. That's why I was very pleased to come across the dragdropupload extension for Firefox today. I upload files very often, and this extension makes uploading using web forms a little less awkward!

Read More »

Another contributed Readline keyboard shortcut

Last Wednesday, I was given a very nice response with a great tip to my table of Readline keyboard shortcuts by Luca City. Yesterday, Lance Levine gave me another extremely nice response and another great tip: Read More »

Bypassing smart completion in Bash

Luca Citi, a nice Italian Ubuntu user, just gave me an excellent tip in response to my list of Readline keyboard shortcuts. Modern Linux distributions such as Ubuntu and Gentoo can easily be configured for Bash to use smart completion. With smart completion enabled, instead of just looking among all the available files and directories without discrimination, TAB will be able to more accurately adjust its list of available completions depending on the program for which arguments are being sought. Read More »

Web scraping in Ruby: why I had to use scrAPI instead of WWW::Mechanize and Hpricot

Thursday evening: so, I had written myself a nice little script using Aaron Patterson's WWW::Mechanize and why's Hpricot to extract some data from a popular web-based airport directory. Read More »

A domain for the Omega Research Foundation

Popko, my dad, has founded the Omega Research Foundation in 1984 (when I was two years old). The Foundation was to serve as a a vehicle for his research into cyclical changes within ecological and social systems. Read More »

eps2eps to the rescue when epstopdf complains of no bounding box

PDFLaTeX doesn't like encapsulated postscript images. If you want to use .eps files with pdflatex, you can convert these files to PDF using Sebastian Rahtz' epstopdf, and then remove all .eps file extensions from the image locations in your .tex source files. Then, the latex command will look for .eps file and the pdflatex command will look for .pdf, .jpg and .png files. Read More »

Making flash cards on-line

I'm learning Spanish from a Dutch method called Eso sí. Approaching chapter 10, I noticed that I would benefit from first learning the words introduced in each chapter before starting on the chapter's text and exercises. From doing some exercises on Spanish learning websites (especially www.studyspanish.com), I noticed that flash cards can be a great help. Read More »