Snipplrhttp://snipplr.com/language/ruby/tags/Bash
Recent snippets posted on Snipplr.comen-usWed, 01 Apr 2015 08:19:51 GMT(Ruby) terminals4rails - draqhttp://snipplr.com/view/32321/terminals4rails/
This Ruby script generates the [Gnome Terminals For Rails script](http://snipplr.com/view/32227/gnome-terminals-for-rails/ "Gnome Terminals For Rails"). ]]>Mon, 19 Apr 2010 08:10:52 GMThttp://snipplr.com/view/32321/terminals4rails/(Ruby) Automatically Perform Custom CodeIgniter install - brettbergeronhttp://snipplr.com/view/18835/automatically-perform-custom-codeigniter-install/
The Ruby script below helps me install CodeIgniter & automatically restructure the application directory to allow multiple apps in a single CI install.
I've left out the core index file for CI since it requires some hacking to permit multiple applications. ]]>Tue, 25 Aug 2009 14:19:31 GMThttp://snipplr.com/view/18835/automatically-perform-custom-codeigniter-install/(Ruby) Post to Twitter from the shell - noahhttp://snipplr.com/view/6594/post-to-twitter-from-the-shell/
**The Twitter shell script is now [hosted on GitHub](http://github.com/textarcana/post-to-twitter-from-the-shell-via-ruby).** This (old) version is left in place for historical purposes.
Put this in a file called tweet.rb, then call as follows:
ruby tweet.rb username "my tweet"
Or you can include your password in the command like so
ruby twit.rb username:password "my tweet"
(note that this is hugely insecure as your password will wind up in your .history, not to mention being visible to shouldersurfers).
Updated: if a post is over the 140-character limit, the script prints back the part of the tweet that would not fit. This makes it easier to trim down overly long posts. ]]>Thu, 05 Jun 2008 09:23:47 GMThttp://snipplr.com/view/6594/post-to-twitter-from-the-shell/(Ruby) list directory and create wget calls to build standalone html dirs - jhenryhttp://snipplr.com/view/5381/list-directory-and-create-wget-calls-to-build-standalone-html-dirs/
output can be run as a shell script. should be able to refactor this as a piped wget, i think ]]>Wed, 12 Mar 2008 16:57:31 GMThttp://snipplr.com/view/5381/list-directory-and-create-wget-calls-to-build-standalone-html-dirs/(Ruby) Sheller - felipechttp://snipplr.com/view/2669/sheller/
Lets you run shell commands in an extensible way. ]]>Fri, 18 May 2007 10:49:57 GMThttp://snipplr.com/view/2669/sheller/