Skip to content

Instantly share code, notes, and snippets.

View technogoat's full-sized avatar

Naum Kostovski technogoat

View GitHub Profile
multiuser on
acladd user2
screen -S pairprog
screen -x user1/pairprog
Ctrl-a d # detach screen window
Ctrl-a Ctrl-a # flip-flop between two windows
screen -r # re-attach screen window
group :development do
gem 'annotate'
gem 'awesome_print', :require => "ap"
gem 'heroku', '>= 2.1.2'
gem 'hirb'
gem 'interactive_editor'
gem 'open_gem'
gem 'rails-footnotes'
gem 'ruby-debug'
gem 'sketches'
for x in $(rvm list strings); do rvm use $x@global && gem install <RAD DEVELOPMENT GEM NAME>; done
0.9.6c
0.9.6d
...
d16aeb86430afc26fb17f182f567d39c8c732188 refs/tags/0.9.6c
390c9a3251b813775ccdb96c375d50fed67d058f refs/tags/0.9.6d
...
^(.*) - the SHA (at the start of the line ^)
(\s+) - a cupla spaces
(.*[a-z])$ - a string ending in a letter, followed by end of line ($) (there are more exact/safer ways of doing this regexp, I know)
$ git push origin :refs/tags/0.9.6c