2012年11月27日 星期二

簡易PHP +Shell Programming環境 (eclipse+vrapper)

最近在找能夠幫助我維護php程式的環境,找到了這個版本的eclipse


能夠提供php簡易的錯誤parsing 功能,再加上


擁有快速的編輯介面 (仿vi)

最後安裝Shell Editor

ShellEd Wiki

將.vrapperrc檔案放置於

C:\Users\帳號名\

底下

內容設定可參考

2012年11月20日 星期二

[VAIO SZ58 WebCam Driver] Sony Visual Communication Camera VGP-VCC7 Win 7 64bit drivers


在SONY VAIO SZ58 上安裝Win 7 64-bit時,發生WebCam無法啟動,所以找了一下driver,終於找到合用的,如下



How to use:
1.) In device managerupdate the driver for the Sony Webcam, 'browse my computer...'. 
2.) Now select 'LET ME PICK FROM A LIST.....'.
3.) Click 'HAVE DISKand then browse to the path of the extracted zip file.
4.) 'Sony Visual Communication Camera VGP-VCC7is now selectedClick NEXT.
5.) Windows can't verify publisher.... who cares. 'INSTALL THIS DRIVER SOFTWAREANYWAY'
6.) Test in Skype

2012年11月5日 星期一

Linux vi 存檔錯誤

File-encodings setting (notice the plural) does not include utf-8, so Vim does not try to save it with that encoding. It probably either tries to save it using plain old ASCII encoding or something like latin1, which does not include this char and therefore conversion fails. 
You should fix your 'fencs' setting to something like ucs-bom,utf-8,default,latin1 or you can force Vim to save it in utf-8 encoding, by issuing :w ++enc=utf8 filename. (It might be, that this needs the +multi_byte feature, which is only enabled, when compiling at least a big version of Vim). 

簡單的說就是檔案含有UTF-8的內容,vim存檔時沒有使用UTF-8的encoding存檔所產生的錯誤。

解決方法只需在存檔時加入一個option即可,如下:

:w ++enc=utf8 FileName

搜尋此網誌