Monthly Archives: May 2010

emacs配置

;;emacs的配置文件是~/.emacs ;;.emacs config file ;; ;; ;;add additional path where load-file find files (add-to-list ‘load-path (expand-file-name "~/.emacs.d")) (custom-set-variables   ;; custom-set-variables was added by Custom.   ;; If you edit it by hand, you could mess it up, so be careful.   ;; … Continue reading

Posted in Computers and Internet | Leave a comment

emacs FAQ

1)在shell模式时,使用ls –color会出现ASCII字符来替代颜色,在.emacs中添加下面的语句使内容还是以颜色方式显示 ;; shell-mode(defun shell ()  (interactive)  (ansi-term "/bin/zsh"))

Posted in Computers and Internet | Leave a comment

GPG(3)

Key Management In This Section  Key Generation     A Note on Key Types      & Subkeys Importing Keys     Migrating Keys from PGP Exporting Public Keys Exporting Secret Keys     Exporting Secret Keys     for Other Platforms Listing Public Keys Listing Secret Keys Editing Keys Signing Keys Listing … Continue reading

Posted in Computers and Internet | Leave a comment

GPG(2)

Signing / Verifying In This Section  Signing Clearsigning Detached Signatures Verifying Signed & Clearsigned Files Verifying Detached Signatures Understanding Signatures & Trust Return to Table of Contents Signing (gpg [–options] –sign file) You can sign files with the –sign command. GPG will prompt you … Continue reading

Posted in Computers and Internet | Leave a comment

GPG(1)

GnuPG Commands – Examples 内容列表     加密/解密     加密 对称加密 解密 “给自己解密”   Signing/Verifying   Signing Clearsigning Detached Signatures Verifying Signed & Clearsigned Files Verifying Detached Signatures Understanding Signatures & Trust   Combining Commands   Encrypt & Sign … Continue reading

Posted in Computers and Internet | Leave a comment

scite配置

SciTE是一款功能强大的文本编辑软件,也可以用户代码编辑,类似与ultraedit和notepad++,SciTE在linux下直接有安装包,而且由于其图形界面是基于gtk+的,所以速度也比较快 SciTE的用户配置文件是~/.SciTEUser.properties 目前我是基于/usr/share/scite/SciTEGlobal.properties文件改过来的,只修改了一些简单参数,具体详细的参数可以网上搜一下。 # Global initialisation file for SciTE # For Linux, place in $prefix/share/scite # For Windows, place in same directory as SciTE.EXE (or Sc1.EXE) # Documentation at http://www.scintilla.org/SciTEDoc.html # Globals # Window sizes and visibility if PLAT_WIN position.left=0 … Continue reading

Posted in Computers and Internet | Leave a comment