Posted by dacc
on October 13, 2009
Ever wish you could go back several saves in a document or piece of code? You can mount Subversion repositories using WebDAV to generate a new revision each time you save a file!
I run into this during exploratory programming a lot. I’ll break something while hacking away, and not have a means of going back should I lose my undo buffer, etc. My exploratory code changes rapidly as I thrash out the API or technique I’m trying apply, and so explicit version control would be a real drag.
Enter Subversion! If you flip on SVNAutoversioning in your Apache config, you can mount your repository as a WebDAV share, and a new revision will be created for each file save:
Continue reading…
Posted by dacc
on October 05, 2009
While developing BikeJibe, I wanted to do exploratory programming from IPython. Googling “appengine ipython” turns up a cool post on a modified version of the Django “manage.py shell” for the AppEngine environment, but nothing for those using other frameworks.
Here is a script I wrote called “gae-env-setup.py” Basically I culled code from the nosetest project and stuck it in a script you can pass to IPython to setup your app for exploration from the shell.
Continue reading…
Posted by dacc
on September 26, 2009
I released the first iteration of a project called BikeJibe last week. The first feature is an interactive Google Map of popular cycling corridors based on rides people have posted to the web. Check it out!
http://bikejibe.org
Posted by dacc
on September 21, 2009
Snow Leopard contains slideshow style screen savers like “Forest,” “Beach,” and “Cosmos.” These present really beautiful images, which, frustratingly, aren’t immediately available as wallpaper. Here’s how to make them so.
Run the commands below in Terminal to copy the images into your “Pictures” folder.
mkdir -p ~/Pictures/Slide\ Savers/;
find /System/Library/Screen\ Savers/*.slideSaver -name "*.jpg" -exec cp {} ~/Pictures/Slide\ Savers/ \;
Now under “Desktop” in the “Desktop & Screen Saver” prefs, click the “+” at the bottom of the list and add “Pictures/Slide Savers.” All the images should be available.
Enjoy!