I’ve been wanting to publish Planet Terasi’s source code for a long time. I think it’s time. The code is a bit rough around the edges, so please be gentle. Pull requests welcome.
View planet.terasi.net on GitHub.
Planet Terasi used to be powered by Planet (hence the name), and then a slightly modified version of Planet. Today, it’s powered by a Django 1.5 app and the more modern version of feedparser (the same feed parser used in Planet) running on Heroku.
Update: it’s now included in build 2139.
Vintage Mode in Sublime Text 2 is getting better and more usable for me with build 2126. One of the things that I use a lot in Vim that is still missing is moving by paragraphs (using { and }). Since the vintage mode is implemented mainly as Python scripts and key bindings, it’s relatively easy to add new ones. Here are the key bindings for moving by paragraphs:
{ "keys": ["{"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": false, "sub_word_begin": false, "punct_begin": false, "empty_line": true, "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["}"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": false, "sub_word_begin": false, "punct_begin": false, "empty_line": true, "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}]
}
Have you been struggling with installing ipython in a virtualenv on Mac OS X 10.5+ that doesn’t use libedit? You’re not alone.
There is a short workaround. In the virtualenv that you want to install ipython in, do easy_install -a readline, then pip install ipython.