2011-11-18

Owned scan screen in ZBar

By studying the ZBar iPhone SDK document, I need to preview the camera on my own UIView, then, show the scanned image and text, that's all. All I need is to use ZBarReaderView and ZBarImageScanner, the mainly code snippet as below: The screen result like below:
Check out the full sample from github.

2011-11-16

露天拍賣密碼

修改密碼網頁

希望使用者輸入至多 15 個字元,可是 html 語法卻寫成:




正確寫法是:



另外,登入頁面




修改密碼規定 15 個字元,這裡卻限制 24 個字元,明顯裡外不一。