`
zzjjzzgggg
  • 浏览: 124295 次
  • 性别: Icon_minigender_1
  • 来自: 西安
社区版块
存档分类
最新评论
文章列表

vim spell check

    博客分类:
  • vim
http://tips.webdesign10.com/vim/how-use-vims-spellchecker     If you are using Vim in the terminal, or prefer to type, you can turn on spellchecking in Vim with the command :set spell and turn off spellchecking with :set nospell.   Here are the commands you need to know: ]s — move to the ne ...

LatexMK

vim ~/.latexmkrc $pdf_previewer = "start evince %O %S" #监视源码、自动编译、实时预览 latexmk -pdf -pvc -xelatex article or: latexmk -pdf -pvc article or: non-stop mode latexmk -pdf -pvc -interaction=nonstopmode article #清理目录,只保留最终的pdf文档 latexmk -c
Failed to exec method /usr/lib/apt/methods/ E: Method  has died unexpectedly! E: Sub-process  returned an error code (100) E: Method /usr/lib/apt/methods/ did not start correctly To fix it: $ sudo rm -rf /var/lib/apt/lists/* $ sudo apt-get update

vim 替换

    博客分类:
  • vim
三、替换变量 在正规表达式中使用 \( 和 \) 符号括起正规表达式,即可在后面使用\1、\2 等变量来访问 \( 和 \) 中的内容。 使用例 /\(a\+\)[^a]\+\1 " 查找开头和结尾处a的个数相同的字符串, " 如 aabbbaa,aaacccaaa,但是不匹配 abbbaa :s/\(http:\/\/[-a-z\._~\+%\/]\+\)/<a href="\1">\1<\/a>/ " 将URL替换为<a href="http://url">http://ur ...
  如果 apt-get 出現 “subprocess installed post-installation script returned error exit status 1″ 的錯誤 dpkg: error processing util-linux (–configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: util-linux E: Sub-process /usr/bin/d ...

cite

cite宏包的说明文档说得不全,今天看了一下他的cite.sty文件,全都明白了,一些关键的东西记一下: cite宏包有好些选项,而且格式overcite等其它一些格式是一回事儿,就是间接调用的cite.sty,选项如下: [superscript] use superscrpts for cites without optional notes [super]       alias for [superscript] (like natbib) [verbose]     causes warnings for undefined cites to be repeated each ...

GDB

    博客分类:
  • C++
http://blog.csdn.net/haoel/article/details/2879   GDB概述 GDB是GNU开源组织发布的一个强大的UNIX下的程序调试工具。或许,各位比较喜欢那种图 形界面方式的,像VC、BCB等IDE的调试,但如果你是在UNIX平台下做软件,你会发现GDB这个调试工具有比VC、BCB的图形化调试器更强大的功 能。所谓“寸有所长,尺有所短”就是这个道理。 一般来说,GDB主要帮忙你完成下面四个方面的功能:     1、启动你的程序,可以按照你的自定义的要求随心所欲的运行程序。    2、可让被调试的程序在你所指定的调置的断点处停住。(断点可以是条件 ...
http://blog.zawodny.com/2011/03/06/mongodb-pre-splitting-for-faster-data-loading-and-importing/ https://groups.google.com/forum/?fromgroups=#!topic/mongodb-user/Y9E_v21plZQ   create chunks
  Substitute with ascending numbers Suppose you want to replace each occurrence of "abc" with "xyz_N" where N is an ascending number (xyz_1, xyz_2, xyz_3, and so on). One approach uses the following command: :let i=1 | g/abc/s//\='xyz_'.i/ | let i=i+1 However, this only ...
  ubuntu 12.04 LTS 已经有很好的电源节能管理,无需再使用其他节能工具。 https://wiki.ubuntu.com/Kernel/PowerManagement/

matplotlib pyqt4

http://stackoverflow.com/questions/7534453/matplotlib-does-not-show-my-drawings-although-i-call-pyplot-show http://stackoverflow.com/questions/7942887/how-to-configure-pyqt4-for-python-3-in-ubuntu

gnuplot note

http://www.cnblogs.com/aioria0622/archive/2008/09/14/1290776.html
open terminal and execute   gsettings set org.gnome.desktop.interface ubuntu-overlay-scrollbars false   then it is done.
    dpkg -l | awk '/^rc/{ print $2}' | sudo xargs dpkg --purge
I advise to recur to an installation by hand of a tex package only when such tex package is not available in an ubuntu package. Searching for it with apt-file -x search '/textcomp.sty$' I obtain the following results: texlive-latex-base: /usr/share/texmf-texlive/tex/latex/base/textcomp.sty ...
Global site tag (gtag.js) - Google Analytics