摘要:
使用iimage-mode可以在buffer里面显示图片,改了一个lisp函数来实现截屏、保存文件并插入到buffer中的功能。参考了这个: http://dreamrunner.org/wiki/public_html/Emacs/org-mode.html#sec-2-3 安装起来很简单: 安装scrot,会用这个工具来截图 创建一个文件夹 ~/.emacs.img ,截屏产生的图片会保存到这里 把下面的lisp放到emacs的配置文件中(我把截屏的快捷键绑定到了C-p上面) 1 ;;; image for org-mode 2 ; 1. suspend current em... 阅读全文
摘要:
经常需要创建一个目录进入之,于是准备使用一个命令完成: 首先编写脚本 cdm.sh CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#!/bin/bashmkdir -p $1if [ $? -eq 0 ] ; then cd $1fi ... 阅读全文
摘要:
对于以源代码方式进行发布的软件包,我们进行安装的时候一般会执行 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->./configuremakemake install 进行编译和安装,在卸载的时候需要执行 CodeCode highligh... 阅读全文
摘要:
转自 http://blog.chinaunix.net/u/19742/showart_382176.html Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#Python字符串操作'''1.复制字符串'''#strcpy(sStr1,sStr2... 阅读全文
摘要:
阅读全文 类别:默认分类 查看评论 阅读全文
摘要:
阅读全文 类别:Latex 查看评论 阅读全文
摘要:
阅读全文 类别:默认分类 查看评论 阅读全文
摘要:
阅读全文 类别:c/c++ 查看评论 阅读全文