Error Message:
 
AABBCC.o: In function `XXYYZZ':
AABBCC.c:(.text+0x6e): relocation truncated to fit: R_X86_64_PC32 against symbol `XD' defined in COMMON section in DDEEFF.o

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

ls -l | grep '^d'

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

Using markers and buffers


CommandDescription

mf
set marker named ``f''


`f
go to marker ``f''


´f
go to start of line containing marker ``f''


"s12yy
copy 12 lines into buffer ``s''


"ty}
copy text from cursor to end of paragraph into buffer ``t''


"ly1G
copy text from cursor to top of file into buffer ``l''


"kd`f
cut text from cursor up to marker ``f'' into buffer ``k''


"kp
paste buffer ``k'' into text


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

ma : set a marker at cursor position
`a  : move from here to marker a
'a   : move from here to line marked a

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

diff -qr dirA dirB |grep -v -e keyword1 -e keyword2 |sort > diffs.txt
 
diff -r : recursively compare all files and files in subdirectories
diff -q : output only whether files differ

bamil 發表在 痞客邦 留言(2) 人氣()

Linux command: 
cp a tmp.txt
vi tmp.txt
 

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

顯示行數
:set number

隱藏行數

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


Press the "Escape" key to enter command mode.



Press the double-quote character (") to enable pasting from a buffer or register








Press the asterisk key (*) to select the system clipboard as the buffer from which to paste.








Press "p" to paste the text from the clipboard





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

erfc() erf() 這些 function 並沒有定義在 VS 的 cmath 中
 
使用方法:
Step 1. 下載 boost library http://www.boost.org , 解壓縮後把裡面的 boost 資料夾放在下面路徑

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

 
 
http://www.devdaily.com/linux/vi-vim-delete-line-commands-to-end

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

:g/AAAA/s//BBBB/g   
就會將全文中出現的AAAA用BBBB取代.

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

把 for (i=0; i<10; i++) 改成  for (i=0; i<10; i=i+1) 
 
錯誤太白癡了, 難怪都google不太到什麼東西... orz

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

Blog Stats
⚠️

成人內容提醒

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

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