摘要: ############################ Vimium Options Settings ############################# @Author: Gnat# @Date: Jan 11, 2014# @Purpose: [make Vimium better]# ......... |even you prefer vim or emacs,# ......... |have a look, take some time,# ......... |you'll find the joy. #########################... 阅读全文
posted @ 2014-01-11 10:43 gnat 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 之前写东西,做笔记喜欢用纯文本,用Tab来indent,效果不好;各种记事本对Tab显示的方式还不一样。用空格,则太费事。我想,还是等宽字体好,看着不自然,但是舒服,格式上也好控制。直到博客园支持Markdown,我才留意到这东西,以前也在网上查到过,但是**当你自己没准备好的时候,哪怕是好的东西你也未必理解认同**,所以我们总是**突然**发现一样特别牛逼的东西,兴奋的要跟人分享,**其实**以前见过,只是那是的你还对此不以为然。又废话了,我只是想说,[Aaron Swartz](http://baike.baidu.com/link?url=CPPaP24V0q4Dy426vnScg3qw 阅读全文
posted @ 2014-02-06 15:03 gnat 阅读(2235) 评论(3) 推荐(1) 编辑
摘要: # I'm testing Markdown...##Refs:1. [Linux Shell Scripting Cookbook(2nd Edition)](http://book.douban.com/subject/24669816/)##Table of Contents:* Preface * Chapter 1: Shell Something Out* Chapter 2: Have a Good Command* Chapter 3: File In, File Out##说明> 本文为书摘,例子多为在原书基础上的修改,为了让篇幅不太庞大,例子尽量缩为一行,使书 阅读全文
posted @ 2014-02-03 21:59 gnat 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-02-02 14:08 gnat 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 这个切白边神器也太夸张了。。。超乎想像e.g.pdfcrop batch_convert.pdf after.pfd 阅读全文
posted @ 2014-01-31 11:32 gnat 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 每次老师的课件发下来的都是PPT格式的slides,但我更喜欢pdf,打开迅速,看起来也方便,所以之前都是一有课件就一个个打开,然后保存成/导出pdf格式,累!!!查了下,有一些快速的方法,这下可方便了Refs: 1.How can I convert a ppt to a pdf from the command line?Method1:libreoffice --headless --invisible --convert-to pdf *.ppt(by the way, 在Console里复制可以用Control_Shift_C)这个方法可以把当前文件夹下的所有ppt文件都转换成同名. 阅读全文
posted @ 2014-01-31 11:04 gnat 阅读(1152) 评论(1) 推荐(0) 编辑
摘要: Refs: 1. fatduck's blog: http://wiki.fatduck.org/networking/bridge-using-proxy-arp 2. Ipforwarding on [ask ubuntu]: http://askubuntu.com/questions/95199/two-network-cards-and-ip-forwarding 3. Ubuntu Help Wiki: router http://wiki.fatduck.org/networking/bridge-using-proxy-arp##############... 阅读全文
posted @ 2014-01-30 17:15 gnat 阅读(131) 评论(0) 推荐(0) 编辑
摘要: "What if you could sit down with some of the most talented security engineers in the world and ask any network security question you wanted? "Security Power Tools" lets you do exactly that! " 阅读全文
posted @ 2014-01-30 09:19 gnat 阅读(473) 评论(0) 推荐(0) 编辑
摘要: Refs: 1.http://blog.csdn.net/jinzhuojun/article/details/8604335 2.《自己动手写操作系统》Steps: 1. Download bochs source file from sourceforge 2.apt-get install libsdl1.2-dev apt-get build-dep bochs 3. cd , and then./configure --with-sdl --enable-debugger \ --enable-disasm --enable-all-optimizations \--ena... 阅读全文
posted @ 2014-01-26 10:25 gnat 阅读(271) 评论(0) 推荐(0) 编辑
摘要: Latex在Linux上早就配置好了,但是不知道怎么弄中文。有的参考书,都是在Windows下配置Ctex,所以只能跟着先学,折腾了很久才把CTex装好,真想骂娘了。。。然后第一个中文tex文件:\documentclass{book}\usepackage{amsmath, ctex}\begin{document}\[a^2 = b^2 + c ^3\]你好,他妈的终于出来中文了。\\不能再爱了。。。。\\伤不起\\\end{document}还是上张截图吧,纪念。(其实我特别讨厌博客里都是图片,浪费人家流量,网速)用的是Windows Server 2012,微软dream spark的 阅读全文
posted @ 2014-01-13 19:19 gnat 阅读(273) 评论(0) 推荐(0) 编辑