hychen的聚會手記

2014-02-13

來源: 2014-02-13
記賬軟體
hledger - command-line double-entry accounting program

2014-01-23

來源: 2014-01-23
Tristan Hume - Using Slate: A Hacker's Window Manager for Macs
http://thume.ca/howto/2012/11/19/using-slate/

2013-11-14

來源: 2013-11-14
CitySDK - Linked Open Data Distribution API
http://dev.citysdk.waag.org/

2013-05-23

來源: 2013-05-23

web mockup tool
Moqups
https://moqups.com/#!/

2012-12-13

來源: 2012-12-13

立法委員接待選民團體至立法院參訪旁聽申請表
http://webcache.googleusercontent.com/search?q=cache:-khtNpQlJSUJ:www.ly.gov.tw/saveAs.action%3FfileName%3D201209260845270.doc%26unitcd%3D07%26itemno%3D02070700%26atcid%3D25520+&cd=1&hl=en&ct=clnk&gl=tw

公報 議事日程
http://lci.ly.gov.tw/

2012-06-07

來源: 2012-06-07
javascript 的 instance 的 prototype 不可修改, proto 不在spec.
functional language 的特點與缺點
what is monad

2012-02-09

來源: 2012-02-09
Mat 問有沒有辦法把python args/kwargs 對應到 command line tools的args/options
Mat 覺得ucltip不太物件導向
Hychen說: 這玩意本來就是以我用得順手來開發的 XD
import ucltip
ls = ucltip.Cmd('ls')
ls.opts(a=True)
ls.execute('/tmp')
ls2 = ucltip.Cmd('ls')
ls2.opts(l=True)
ls2.execute('/tmp')

2012-02-09

來源: 2012-02-09
如果要同時輸出到 pipe 與 stdout,可以把訊息寫到 /dev/tty (等於目前的 control terminal)

# Use TTY for print information or debuging message
# Use STDOUT for printing MissionMessage
self.tty_fd = os.open('/dev/tty', os.O_WRONLY)
self.bk_stdout = os.dup(sys.stdout.fileno())
os.close(sys.stdout.fileno())
os.dup(self.tty_fd)
self.bk_stdout = os.fdopen(self.bk_stdout, 'w')
缺點
缺點: stdout 沒辦法被rederiect, 不能用cron, 因為cron沒有tty

2011-08-18

來源: 2011-08-18

emacs 是偽裝成編輯器的 OS

2011-07-07

來源: 2011-07-07

中文輸入法 - 謝東翰
http://b2d-linux.com/xcin/i18n/slat/im.html
Chinese Input Method
http://b2d-linux.com/xcin/i18n/index.html
Xi18n 程式簡介
http://b2d-linux.com/xcin/i18n/pc2000/p7/index.html

2011-03-24

來源: 2011-03-24
LC_MESSAGE > LC_AL > LANG

Message for Honki
http://blog.got7.org/2009/06/q1tk.html
From Minyen

2011-01-20

來源: 2011-01-20
今天介紹 gobby, 在 uds 用到的,在線上會議會用到

目前沒有支援 Version control ,所以有時候會發生整頁被幹掉的的情況。
(需要砍的人作 undo才行 )

線上版的協作軟體是 etherpad

( Mat:有沒有 etherpad <=> gobby的工具 )
( aguai:這也是阿怪的心聲 ~~~ )

vsgui
用 python 寫了一個console tool的 wrapper
https://github.com/hychen/vsgui

import uclitp
uclipt.user_helper()
dls= _c('ls')
shell.git(.

cmd.ls.dash.l.eq.22
cmd.ls.dash.la

( Thinker:這樣子就可以把 python當成一般的 shell使用了 )
( pct:平常要處理資料或是其他指令,用 system/subprocess … )
( ??: 像其他也有 embed schema/pico/…等用法 )

三種 option style

info
text="XXX"
-h

2010-06-10

來源: 2010-06-10
hychen: [mat 你要把dependency跟我說啊]
mat:[喔喔喔 那你就執行一下, 看少了什麼再跟我說, 我再加上去]
1 libtool
2 autools-dev

2010-04-29

來源: 2010-04-29
一行就幹掉

re.findall( '.*MTU:(.*) .*', commands.getoutput('sudo ifconfig') )

python 因為有縮排的問題,所以換行會遇到困難。
黃大哥作了一個小程式,lpython,可以將一個 python 的檔案編成一行文的,再導向 python 的語法器。
http://kalug.linux.org.tw/~lloyd/bblog/archives/2008/05/23/lpythonpy_--_python_%E4%B8%80%E8%A1%8C%E6%96%87/

2010-04-22

來源: 2010-04-22
http://www.flickr.com/photos/hychen/4527922016/sizes/l/

2010-03-25

來源: 2010-03-25
1. 大家年薪破百萬
2. =========
3. 祝我中樂透

2009-11-26

來源: 2009-11-26
haskell, house, 用 haskell 寫的 OS

fastgit.vim

git pull 會自動 merge
git fetch 不會自動 merge

2009-11-12

來源: 2009-11-12
用 python 的 binascii 可以處理位元字串

2009-11-05

來源: 2009-11-05
爆: 某廠牌的魔術, wifi 睡著了就醒不來了…,因為是某晶片廠的 bug.

2009-10-15

來源: 2009-10-15
如果得獎的話,要買一台投影機

2009-10-01

來源: 2009-10-01
最近 lazyscripts 又開始在作一些小修改,依 PEP 的慣例來作規格擬定…

1. 滑鼠移到不知道的單字,顯示解釋。 (自動偵測,反白,丟到backend 儲存) (V)
2. Quiz like (V)
3. word —> yahoo image search (V)
4. 單字比賽 : 類似噩螺絲方塊 (non)
5. 統計一個月查詢最頻繁的單字,並與其他人做合併統整。 (V)
6. output pdf ,可折紙(optional)
7. mobile browser (s5 作slide顯示單字) (V)
8. input colume - 顯示一英文單字,輸入幾個字,代表答對幾個字元 (V) -> 1 gir pic.
9 log currnet browse url, and 前後文 (V)
10 send mail to summery a week
11 make wallpaper, gnome/kde gadage , google gadge, yahoo gadge
12 螢幕保護程式
13. yahoo pipes

Sheng-Po:
Tabard Inn, 新生北路一段 38 號

Tsung:
好好過生活,下次有機會可以分享 irc bot。

2009-09-24

來源: 2009-09-24
xmind 在 linux 上中文輸入很不正常, gcin, scim 都有問題, yEd 的中文輸入正常

除非特別註明,本頁內容採用以下授權方式: Creative Commons Attribution-ShareAlike 3.0 License