没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > allruby |
allruby
|
0 | 0 | 16 |
贡献者 | 讨论 | 代码提交 |
AllrubyA collection of utilities implemented in ruby
UrlViewhttp://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.rbwith mutt:
macro pager \cb '' 'Follow links with urlview'QuickJumpFirst 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 hereadd this line to your .Xdefaults: (for urxvt user)
URxvt.keysym.M-j: jump \n
URxvt.keysym.M-a: add_quickjump_dir \nThen try to press alt and j in your urxvt :)
ShareonboxnetThis 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 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.