極度討厭廣告…

. . . → Read More: 極度討厭廣告…

fib.py (Fibonacci Numbers)

#!/usr/bin/env python
#-*- coding: utf-8 -*-
#!/usr/bin/python
#Fibonacci Numbers
#================================================
N = 8

def main():
sum = Fib(N)
print sum

def Fib(N):
if N == 0:
return 0
elif N == 1:
return 1
else:
. . . → Read More: fib.py (Fibonacci Numbers)

pingtime.pyc

#!/usr/bin/env python
#-*- coding: utf-8 -*-
#!/usr/bin/python
import os
import commands
import sys

def main():
host = sys.argv[1]
ping_str = commands.getoutput(‘ping -c 3 -n -q ‘+ host)
print ping_str.split(‘/’)[4]
print ping_str.split(‘/’)[5]

if __name__ == ‘__main__’:
. . . → Read More: pingtime.pyc

ZFS+NFS+ISCSI+FTP+SAMBA=爆漿撒尿牛丸

這陣子,都沒在研究啥…

也BOLG空白了好一段時間…

抽屜裡…一直都有HDD,但是遲遲都沒有把他接起來…
因為我想要做一個fileServer,
and 想要試試看傳說中的128位元File System –> ZFS

ZFS可是IT的明燈…地球的救世主…

但我一直想要把boot hdd納入 ZFS的保護中…

所以也在freebsd and . . . → Read More: ZFS+NFS+ISCSI+FTP+SAMBA=爆漿撒尿牛丸

ADSL硬改密碼

連線網址 http://192.168.1.1/
北區 帳號:cht 密碼:chtnadsl
中區 帳號:cht 密碼:chtcadsl
南區 . . . → Read More: ADSL硬改密碼

傳說中~~!!趕羚羊的最高境界 XD

上班苦悶嗎??
這就是傳說中… 趕羚羊的最高境界XD

外國人真的是吃飽太閒~~!!

看回文所說:
“This is definitely real. I read about it in Sheepherding magazine, it took 11 years and 4,000 sheep to make this. Samsung paid the shepherds one million dollars apiece and retired all the sheep to a farm in northern Scotland to live out the rest of their days in . . . → Read More: 傳說中~~!!趕羚羊的最高境界 XD

Ubuntu: 取得已安裝套件清單

把所有已經安裝的套件匯出到清單:

dpkg –get-selections > installed-software

要從清單匯入用:

dpkg –set-selections . . . → Read More: Ubuntu: 取得已安裝套件清單

0.4的差別

. . . → Read More: 0.4的差別

混亂

. . . → Read More: 混亂

國中同學會

. . . → Read More: 國中同學會