…
Posted on February 18, 2005
Filed Under Uncategorized | Leave a Comment
Engineers just want to have fun ;-))))
Posted on February 18, 2005

Engineers just want to have fun ;-))))
Filed Under Uncategorized | Leave a Comment
The Evolution of a Programmer
Posted on February 18, 2005
Filed Under Uncategorized | Leave a Comment
В Чернобыле начался ремонт саркофага над аварийным реактором.
Posted on February 18, 2005
В Чернобыле начался ремонт саркофага над аварийным реактором.
Ремонтникам предстоит работать в очень сложных условиях, поскольку на крыше саркофага по-прежнему сильное излучение - находиться там без вреда для здоровья можно считаные минуты. Перед тем как отправится на место работ специалисты должны будут отрепетировать свои действия на специальном макете.
And don’t know who will agree to work there… But i wish them good luck.
В настоящее время единственный для работников АЭС, долги которой выросли до шести миллионов долларов, способ заработать деньги - продавать незараженное радиацией оборудование станции на металлолом или действующим АЭС.
This is really strange… People still work there? I thought it work dead zone. I’m sure it is. Maybe that cut that from Stalker review?
Filed Under Uncategorized | Leave a Comment
Wow this is big.
Posted on February 17, 2005
Probably some people that developed standard for i18n URL did not think about potential abuse.. For example English ‘a’ and Cyrillic ‘а’ look the some. So you can use Cyrillic a as a part of URL for site like paypal. Here is an example. So basically now you can’t trust a link… Every time you go to eBay or paypal, type the URL yourself.

P.S if you use Mozilla or Firefox open about:config as an address and change network.enableIDN to false.
Filed Under Uncategorized | Leave a Comment
Karl Baum’s Weblog
Posted on February 16, 2005
Karl Baum has a lot of good articles on Spring Framework.
Filed Under Uncategorized | Leave a Comment
Romain Guy’s Weblog
Posted on February 16, 2005
Wow, good looking Java UI! All here at Romain Guy’s Weblog.
Filed Under Uncategorized | Leave a Comment
Class photo.
Posted on February 14, 2005
Filed Under Uncategorized | Leave a Comment
syntax highlighting file
Posted on February 13, 2005
vim has syntax highlighting for almost every file type, to save document in html with highlighting, run this command:
:runtime! syntax/2html.vim : convert txt to html
And this for help
:h 2html : help
Filed Under Uncategorized | Leave a Comment
Solaris 10 popfile SMF service bundle
Posted on February 13, 2005
popfile.sh
#!/sbin/sh
. /lib/svc/share/smf_include.sh
POPFILE_ROOT=/opt/popfile
POPFILE_USER=$POPFILE_ROOT
POPFILE=$POPFILE_ROOT/popfile.pl
POPFILE_PID="/var/run/popfile.pid"
PID=`cat ${POPFILE_PID} 2> /dev/null`
CONF_FILE=$POPFILE_ROOT/popfile.cfg
LOGDIR=/var/log/popfile
[ ! -f ${CONF_FILE} ] && exit $SMF_EXIT_ERR_CONFIG
case "$1" in
‘start‘)
if [ "${PID}" = "" ] ; then
cd ${POPFILE_ROOT}
${POPFILE} –set config_piddir=/var/run/ –set logger_logdir=$LOGDIR &> $LOGDIR/popfile &
echo "Starting POPFile as background process: done"
else
echo "Starting POPFile as background process: POPFile already running"
fi
;;
’stop’)
if [ "${PID}" = "" ] ; then
echo "Stopping POPFile: POPFile not running"
else
kill $PID
if [ -e $POPFILE_PID ] ; then
rm ${POPFILE_PID}
fi
PID=""
echo "Stopping POPFile: done"
fi
exit $SMF_EXIT_OK
;;
*)
echo "Usage: $0 { start | stop }"
exit 1
;;
esac
————————————————————-
popfile.xml
<?xml version="1.0"?> <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> <!– thanks http://blogs.sun.com/roller/page/tdw/20050204#my_first_foray_into_service –> <service_bundle type="manifest" name="LOCAL:POPFILE"> <service name="site/popfile" type="service" version="1"> <!– Only want one instance and I want it enabled by default –> <create_default_instance enabled="true"/> <single_instance/> <!– Can’t do anything without a network layer –> <dependency name="loopback" grouping="require_all" restart_on="error" type="service"> <service_fmri value="svc:/network/loopback:default"/> </dependency> <dependency name="physical" grouping="require_all" restart_on="error" type="service"> <service_fmri value="svc:/network/physical:default"/> </dependency> <!– popfile needs to be able to resolve host names. –> <dependency name="name-services" grouping="require_all" restart_on="refresh" type="service"> <service_fmri value="svc:/milestone/name-services"/> </dependency> <!– Need to ensure that /opt is mounted –> <dependency name="fs-local" grouping="require_all" restart_on="none" type="service"> <service_fmri value="svc:/system/filesystem/local"/> </dependency> <exec_method type="method" name="start" exec="/opt/popfile/popfile.sh start" timeout_seconds="60"/> <exec_method type="method" name="stop" exec="/opt/popfile/popfile.sh stop" timeout_seconds="5"/> <stability value="Unstable"/> <template> <common_name> <loctext xml:lang="C">POPFile is an automatic mail classification tool</loctext> </common_name> <documentation> <doc_link name="getpopfile.org" uri="http://popfile.sourceforge.net/"/> </documentation> </template> </service> </service_bundle>
———————————-
svccfg validate popfile.xml
svccfg import popfile.xml
Filed Under Uncategorized | Leave a Comment

