By Allen, on November 23rd, 2009%
There is no excerpt because this is a protected post.
By Allen, on November 17th, 2009%
. . . → Read More: 祝我生日快樂!!
By Allen, on November 10th, 2009%
主機爆炸好幾天了(約一個多月吧)XDD
剛剛把他先轉到Virtualbox上了…
因為之前VM與Virtualbox會打架….
而我又熱愛OPEN Source….
所以, 當然, 肯定是, Virtualbox….XDD
ps. . . . → Read More: 終於…
By Allen, on October 7th, 2009%
c9s用Perl寫了一個幫助調整安裝的程式….
超讚~~!!
# cpan Vimana
# vimana search [keyword] [keyword]
# vimana info xml.vim
# vimana . . . → Read More: 釋放VIM的威力
By Allen, on October 1st, 2009%
#!/usr/bin/python
import py_compile
import sys
file=raw_input(“Please enter your . . . → Read More: Python compile
By Allen, on September 30th, 2009%
如果在Tsclient 找不到 VNC 可用,記得先裝一下下面的軟體.
sudo apt-get . . . → Read More: about tsclient vnc protocol
By Allen, on September 18th, 2009%
#!/usr/bin/env python
#-*- coding: utf-8 -*-
”’
============================================
LOG
Date:2009/09/24
Add Threading Process
Date:2009/11/10
Add Check PATH, if you forget enter ‘/’
============================================
”’
import threading
import Queue
import os
import sys
import time
__author__ = “AllenWang”
__copyright__ = “Copyright 2009, SVN Backup Script”
__credits__ = “Allen Wang”
__license__ = “GPL”
__version__ = “1.0″
__maintainer__ = “Allen Wang”
__email__ = “allencswang@gmail.com”
__status__ = “Released”
queue = Queue.Queue()
def chkpath(_chk):
i = len(_chk) -1
if . . . → Read More: Backup_SVN.py
By Allen, on September 17th, 2009%
#!/usr/bin/env python
#-*- coding: utf-8 -*-
from subprocess import call
import sys
import time
import commands
source = “xxx@10.181.59.137:~/sysbackup/”
target = “~/sysbackup/relay/”
rsync = “/usr/local/bin/rsync”
arguments = “-avuzb –delete -e”
ssh = “‘ssh -i /home/xxx/.ssh/id_dsa’”
cmd = “%s %s %s %s %s” % (rsync, arguments, ssh, source, target)
def sync():
while True:
ret = call(cmd, shell=True)
. . . → Read More: rsync.py
By Allen, on September 16th, 2009%
只是為了偷懶,所以隨手寫了一個script…
#!/usr/bin/env python
#-*- coding: utf-8 -*-
import os
import commands
def usbdisk():
S_usb = commands.getoutput(‘df |grep /mnt/bkusb’)
if ‘/mnt/bkusb’ in S_usb:
print ‘usb disk relly to use’
return True
else:
. . . → Read More: automount.py
By Allen, on August 22nd, 2009%
Romance 愛情篇
1. 他暗戀我們班上的一個女生。
He has a crush on a girl in our class.
2. 因為有你,我的生命充滿了希望。
Because of you, my life is filled with hope.
3. 愛情令人盲目。
Love is blind.
Continue reading 分享 這句英文怎麼說 (Romance – 愛情篇)