Scripts n Stuff
* Firefox/Mozilla search plugin for the Metasearch engine EZ2Find
Install EZ2 Find plugin
* Furl Backup - redirect the output of this script to a file of your choosing to keep a local backup of your Furl bookmarks
Example cron job to backup and compress your Furlmarks every night at 2am (using this script):
0 2 * * * /usr/bin/furl_backup>
$HOME/furl.xml && gzip -f $HOME/furl.xml
requires Perl and LWP
* NewTask - perl script that uses Tasks‘ MySQL backend to easily add notes/tasks from the command line
Requires Perl and the modules: DBI, DBD::mysql, Getopt::Long
Handy one-liners:
Several of these I created for use with Conky, which is an awesome ‘light-weight system monitor’ that
writes to your root window in X. [Here’s my conky rc file: .conkyrc if you want a nice starting point]
* To grab your current wireless speed ($1 is the interface, replace with whatever you want):
/sbin/iwlist $1 rate|grep Current|awk -F= '{print $2}'
* To grab your battery life left in hours/minutes: (requires acpitool)
acpitool -b|awk -F "," '{print $3}'
Ideas for stuff I may want to work on:
- a ‘bookmarklet’ that can post a link to multiple bookmarking sites (yes, like OnlyWire,except mine will actually work with all the sites I want)….it would check too see ifI already have the URL saved (as soon as I enter the URL) and warn me before I create an uneccessary duplicate…..for Furl, it would support categories as well as tags..
- a command line script to easily post a quick note/url to my Google Notebooks{this is a really, really neat thing you really should check out - My Perl notebook is here though it barely has much in it…..i’m trying to keep it small, with just the little bits of things I need to look up, so I can use the small Firefox extension to quickly look something upwithout even leaving the page that I am on}. So far no word on an API for this, hopefully one is in the works.




