2
27
2013
0

代码高亮测试

(1)Bash shell

#!/bin/sh
# Create Date: 2013-01-16
export POOLDIR="${SYSDIR}/send_pool"
LIST_URL="${SYSDIR}/input/list_url"
# Generate Time (Odd, 4min)
TIME=$(date +%Y%m%d.%H%M)
STIME=`date --date='+2 minute' +%Y%m%d.%H%M`
len=${#STIME}
checktail=${STIME:$len-1}
echo "@Debug: checktail=[${checktail}]"
if [ $((${checktail}%2)) -eq 0 ]
then
	another="${STIME:0:len-1}$((${STIME:len-1}+1))" 
	echo "@Debug: Round to odd [$another]"
	STIME=$another
fi
# Read from list_url, schedual sending
if [ ! -f "${POOLDIR}/${STIME}" ]
then touch "${POOLDIR}/${STIME}"
fi
echo "@Info: Sendlist Task Pushed(4min later/odd): [${STIME}]"
while read line
do
	if [ ! "$line" = "" ]
	then echo $line >>"${POOLDIR}/${STIME}"
	fi
done <${LIST_URL}
python ${SYSDIR}/bin/patch.py >$SYSDIR/log/patch.py.all_log 2>$SYSDIR/log/patch.py.all_err &

(2)Python

--more--

Category: 未分类 | Tags: test
2
26
2013
1

CSS测试

Here comes the first line.

这是第二行。

こちらは三行目でございます。

--more--

Category: 未分类 | Tags: test
2
26
2013
1

新Blog测试

原来的blog文件空间居然是0,重新注册了一个解决问题。

--more--

Category: 未分类 | Tags: test

Host by is-Programmer.com | Power by Chito 1.3.3 beta | Theme: Aeros 2.0 by TheBuckmaker.com