about tsclient vnc protocol

如果在Tsclient 找不到 VNC 可用,記得先裝一下下面的軟體.

sudo apt-get . . . → Read More: about tsclient vnc protocol

Backup_SVN.py

#!/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

rsync.py

#!/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

automount.py

只是為了偷懶,所以隨手寫了一個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

分享 這句英文怎麼說 (Romance – 愛情篇)

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 – 愛情篇)

git

git 是一套(source code management) 簡稱 SCM

他可以簡化程式語言在開發上,免不了的cp . . . → Read More: git

I’m still here.

where are you ??
I’m still here.

where are you ??
I’m waiting . . . → Read More: I’m still here.

絕緣體…

當一個人認清一件事情的時候,

反應一 心灰意冷…
反應二 試圖改變…

反應三 絕緣體…

無論 好壞 都將它放在一邊…

無論 . . . → Read More: 絕緣體…

匯出 PuTTY 設定

每次reinstall windows後,每次都要重新設定PuTTY的Host,
真的粉麻煩,下面是匯出PuTTY的備份方法:

1. 按 “開始” -> “執行”,然後輸入 “RegEdit” 並按確定。
2. 移到 HKEY_CURRENT_USER\Software\SimonTatham
3. 選擇 SimonTatham 後按 “檔案” -> “匯出”。
4. 儲存好匯出的登錄檔。
5. 將登錄檔放到需要匯入設定的電腦上,並 right click 該檔案後按 “合拼”。

. . . → Read More: 匯出 PuTTY 設定

用小畫家畫畫…遜~!!用Excel畫…酷:P

. . . → Read More: 用小畫家畫畫…遜~!!用Excel畫…酷:P