Archiv
mash yubnub
a usefull thing is to mash up yubnub commands:
to launch a search for the term ‘einstein’ in wiki, google and google image: ‘mash2 einstein -cmd wp g gim‘ which creates
a framed page with all three resultpages. The result above is certainly not representative, as it is not very readable, unless you have a huge screen.
A more useful version would be ‘mash2 torchwood -cmd epguide iso‘, which displays the result of episodeguides.com and the search result of isotorrents for the tv series named ‘Torchwood.
You can use this command also with no searchstring at all. For example, if you are a baduk player like me:
‘mash2 -cmd dgos ogs‘ which displays the games stats on the dragongoserver and online-go.com.
Most of the yubnub commands are also in my wiki
added later: On a website of one of the commentors (yeah, I actually had one), there is also the option multi instead of mash. Thanks for your article gomelet
created new yubnub command: findjar
Linux screenshot via cmdline
more cmdlines [linux-user only]
Search my Blog and my Wiki via yubnub
I created 2 yubnub search commands:
‘lsw word‘ searches on my wiki for word
‘lsb word’ searches on my blog for word

groovy script beautified
groovy-script: lookup classes in jar-files
Recently I had following problem. I had a bunch of jar-files and I had to find out which jar-file was holding a specific class.
This is a common task, because your java-code told you that a class XY was not in you classpath, so you would have to search for it, if you don’t know already where to find it.
Since I had to do it already 2 times and as I am learning groovy I decided to write a short groovy-script
(are there long groovy-scripts?) which allows me to do that.
It is pretty straight-forward so here it is: searchJar.groovy
import gpg-keys from the cmdline
like linux cmdline:
if you are looking for my name for example, enter the following:
gpg --search-keys knoller
This will look for my key, offer you a choice of all ‘knoller’-keys and
will import them automatically to your keychain.
Usefull in conjuction with mail-security,
which btw, apple has no support. shame on apple.
Leopard, force backup for time machine
Time Machine is a good concept for backups, but when I connect my external harddrive I usually have to wait for 10-45minutes before the backup starts. There are 2 ways to force a backup instantly
- If you still have your time machine icon in the doc, you can ctrl-click it and select ‘backup now’
- If you don’t, as I have because I like to have my dock as simple as possible, you can do it on the cmd-line. Yes cmd-line, hurray, linux forever, ahemm… sorry, short outburst…
here is the command:
/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper
