- Feb 13 Sat 2016 14:42
-
c# Get Path
- Feb 12 Fri 2016 20:06
-
Enum.parse
enum color { red, blue, green };
enum bdc { yellow, black , blue };
public Form1()
{
InitializeComponent();
enum bdc { yellow, black , blue };
public Form1()
{
InitializeComponent();
- Jun 24 Wed 2015 02:13
-
sort 分隔符
- Jun 22 Mon 2015 04:11
-
shell script create temp file
use command : mktemp
this command can create a temp file for you ,then delete after the program end.
this command can create a temp file for you ,then delete after the program end.
- Jun 09 Tue 2015 23:52
-
git config set
git config --global user.email "$mail"
git congit --global user.name "$name"
git remote add $git server:$projectName
git congit --global user.name "$name"
git remote add $git server:$projectName
- Jun 09 Tue 2015 17:26
-
add new project to GIT

若要新增progect ,
方法一 : 1. 可以直接在"管理機器"上 , 編輯gitosis-admin/gitosis.conf , 新增project 資料 , 如下
2. 設定好權限之後,到 擁有clone權限的電腦上,clone project ,就會clone 下個empty repo.接下來正常編輯即可.
- Jun 05 Fri 2015 16:32
-
ubuntu 安裝 sourceInSight
- Jun 03 Wed 2015 23:51
-
打造vim for c/c++
https://github.com/yangyangwithgnu/use_vim_as_ide/blob/master/README.md#0.1
- Jun 03 Wed 2015 23:48
-
ubuntu mount samba server
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
參數:
-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
- Apr 29 Wed 2015 03:18
-
moses compiler alias
user : nlp
vi ~/.bashrc
add
alias mosesP='/home/nlp/moses-PBLM/bjam --with-irstlm=/home/nlp/irstlm-5.80.01'
vi ~/.bashrc
add
alias mosesP='/home/nlp/moses-PBLM/bjam --with-irstlm=/home/nlp/irstlm-5.80.01'
- Apr 14 Tue 2015 01:05
-
alias mose compiler
vi .bashrc
add
alias mosesCompiler='/home/nlp/mosesdecoder/bjam --with-irstlm=/home/nlp/irstlm-5.80.01'
add
alias mosesCompiler='/home/nlp/mosesdecoder/bjam --with-irstlm=/home/nlp/irstlm-5.80.01'