最近由於需要將一些視頻由flv格式轉化為avi格式,為了自動化轉換,我寫了如下指令碼:#!/bin/bashFFCMD='/cygdrive/c/work-dir/ffmpeg/ffmpeg.exe' # path to ffmpe tools#check output directory existif ! test -d $2;then mkdir $2fi#convert flv to avifor f in $(ls $1/*.flv);do if test -f $f
Our logic master repo is Hacker/master,Jerry and Lily folks this repo。Someday,Lily added a new feature. Jerry want to tracking Lily’s changes, What do Jerry’s do?1, fetch the changes from Lilygit remote add Lily [Lily’s repo address]git fetch Lily2,
昨天我用gdb來調試一個程式,總是用list來查看代碼不是很方便。我就想讓terminal有兩個視窗,一個用Vim來查看代碼,另一個用gdb來調試代碼。經過Google,我安裝了screen和byobu。經過一番折騰,我並不喜歡這個工具,隨即我將其卸載。悲劇來了:當我重啟Ubuntu後怎麼也登入不了Gnome,癥狀為我一輸入密碼並通過驗證後他又返回登入視窗(dumps me back to login
把自己的本本換成Ubuntu後總體還是比較滿意的。但還是有一些小不爽。其一是我的3G網卡時常拔不上號,另一個就是沒有一個類似Windows Live Writer的東東用來寫部落格。經過尋找ScribeFire進入的我的視線,我現在就是用ScribeFire。這也是我第一次使用ScribeFire,此時我也不知道這篇Blog是否可以正常Post出去。配置ScribleFire較為簡單,去Google
1,HTML SpecificationIn HTML specification, a section of [form submission] dedicated to explain which data should be post to the sever when submitting a form. User agent(such as Chrome, IE) which compliant with the specification will send [form data
把我的本本換成Ubuntu後,原本的電信3G網卡卻沒有辦法使用了。最終從官網上下載了驅動,這才使用3G網卡登上了網路。1,根據網卡型號去官網上下載驅動。http://www.vnet.cn/cwclient/download.htm2,解壓並安裝jerry@jerry-ThinkPad-R61:~/Downloads$ ls ChinaTelecom_huawei_linux_install.tar.gz jerry@jerry-ThinkPad-R61:~/Downloads$ tar