Allruby
A collection of utilities implemented in ruby
UrlView
http://code.google.com/p/allruby/source/browse/trunk/urlview/urlview.rb
A tool for ruby+mutt lover.
usage:
./urlview.rb urlview.rb cat urlview.rb | urlview.rb
with mutt:
macro pager \cb <pipe-entry>'<PATH TO URLVIEW.RB>'<enter> 'Follow links with urlview'
QuickJump
First download the script from http://code.google.com/p/allruby/source/browse/trunk/quickjump/quickjump.rb, save it to somewhere on your local box.
add these lines to your .zshrc (or .bashrc etc.):
alias jump="$YOUR-QUICKJUMP-SCRIPT-PATH/quickjump.rb&& source /tmp/quickjump" alias add_quickjump_dir='echo $PWD >> ~/.quickjumprc' # note use single quote here
add this line to your .Xdefaults: (for urxvt user)
URxvt.keysym.M-j: jump \n URxvt.keysym.M-a: add_quickjump_dir \n
Then try to press alt and j in your urxvt :)
Shareonboxnet
This is a script to capture screen, upload the screenshot to box.net and return you an url to share the new image to your friends. You need ruby, curl, scrot and zenity installed on your system.
To use the script, first get a box.net account, then create a new box.net service. (You don't need to add actions, we only need a service api key)
After your new service created, download this ruby script http://code.google.com/p/allruby/source/browse/trunk/shareonbox.net/box.rb, filling your api key, login and password to it.
Then just run the script.
You can assign it a key binding, that will make the use of this script more convinient (I bind the script to <Fn+F9> on my X61).
Don't bash me for the dirty code, I just need a work tool :) Too busy to refactor it.
Hint: if you want to edit the image before uploading, just need to add one line to the script.