Aiur – ZelluX 的技术博客

Security, Kernel, Virtualization, Programming Languages

利用HTTPS代理访问GitHub

without comments

网上找了不少设置方法,终于翻出来一个可行的,和大家分享下。

阅读全文

Written by zellux

May 14th, 2010 at 11:46 am

Posted in Tools

Tagged with ,

跨站脚本攻击和BluePrint

without comments

Blueprint: Robust prevention of cross-site scripting attacks for existing browsers

这篇论文提出了一种防范是跨站脚本攻击(XSS)的新的方法,发在IEEE S&P 2009上,作者是UIUC的Mike Ter Louw。

阅读全文

Written by zellux

March 3rd, 2010 at 11:47 pm

Posted in Computer System

Tagged with , , ,

记录GNU screen中的历史命令

without comments

GNU screen中执行的历史命令保存在内存中,默认情况下并不会像在bash中直接执行的命令一样保存在.bash_history中,这在某些场合下带来了一定的不便。

阅读全文

Written by zellux

March 1st, 2010 at 12:14 am

Posted in Tools

Tagged with , ,

因为1个异常导入190个包

without comments

Ubuntu Apport系统中的一个bug导致了Python发生异常的时侯会额外的import 190个包。

阅读全文

Written by zellux

February 27th, 2010 at 12:32 am

Posted in Programming

Tagged with ,

SICP里提到的画图语言

without comments

使用PLT Scheme中的sicp.plt包实现SICP上的图形程序

阅读全文

Written by zellux

February 24th, 2010 at 8:15 pm

Posted in Programming

Tagged with , ,

优化gitk的字体显示

with 3 comments

gitk是用Tcl/Tk写的工具,默认使用Tk 8.4,不支持抗锯齿,因此字体显示很难看。好在Tk 8.5支持了部分抗锯齿字体,修改gitk使用Tk 8.5后显示效果会好一点。

阅读全文

Written by zellux

February 14th, 2010 at 7:08 pm

Posted in Tools

Tagged with ,

WPtouch

without comments

这是一个让wordpress对移动设备更友好的插件,下载地址在http://wordpress.org/extend/plugins/wptouch/,当然也可以在wordpress后台查找wptouch并安装。

阅读全文

Written by zellux

February 13th, 2010 at 1:52 pm

Posted in Tools

Tagged with ,

Linear Page Table: 更方便地访问页表

with one comment

Linear page table又叫virtual page table,是一种方便虚拟机监控器(VMM)/操作系统(OS)/应用程序访问页表的技巧。Xen、64位Linux内核、JOS操作系统中都用到了这种技巧。这里以x86_32的虚拟内存管理为例,简单介绍一下它的实现和使用,如有错误敬请指出。

阅读全文

Written by zellux

February 9th, 2010 at 2:33 pm

gcc中设置特定代码块的优化级别

with 2 comments

gcc 4.4的特性Function Specific Option Pragmas,在特定代码前保存当前的编译选项,然后对特定的代码使用O0优化级别,最后再恢复之前保存的编译选项。

阅读全文

Written by zellux

February 8th, 2010 at 10:16 pm

Posted in Programming

Tagged with ,

ecb和cscope的结合使用

without comments

前几天试用了下ECB,非常喜欢它的定义列表和文件浏览历史的功能。但是却发现了另外一个问题:使用ECB之前我把整个窗口分成左右两块,左边是代码,右边是cscope的查找结果,现在开启ECB之后就不能再切一块窗口给cscope用了。

阅读全文

Written by zellux

February 7th, 2010 at 11:30 pm

Posted in Tools

Tagged with , ,

FireStats icon Powered by FireStatsBetter Tag Cloud