05 2016 档案

LLVM example for main
摘要:g++ inst_visitor.cpp -L/usr/local/lib -g -Wall -Wextra -std=c++14 `llvm-config --cxxflags --ldflags --libs --libfiles --system-libs all` -lLLVMSupport 阅读全文

posted @ 2016-05-30 21:45 jjtx 阅读(581) 评论(0) 推荐(0)

maxiang.io css
摘要:/**设置你自己的CSS。例如:h1 { border-bottom: 1px solid #ccc; line-height:1.6;}body { background:#FDFFD0} **/pre code, pre.prettyprint code {padding: 1.3em 0em 阅读全文

posted @ 2016-05-30 01:07 jjtx 阅读(386) 评论(0) 推荐(0)

Chrome & Linux font
摘要:1 $ sudo apt-get install texlive-full # 较大 2 $ mkdir -p ~/.fonts 3 下载这个win7字体包解压后放到~/.fonts下 4 $ sudo fc-cache -fv 5 如果需要个别字体可下载fonts这个压缩包 6 再不行就 7 $ 阅读全文

posted @ 2016-05-29 15:43 jjtx 阅读(503) 评论(0) 推荐(0)

Singleton in C++11 style
摘要:#include #include #include class SingletonOld { static std::shared_ptr handle_; static std::mutex handle_mutex_; int data_ = 0; public: static auto create() { std::lock_guard lock(h... 阅读全文

posted @ 2016-05-25 20:47 jjtx 阅读(431) 评论(0) 推荐(0)

Quickly place a window to another screen using only the keyboard
摘要:http://askubuntu.com/questions/22207/quickly-place-a-window-to-another-screen-using-only-the-keyboard Install CompizConfig Settings Manager Run it → G 阅读全文

posted @ 2016-05-10 08:24 jjtx 阅读(239) 评论(0) 推荐(0)

导航