随笔分类 - Linux
摘要:> cmake -DPYTHON_LIBRARY=/opt/anaconda/lib/libpython2.7.so -DPYTHON_INCLUDE_DIR=/opt/anaconda/include/python2.7 -DCMAKE_BUILD_TYPE=RELEASE -DWITH_CUDA...
阅读全文
摘要:> cvt 1920 1080 # Get the correct settings for the new mode> # Output for me: "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 ...
阅读全文
摘要:> sudo apt-get install python-opencv> cp /usr/lib/python2.7/dist-packages/cv2.so /opt/anaconda/lib/python2.7/site-packages/or > conda install -c https...
阅读全文
摘要:> nm -D [file]|grep -w Uor> objdump -T [file]|grep "\*UND\*"
阅读全文
摘要:remove files after pack:> tar --remove-files -cf all.tar *compression:- `-j`: bzip2- `-z`: gzipadd file to existed tarball: `-r`> tar -rf existed.tar ...
阅读全文
摘要:list only directories:> ls -d /path/to/*/
阅读全文
摘要:internal variable of separator: `IFS`
阅读全文
摘要:Use locate to find folder:> locate -r '/foo$'
阅读全文
摘要:Ref: [Bash Shortcuts For Maximum Productivity](http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/)
阅读全文
摘要:错误:>npm ERR! at Object.parse (native)npm ERR! at Packer.readRules (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js:174...
阅读全文
摘要:Super=Win键.## Rererence:1. [What are Unity's keyboard and mouse shortcuts?](http://askubuntu.com/questions/28086/what-are-unitys-keyboard-and-mouse-sh...
阅读全文
摘要:## Install> dpkg --install, -i [deb]> apt-get install [package]> aptitude install [package]## Remove> dpkg --remove, -r [package]> dpkg --purge, -P [p...
阅读全文
摘要:## Show current machine architecture> dpkg --print-architectureIt's built-in to the currently installed `dpkg` package.## Usageuse 'package:architectu...
阅读全文
摘要:Download from [搜狗输入法 for Linux](http://pinyin.sogou.com/linux/)> sudo dpkg -i sogoupinyin_1.2.0.0042_amd64.debSet input method in `Fcitx`, - Add inpu...
阅读全文
摘要:## apt-getUse `apt-get` with the "--print-uris" option to do it. I also add "-qq" so it would be quiet.### Create script:> sudo apt-get >> --print-uri...
阅读全文
摘要:# Visual demostration![relationship2](http://algebraicthu...
阅读全文
浙公网安备 33010602011771号