01.1.取得和設置當前目錄(即該進程從中啟動的目錄)的完全限定路徑。
02.string str = System.Environment.CurrentDirectory;

Allen 發表在 痞客邦 留言(0) 人氣()

        enum color { red, blue, green };
        enum bdc { yellow, black , blue };
        public Form1()
        {
            InitializeComponent();

Allen 發表在 痞客邦 留言(0) 人氣()

以 tab 為分隔符 
sort -t '$\t' -k 1 
argument 'k' is sort by field

Allen 發表在 痞客邦 留言(0) 人氣()

更改.bashrc 
完成後,執行source .bashrc
即可更新,不需重開機。

Allen 發表在 痞客邦 留言(0) 人氣()

use command : mktemp 
this command can create a temp file for you ,then delete after the program end.

Allen 發表在 痞客邦 留言(0) 人氣()

git config --global user.email "$mail"
git congit --global user.name "$name"
git remote add $git server:$projectName
 

Allen 發表在 痞客邦 留言(0) 人氣()

gitosis_conf
若要新增progect ,
方法一 : 1. 可以直接在"管理機器"上 , 編輯gitosis-admin/gitosis.conf  , 新增project 資料 , 如下
 
2. 設定好權限之後,到 擁有clone權限的電腦上,clone project ,就會clone 下個empty repo.接下來正常編輯即可.

Allen 發表在 痞客邦 留言(0) 人氣()

1.
apt-get install wine
2.
wine sourceInSight.exe

Allen 發表在 痞客邦 留言(0) 人氣()

https://github.com/yangyangwithgnu/use_vim_as_ide/blob/master/README.md#0.1

Allen 發表在 痞客邦 留言(0) 人氣()

smbmount //IP/分享資源 /掛載點 [-o options]
參數:
-o 後面接的參數 (options) 常用的有底下這些:
username=你的登入帳號:例如 username=dmtsai
password=你的登入密碼:需要與上面 username 相對應啊!
iocharset=本機的語系編碼方式,如 big5 或 utf8 等等;
codepage=遠端主機的語系編碼方式,例如繁體中文為cp950

範例:以 dmtsai 的身份將其家目錄掛載至 /mnt/samba 中
[root@linux ~]# smbmount //127.0.0.1/dmtsai /mnt/samba -o username=dmtsai,password=pw_test,codepage=cp950


mount -t smbfs //127.0.0.1/dmtsai /mnt/samba -o username=dmtsai,password=pw_test,codepage=cp950,iocharset=big5

Allen 發表在 痞客邦 留言(0) 人氣()

user : nlp
vi  ~/.bashrc
add
alias mosesP='/home/nlp/moses-PBLM/bjam --with-irstlm=/home/nlp/irstlm-5.80.01'

Allen 發表在 痞客邦 留言(0) 人氣()

vi .bashrc
add 
alias  mosesCompiler='/home/nlp/mosesdecoder/bjam --with-irstlm=/home/nlp/irstlm-5.80.01'

Allen 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。