kbo kbo@identi.ca
2012-12-05T17:31:01+00:00 To: Command Line Magic, Public
@climagic find . -type f -exec du -m {} + | awk '{ sum += $1; } END { print sum / FNR; }' # average file size (recursive) in MB2012-04-22T17:24:34+00:00 To: Public
just wrote my first kernel module (gpio-mcp23016) ... and it works :)2012-02-13T14:29:23+00:00 To: Command Line Magic, Public
@climagic lsblk # list block devices (holders and slaves). I thought about writing a shell script for this (requires util-linux >= 2.19)2011-11-29T17:30:35+00:00 To: Public
while :; do wget -q -O- http://mpd:8000 | aplay -; sleep 1; done <-- works MUCH better for me than streaming via esound-esd !mpd2011-11-19T11:53:29+00:00 To: KDE, Public
Finally upgraded to !KDE 4.7.3 and so far everything just works(tm). Thank you very much for the great work!2011-09-16T23:55:17+00:00 To: Bryan Bishop, Public
@drtelnet http://sprunge.us/KcYP (updated unix-filename-rubout, this one seems to work)2010-09-17T15:39:53+00:00 To: Public
@otakukuma You just made my day :) I usually use $RANDOM for that task, but your number could be even more randomly chosen.2010-07-06T14:07:04+00:00 To: Public
2010-05-29T14:10:31+00:00 To: Command Line Magic, Public
@climagic sry, wrong key. I prefer using "for i in *; do ..." instead of "ls -1 | xargs"2010-05-19T20:59:48+00:00 in Morston, England, United Kingdom To: Command Line Magic, Public
@climagic typo: it is tar zxvf !$. there are more readline macros like !! (prev line), !!^ (first arg of prev line), ...