星期日, 10月 25, 2015

自動程式排版




sudo apt-get install astyle


astyle --style=java imagejVertical

星期五, 7月 10, 2015

ubuntu 14.04 新增日文輸入法



搞好久喔
終於用了dconf-editor 搞定

詳情要看第一個answer
http://askubuntu.com/questions/457476/ibus-methods-do-not-show-up-in-text-entry-settings

星期三, 12月 17, 2014

玩樹莓派

使用ssh登入Rpi



安裝VNC server
http://www.embbnux.com/2014/03/24/on_ubuntu_use_vnc_connect_raspberry/

ubuntu上用rDesktop(remmina)看遠端桌面



安裝Lamp
http://www.geekfan.net/3066/

1
169
215
92



星期日, 11月 16, 2014

Ubuntu連arduino出現的問題

使用arduino uno,結果
一直出現無法連線到/dev/ACMxxx
查了之後,解決方式就是到

~/.arduino/preferences.txt

serial.debug_rate
改成
serial.debug_rate=9600

星期日, 8月 03, 2014

ubutnu安裝Repetier-Host

從鄭鴻旗那邊copy來的,之前都沒有這麼作,也都可以執行
https://www.facebook.com/notes/repraptaipei/%E5%9C%A8-ubuntu-%E4%B8%8A%E5%AE%89%E8%A3%9D-repetier-host/585697618134501


  1. 從 http://www.repetier.com/download/ 下載軟體,選擇 linux 版本。
  2. 解壓縮。
  3. 進入 RepetierHost 檔案夾內,
  4. 滑鼠左鍵雙擊 configureFirst.sh ,會出現對話框,選擇「執行」。接下來會執行很久,請耐心等候。
  5. 確定你有權限可以使用 serial port,打開終端機輸入
    sudo adduser $USER dialout
  6. 滑鼠左鍵雙擊 repetierHost,執行程式。
另外,在 marlin 的 Firmware 的 Configuration.h 程式碼中把 
#define BAUDRATE 250000
改為
#define BAUDRATE 115200