HOME

debug with vim and gdb: Pyclewn

17 May 2013

pyclewn是vimgdb类似的工具,不同是不用想vimgdb一样给vim打补丁,它是基于python的工具,可以让vim变成变成gdb的调试前端。 安装过程: sudo su tar xzf pyclewn-1.10.py3.tar.gz cd pyclewn-1.10.py3 export EDITOR=PATH TO VIM python setup.py install --force 也可以通过 –home=PATH 来指定安装位置以及export vimdir=.vim将vim相关的插件等文件本地安装。 使用: vim test.cpp :Pyclewn 这样就开启了Pyclewn,然后Cxx的命令相当于映射到了gdb里所以 :Cfile test 这样相当与用file加载了文件(假设已经make),然后Cmapkeys可以加载所有快捷键比如Shift R运行程序,Ctrl N下一步 :Cbreak 3 :Cdbgvar i 设置一个断点,监视变量i 具体可以参考 :help Pyclewn

Read more ...

test

17 May 2013

test test

Read more ...

Cakephp overall structure

16 May 2013

cakephp在处理请求时,会首先通过目录下的.htaccess文件来rewrite请求,一遍?controller/action 这种请求可以转发到router解析,然后就是经典的mvc模式,相对于接触的其他php框架更为清晰,通过良好的convention极大的简化了编程,至于性能,可以通过cache等优化慢慢弥补。

Read more ...

Click Router Modular Installation

02 Apr 2013

Click支持的内核版本比较老

Read more ...

Jekyll Introduction

29 Dec 2011

This Jekyll introduction will outline specifically what Jekyll is and why you would want to use it. Directly following the intro we’ll learn exactly how Jekyll does what it does. Overview What is Jekyll? Jekyll is a parsing engine bundled as a ruby gem used to build static websites from dynamic components such as templates,...

Read more ...