Skip to content

Instantly share code, notes, and snippets.

View errord's full-sized avatar
🎯
Focusing

error.d errord

🎯
Focusing
View GitHub Profile
@errord
errord / gist:fdbd07f5464580e6797b
Created June 6, 2014 03:07
使用auto-complete-mode
使用auto-complete-mode
1 下载auto-complete完整源码
大多数情况下,我还是推荐使用源码库中的最新版本,这样可以避免很多奇怪的问题。所以这里列出了使用auto-complete-mode所涉及的一些源码库:
auto-complete-mode 主源码库
https://github.com/m2ym/auto-complete.git
popup功能库
https://github.com/m2ym/popup-el.git
使用fuzzy模式匹配
https://github.com/m2ym/fuzzy-el.git
增强列表模式
@errord
errord / gist:fb50defb574c13b810ef
Created June 7, 2014 01:45
scala-development-environment-emacs-sbt-ensime
http://jawher.net/2011/01/17/scala-development-environment-emacs-sbt-ensime/
xvfb 这个工具相当于一个wrapper, 给应用程序提供虚拟的 X server
@errord
errord / gist:f766cbf401e760e7ea44
Created August 18, 2014 05:49
linxu下使用xvfb虚拟设备进行截图
这2种方法经测试都已经通过。
服务器版本是:ceontos5.4 64位系统。
一、Xvfb + html2image
yum install Xvfb
yum install xorg-x11-fonts*
wget http://www.ys250.com/src/html2image.x86_64.tar.gz
#wget http://www.ys250.com/src/html2image.i386.tar.gz
mv html2image /usr/local/
@errord
errord / gist:7ff55e71b48fcd525ccb
Created August 18, 2014 07:43
linear regression with pylab
http://www.wired.com/2011/01/linear-regression-with-pylab/