• Archive
  • RSS
  • About Me
  • Résumé
  • github
  • twitter
  • Email

railsmonk

Hey, I'm Dima Sabanin and I love programming.
I work on Beanstalk for Wildbit.

Too Cool for Internet Explorer

  • Link

    22nd October 2008

    Official Git Autocompletion Script for BASH

    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.

  • Link

    21st October 2008

    [PDF] Printable version of Git Cheatsheet

    Taken from http://cheat.errtheblog.com/s/git and post-processed to be easier on eyes when printed.

  • Note

    27th September 2008

    My StringTidy plugin

    This is really tiny one.

    About

    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={})

    Usage examples

    Installation

    1. gem install tidy
    2. ./script/plugin install \ git://github.com/railsmonk/string_tidy.git

    Sources

    http://github.com/railsmonk/string_tidy/tree/master

    There’s also some other stuff on my github page, check it out.

  • Note

    8th September 2008

    No broken tests in git repos

    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.

  • Quote

    6th September 2008

    “We live in illusion and the appearance of things. There is a reality. We are that reality.
    When you understand this, you see that you are nothing,
    and being nothing, you are everything.
    That is all.”

    ~ Kalu Rinpoche

  • Note

    8th August 2008

    ConfigurationFile plugin for Rails

    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

  • Quote

    4th August 2008

    “Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.”

    ~ Quote of the Day

  • Note

    19th June 2008

    life freezes without github

  • Link

    18th June 2008

    Awesome Git cheatsheet

  • Note

    10th June 2008

    $ open -a MyFavouriteApp # opens mac application from Terminal

Prev Next
sdmitry at gmail.com

The Workshop — Мастерская скрапбукинга — Открытки ручной работы