Posts

Showing posts from February, 2010

โอ้ feature ของ google search ยอดไปเลย

นั่งหาข่าว tsunami อยู่อยู่ๆก็เจอ feature ตอน search http://www.google.com/search?q=tsunami+warning&hl=en& tbs=rltm :1&tbo=u&ei=Z1uJS-OCNYq-rAfUz8iaCg&sa=X&oi=realtime_result_group_more_results_link&ct=title&resnum=8&ved=0CDcQ5QUwBw ไอ้ตัว bold ถ้าใส่ไปแล้วเป็น google.com ด้วย จะมี options ในการแสดงด้านซ้ายขึ้นมาชื่อว่า latest จะำทำให้แสดงผลการค้นหาเป็นแบบ realtime ฮ่าๆๆ ยอดไปเลยว่ามั้ย (หรือว่าเขารู้กันอยู่แล้วหว่า)

thai in debian

i try to put 'thai stuff' in debian first i 1.add line in /etc/apt/source.list 2." deb ftp://ftp.debianclub.org/debclub unstable main contrib non-free" second i apt-get install ttf-thai-tlwg third i #apt-get install xfonts-thai* #dpkg-reconfigure locales choose thai-> th_utf-8 and last resize font in config desktop theme

Python Script Rename

During serial collecting data from cyberglove , Some accident happens!!! timeout signal from cyberglove coming when chatting with phd candidate from tokai u. Have to change name of file follow order that continue from last time collecting. So import os for fname in os.listdir(os.getcwd()): if fname.endswith('.dat'): os.rename(oldname, newname) i google and get interested information smart author!!!:)