perl -pi~ -e 's/old/new/g' filename[s] --- /var/log/kernel { prerotate /sbin/chattr -ai "/var/log/kernel*" endscript postrotate /usr/bin/killall -HUP syslogd /sbin/chattr +a "/var/log/kernel*" endscript } --- date -d '1 hour ago' +'%b %m %H:%M' --- host -l -v -t any domain.org --- CREATE FUNCTION get_id (text) RETURNS int4 AS ' DECLARE id int4; BEGIN id := next_id FROM id_memory WHERE id_name = $1; UPDATE id_memory SET next_id = (id+1) WHERE id_name = $1; RETURN id; END; ' LANGUAGE 'plpgsql'; --- http://www.harker.com/gen.sendmail.cf/index.html http://www.samiam.org/crypto/kiwi/doc/html/Intro.htm --- <`Sauron> printf ( "%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c" <`Sauron> ,71,73,70,56,57,97,1,0,1,0,128,255,0,192,192,192,0,0,0,33,249,4,1,0,0,0,0,44,0,0,0,0,1,0,1,0,0,2,2,68,1,0,59); <`Sauron> and there we have a transparent 1x1 gif! :) --- $tmp = preg_match_all("|href=([$/\'\"a-zA-Z0-9][^\s>\'\"]+)|i", $contents,$linksarray); --- --- PHP was originally Personal Home Pages it then became Professional Home Pages, with the early betas of 3.0 and finally PHP: Hypertext Preprocessor a recursive acronym a-la GNU --- rpm -Uvh \*.rpm sls -u -p '%t%p %3l %-u %-g %s %m %Nbs' rpm -q -a | sed 's/-[0-9]/T/g' | cut -dT -f1 rpm -q -a | sed -e 's/\-[0-9]/T/g' | cut -dT -f1 --- lynx -dump "http://horoscopes.netscape.com/horoscopes/today/?cp=hordailys&s=aq" | perl -ne 'if (/Advice/) {$print = 0}; if (/^ Aquarius/ || $print ) { print; $print = 1}' lynx -dump "http://horoscopes.netscape.com/horoscopes/today/?cp=hordailys&s=ar" | perl -ne 'if (/Advice/) {$print = 0}; if (/^ Aries/ || $print ) { print; $print = 1}' http://nimbus.ocis.temple.edu/~jlabonsk/camden.html --- ctags -x *.c | grep 'function' | cut -c54-200 --- NDA http://www.amargosa.net/mod_nda.html http://www.amargosa.net/mod_nda2.html http://www.adlaw.com/RC/rf_forms.html http://www.bahnhof.se/~rednex/ --- wh-or or wh-gr bl wh-bl gr wh-br br - straight wh-gr gr wh-or bl wh-bl or wh-br br - x-over --- tcpdump src or dst port not 22 and src or dst port not 4444 and src or dst port not 53 and src or dst port not 80 and src or dst port not ircd and src or dst port not 4000 and src or dst host not localhost --- http://www.python.org/doc/ext/ - Extend/Embed Python --- Why Not MySQL? http://openacs.org/why-not-mysql.html MySQL offers lighter database fare, but it may leave some users hungry http://www.zdnet.com/enterprise/stories/linux/news/0,6423,2436155,00.html Evaluating postgreSQL for a Production Environment http://www.medasys-digital-systems.fr/mirror/linux/LG/issue36/defurne2.html Academic's Tool Grows Up - PostgreSQL http://www.32bitsonline.com/article.php3?file=issues/199912/pg_sqledit&page=1 --- [Tenchi] the default password for system is manager [Tenchi] the default passwrod for sys is change_on_install --- ROT13 strtr($text,"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ","nopqrstuvwxy zabcdefghijklmNOPQRSTUVWXYZABCDEFGHIJKLM"); --- Perl RE for IP ((((2[0-4])|([01]?[0-9]))?[0-9])|25[0-5])