found at http://mail.nl.linux.org/kernelnewbies/2003-05/msg00090.html
uses only socket() and ioctl() calls
Tuesday, October 31, 2006
Monday, October 30, 2006
Performance Blog Editor Plugin for Firefox
endlich habe ich einen offline Blog Editor gefunden als Firefox Plugin:
https://addons.mozilla.org/firefox/1730
( http://performancing.com/firefox )
https://addons.mozilla.org/firefox/1730
( http://performancing.com/firefox )
powered by performancing firefox
Sunday, October 29, 2006
reconnect my adsl connection
sometimes I loose my adsl connection
#this one kill the instances
ps -A | grep pptp | while read a b c; do sudo kill -sigkill $a; done
# and this tries to relogin
/etc/ppp/ip-up
all on my (k)ubuntu notebook
#this one kill the instances
ps -A | grep pptp | while read a b c; do sudo kill -sigkill $a; done
# and this tries to relogin
/etc/ppp/ip-up
all on my (k)ubuntu notebook
Thursday, October 26, 2006
undo a tar eXtraction
if you ever accidentaly untar'ed in the wrong place, here is a method for undoing the extraction.
it tries to remove all files and the enclosing directories.
known bugs: filenames with spaces
tar tzf tarfile.tar.gz | sort -r | remove.sh
#!/bin/bash
# remove.sh
# reads from stdin and removes given file or directory
while read a b; do
if [ -d $a ]; then rmdir $a; else rm -f $a; fi
done
it tries to remove all files and the enclosing directories.
known bugs: filenames with spaces
tar tzf tarfile.tar.gz | sort -r | remove.sh
#!/bin/bash
# remove.sh
# reads from stdin and removes given file or directory
while read a b; do
if [ -d $a ]; then rmdir $a; else rm -f $a; fi
done
Subscribe to:
Posts (Atom)