如何更改 Git config 的編輯器 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 12月 05, 2014 執行 git config -e,預設是打開 GNU Nano 編輯器,不過操作上不太順手,可以更改設定,改為自己喜歡的編輯器: $: git config core.editor <editor name> 編輯器可以是任意的,環境變數中找得到的,如果沒有就要自己加進去。 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 留言
解決 Ubuntu 上的 Chromium 無法觀看 Flash 的窘境 1月 26, 2015 下列方法在 Ubuntu 14.04 成功啟用 Flash 關閉 Chromium sudo add-apt-repository ppa:skunk/pepper-flash sudo apt-get update sudo apt-get install pepflashplugin-installer gksu gksu gedit /etc/chromium-browser/default # 注意 兩個 gksu 原因見上面的參考來源 把下面這一行 加在 最後面 (這一行 CHROMIUM_FLAGS="" 下面一行) . /usr/lib/pepflashplugin-installer/pepflashplayer.sh 重新啓動 Chromium 閱讀完整內容
在一筆 Query 內,加入多筆資料到資料庫中 12月 09, 2014 INSERT INTO example (id, name, value, other_value) VALUES (100, 'Name 1', 'Value 1', 'Other 1'), (101, 'Name 2', 'Value 2', 'Other 2'), (102, 'Name 3', 'Value 3', 'Other 3'), (103, 'Name 4', 'Value 4', 'Other 4'); 其中欄位名稱是可以省略的,如: INSERT INTO example VALUES (100, 'Name 1', 'Value 1', 'Other 1'), (101, 'Name 2', 'Value 2', 'Other 2'), (102, 'Name 3', 'Value 3', 'Other 3'), (103, 'Name 4', 'Value 4', 'Other 4'); 閱讀完整內容
Windows 上使用 Meld 進行 git-diff 5月 24, 2015 [Git Bash] git config --global difftool.meld git config --global difftool.meld.path "C:\Program Files (x86)\Meld\Meld.exe" 閱讀完整內容
留言
張貼留言