Share Code Snippets With Ease
lukabratos.me
Share Code Snippets With Ease
1–10 of 11 posts
Re: Share Code Snippets With Ease
#2Lots of use cases. For example, I use Stackoverflow a lot and I need to paste code rather than faff around with pastebin. I can see myself using this to get a gist URL in one click.
Re: Share Code Snippets With Ease
#3I would be happy to rewrite that in vanilla shell this evening.
Re: Share Code Snippets With Ease
#4Ruby is not standard on Mac OS X. EDIT: actually it is, thanks the_french. I would be happy to rewrite that in vanilla shell this evening.
Re: Share Code Snippets With Ease
#5Ruby is not standard on Mac OS X. EDIT: actually it is, thanks the_french. I would be happy to rewrite that in vanilla shell this evening.
/usr/bin/ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]Re: Share Code Snippets With Ease
#6Ruby is not standard on Mac OS X. EDIT: actually it is, thanks the_french. I would be happy to rewrite that in vanilla shell this evening.
IIRC ruby is in fact standard and was recently updated to be 2.0.0 on the latest version of OS X. /usr/bin/ruby -v ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
Considering that rvm and gems are a real pain in the azz, I think this could still benefit from a rewrite.
Re: Share Code Snippets With Ease
#7Earlier quoted context omitted.
IIRC ruby is in fact standard and was recently updated to be 2.0.0 on the latest version of OS X. /usr/bin/ruby -v ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
My bad! Completely forgot about that! Considering that rvm and gems are a real pain in the azz, I think this could still benefit from a rewrite.
https://github.com/sstephenson/rbenv
Best decision I've made.
Re: Share Code Snippets With Ease
#8Re: Share Code Snippets With Ease
#9Ruby is not standard on Mac OS X. EDIT: actually it is, thanks the_french. I would be happy to rewrite that in vanilla shell this evening.
Re: Share Code Snippets With Ease
#10I found this one which does something quite similar: http://sprunge.us/