•June 30, 2011 • 4 Comments
Finaly, after years of searching, i found an almost perfect solution.
I sometimes like to write lists in vim which have 2 columns, or sometimes you copy something from the web and want to have it in two columns.
First you have the text in one column, then you go to the first row you want to have in the second column. Then you enter visual blockmode with Ctrl-V, then you press $, as not all rows will be the same length. Then scroll down with j and select all items you want to have in the second column. Then yank with y, or delete with x, go to the first corner of the second row and paste with p.
•June 13, 2011 • Leave a Comment
This lists visible and hidden ones.
ls -d */ .*/
•June 10, 2011 • Leave a Comment
rsync -e ssh -l somefile someuser@someip:
•June 6, 2011 • Leave a Comment
clear and ^L:
clears window and sets cursor at beginning of window.
reset or ⌘K on Mac OSX:
clears whole scrollback buffer
•July 26, 2008 • 1 Comment
For a long time i had not sound in Firefox on Sites using Java (hobnox.com, runescape.com)
I tested the Javasound localy withe the JavaSoundDemo:
and i worked flawlessly.
I had to activate the OSS Sequencer API in the Kernel under:
Device Drivers/Sound/Advanced Linux Sound Architecture/
So even modern sites still use and need the OSS API, good to know :)
•July 20, 2008 • 2 Comments
Ever wondered how to find all those programms in portage you didn’t install, which have a specific useflag you were interested in ?
Well, eix is capable of this useful feature, just search like this:
eix -U someuseflag
•May 15, 2008 • 1 Comment
Its easier than i thought, just type:
diff -rq Dir1 Dir2
-r stands for rekursive
-q output only wether content differ