Archiv

Archiv für die Kategorie ‘Web’

grep for intersection in files

4. Juni 2010

grep -Fx -f file1 file2
intersection between two files

martin IT, Web, cmd-lines

Google Reader (5)

30. April 2010

$ 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.

viaGoogle Reader (5).

martin Web

10 Tools To Add Some Spice To Your UNIX Shell Scripts

22. April 2010

Visual jQuery 1.1

21. April 2010

Visual jQuery 1.1.

cool visual jquery api reference

martin Web

Editing remote files securely with vim

21. April 2010

Editing remote files securely with vim.

vim scp://user@host/[path_to_file]

martin Web

the internet is

9. April 2010

the all-knowing garbage dump

free translation of a german quote by Tim Pritlove chaosradio express

martin Web

Intellij IDEA: jumping to closing open brackets

7. April 2010

thinking about blogging

7. April 2010

Maybe I’ll change to another form of blogging:

tumblelog, like http://soup.io

see also http://en.wikipedia.org/wiki/Tumblr

martin Web

Streifenwagen

30. August 2009

Mein Sohn:

Sohn:Du Papa, die Polizei fährt doch in einem Streifenwagen, oder?
Sohn: Ja
Papa:Auf welchem Streifen fahren die denn?
Papa: …

martin Web

From bash to clipboard in X

4. Juli 2009

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 ;)

martin Web