Comment on A few git tips you didn't know aboutparentComments−judofyr16yFor Rubyists who are using Mac, these are very handy in IRB: # stick in .irbrc def copy(str) IO.popen('pbcopy', 'w') { |f| f << str.to_s } end def paste `pbpaste` end def ep eval(paste) end−bretthoerner16yI knew of pbcopy/pbpaste, but never thought of that. Great idea,Python version (adjust to pbcopy/pbpaste if on OS X): http://gist.github.com/488852
Comments
For Rubyists who are using Mac, these are very handy in IRB:
I knew of pbcopy/pbpaste, but never thought of that. Great idea,
Python version (adjust to pbcopy/pbpaste if on OS X): http://gist.github.com/488852