Archiv
Google Reader (5)
$ vi +/pattern [file]
Open up vi or vim at the first instance of a pattern in [file]. Useful if you know where you want to be, like "PermitRootLogin" in sshd_config. Also, vi +10 [file] will open up a file at line 10. VERY useful when you get "error at line 10" type of output.
10 Tools To Add Some Spice To Your UNIX Shell Scripts
Visual jQuery 1.1
Editing remote files securely with vim
the internet is
the all-knowing garbage dump
free translation of a german quote by Tim Pritlove chaosradio express
Intellij IDEA: jumping to closing open brackets
thinking about blogging
Maybe I’ll change to another form of blogging:
tumblelog, like http://soup.io
see also http://en.wikipedia.org/wiki/Tumblr
Streifenwagen
Mein Sohn:
Sohn:Du Papa, die Polizei fährt doch in einem Streifenwagen, oder?
Sohn: Ja
Papa:Auf welchem Streifen fahren die denn?
Papa: …
From bash to clipboard in X
I recently had the workflow of opening a file in an editor, copying its content just to paste it into
another one. There had to be another way to do this. It was xclip. With xclip you can insert ‘things’ from Stdin or from a file!
xclip -i file.txt inserts the content from file.txt into the clipboard from X!
It does naturally also work the other way round. with xclip -o you insert the content of the X clipboard into the current bash-shell. Comes in handy for scripting