23rd
Hey, I'm Dima Sabanin and I love programming and I've been doing this since I was 10 years old. For the last 3 years I work with Rails.
I study Zen, I have a family with a small kid. This is my brain dump.
Email: sdmitry@gmail.com
Installation instruction are in the header of the link. For the lazy it’s:
$ cd ~; wget [link]
$ echo 'source bash-git-completion.sh' >> ~/.bashrc
The script is just awesome, it’s very thorough and proivdes completion for commands, commands options, branch names, and all kinds of stuff.
The link to a file I posted points to my server, but if it’s down for some reason you can always get latest copy of this script at git contrib repository.
Wraps Tidy gem into String for easier usage. Allows you to clean up portions of HTML code in strings, without any effort.
Requires Tidy gem and Tidy C lib (which is installed on Mac and most Unixes by default).
Defines String#tidy(options={})There’s also some other stuff on my github page, check it out.
Following code forbids commit to repository if tests don’t pass. Script for rspec, but should probably work with anything else - just replace rake spec with rake test.
My plugin to handle YAML configuration files in Rails apps.
For most cases just YAML::load will work, but in my case I needed string interpolation, so I decided to make a little plugin out of that.
Here’s simple usage pattern:
Feel free to fork and do whatever you want with this.
Update:
Forgot the link to plugin itself: http://github.com/railsmonk/configuration-file-plugin