0

Subversion Commit Logs to Twitter

Twitvn is a small Python script that, when used as a Subversion post-commit hook, will publish commit messages to a Twitter account: http://code.google.com/p/twitvn/

Why would anyone want to do this?

There are many reasons. It would help foster collaboration on a multi-member project, either allowing them to follow the Twitter account with their own, or via Twitter’s RSS feed. It could also allow interested users of the project to follow status updates of what is going on with the project.

Finally, it’s just a damn fun idea.

0

Removing Windows Newline Characters in Vim

Sometimes when working on projects in both Linux and Windows, a file will end up with Windows newline characters, which show up as ^M in Vim. Annoying as this is, there’s a quick fix to remove them in Vim using a regular expression replace:

:%s/<control-v><control-m>//g

Magically, all the ugly Windows newline characters are gone.

Copyright © 2010 — phup 'n stuff | Site design by Trevor Fitzgerald