这两天我一直想给octopress加入评论功能。于是我尝试搜索“disqus octopress jekyll”这样的关键字,但是没有找到具体的做法。后来我想到:可以查看一个具有评论功能的github octopress实例代码,看看别人是怎么做的,比如这个。
在Ubuntu 10.04下休眠后遇到“网络已禁用”问题的解决方法
install node.js and npm on Ubuntu 10.04
This article referred the following articles:
Installing node.js on ubuntu 10.04 “Installing node.js on ubuntu 10.04”
Installing Node.js and NPM on Ubuntu 10.04 and try a simple chat application
使用linux命令统计代码内容
1 | find . -name "*.java" | xargs wc -l # 统计java代码行数 |
全同态加密算法(Fully Homomorphic Encryption)
From here:
vim graphical cheat sheet
我以前一直想自己做一个vim shortcut cheat sheet。今天我忽然想到,这东西肯定已经有别人现成做好的了。于是我用Google搜了下“vi cheat sheet”相关的图片,果然可以找到,而且做得很精美。链接来自这里,图片如下:
"CodeIgniter autoload database" gets blank page error
今天在使用CodeIgniter的时候发现,当我在autoload.php里面设置了自动加载database模块之后,访问所有controller都将得到一个空白页面。
What is headless Java?
hashlib in Python
今天我又仔细看了看”CSDN泄密用户数据“里面的信息,忽然想知道在python里面如何对字符串做hash操作,就查到了这篇文章,按照里面的代码,稍作修改[1]如下即可: