- 博客(163)
- 资源 (11)
- 收藏
- 关注
转载 使用gdb调试多线程程序总结
References: http://hi.baidu.com/hcq11/blog/item/9f5bfc6e696209d680cb4a25.html
2012-05-11 17:17:08
1949
转载 关于gcc、glibc和binutils模块之间的关系,以及在现有系统上如何升级的总结
References: http://blog.csai.cn/user1/265/archives/2005/2465.html
2012-05-11 09:18:36
2076
转载 解读Python内存管理机制
Reference:http://developer.51cto.com/art/201007/213585.htm
2012-03-29 21:19:04
2779
原创 解决Emacs里面的Python mode下跑UnitTest的异常问题
References: http://airekans.sinaapp.com/?p=25PS: 从今天开始,博客会陆陆续续往SAE上面的博客迁移。
2012-03-26 18:20:42
2076
转载 Install driver for TP-LINK wifi card TL-WN722N on Ubuntu
Referenceshttp://blog.youkuaiyun.com/echo7l/article/details/6195617http://dwiel.net/blog/tp-link-tl-wn722n-on-ubuntu-10-04/ (***)The installation steps are specified in (2). Please note
2012-03-25 13:58:51
2801
转载 Linux中几个用来trace程序调用的工具
Referenceshttp://en.wikipedia.org/wiki/Stracehttp://en.wikipedia.org/wiki/SystemTapstrace cmd: 执行命令,并trace调用的system call和signal。ltrace cmd: 类似于strace,但是ltrace会截获library call调用(
2012-03-22 14:53:00
3978
转载 深入浅出Node.js(五):初探Node.js的异步I/O实现
References: http://www.infoq.com/cn/articles/nodejs-asynchronous-io
2012-03-22 13:32:31
1939
转载 Function Reference in Elisp/Emacs
References:http://xahlee.org/emacs/elisp.htmlhttp://stackoverflow.com/questions/559634/emacs-lisp-function-guidehttp://xahlee.org/emacs/elisp_function_eval_and_doc_lookup.html 这篇教怎么查找elisp函
2012-03-21 09:20:52
2244
转载 Coroutine in C/C++
References:http://www.crystalclearsoftware.com/soc/coroutine/ no sourcehttps://github.com/mozy/mordorhttps://github.com/okws/sfslite/wiki/tamehttp://www.chiark.greenend.org.uk/~sgtatham/cor
2012-03-15 17:45:16
3357
1
转载 C/C++ programming in Emacs
References:http://forum.ubuntu.org.cn/viewtopic.php?f=68&t=40522&sid=f64a0451bb4fb59a2172557c35fbf6d1http://www.caole.net/diary/emacs_write_cpp.htmlhttp://blog.youkuaiyun.com/meteor1113/article/de
2012-03-15 11:16:44
2207
转载 Compile Clang on Fedora15
References: http://superuser.com/questions/321380/getting-clang-to-work-on-fedora-15主要注意的是,如果你的C++版本没有32和64这些子目录,那就不要加 --with-cxx-include-32bit-dir=32这一行,因为这样会导致你的C++头文件寻找错误。这个比clang官方G
2012-03-13 09:45:14
1746
转载 Shell小技巧
原文链接:http://www.cnblogs.com/weidagang2046/archive/2011/04/05/2005731.html1. 用&& ||简化if elsegzip -t a.tar.gz if [[ 0 == $? ]]; then echo "good zip" else echo "bad zip" fi
2012-03-13 08:58:21
2050
原创 在Cygwin terminal中使用Windows Python
References: http://duhctaep.blogspot.com/2011/01/windows-python-in-cygwin.html
2012-03-12 13:10:27
3250
转载 Install IPython on Windows
References: http://liangwenxiao.iteye.com/blog/892016http://pyvideo.org/video/605/ipython-in-depth-high-productivity-interactive-a IPython的介绍视频,需要翻墙。因为我电脑上安装的是Python 2.5,而IPython是0.10系
2012-03-08 15:09:38
2144
原创 C++ 11几个值得注意的特性 —— 从Techparty新语言回来有感(1)
Referenceshttp://www.slideshare.net/Xorcerer/c11-11742077http://blog.youkuaiyun.com/zwvista/article/details/5450759 变长参数解析http://www.cnblogs.com/hujian/archive/2012/02/14/2350306.html lambda解析
2012-03-01 23:17:20
2107
转载 C++ 11中的右值引用
References:http://thbecker.net/articles/rvalue_references/section_01.html 看过的最好的一篇讲解Rvalue refenrence的文章。http://blog.youkuaiyun.com/csdnji/article/details/169200http://www.cnblogs.com/hujian/archi
2012-03-01 16:28:10
1897
转载 C#中的异步编程模型(APM)
asynchronous programming model(APM),在google上面找了一下,貌似暂时只有C#有实现,不知道是不是C#首创?APM也就是老赵最近一直在说的Jscex和C# 5.0背后的原理了。在C# 5.0里面新增的async和await关键字主要就是实现了这个模型里面的模式。References:http://www.codeproject.com/Ar
2012-02-28 11:01:15
2119
原创 Temporary Variable in C++
#include "TestTempVar.h"#include using namespace std;namespace { struct TempClass { TempClass() : privateCount(count) { ++count; cout << "TempClass " << privateCount <<" ctor" << endl; } ~
2012-02-23 11:47:07
1808
转载 两个用于谷歌输入法的颜文字拓展
References:http://www.douban.com/note/70879070/https://sites.google.com/site/moses/Home/downloads/smiley.lua (需要翻墙)
2012-02-22 12:20:22
2947
原创 A macro for looping map
References: http://herbert.the-little-red-haired-girl.org/html/gcc/cpp_1.htmlhttp://stackoverflow.com/questions/1597007/creating-c-macro-with-and-line-token-concatenation-with-positioning-macr
2012-02-21 19:09:19
656
转载 Some interesting Softwares
http://gearman.org/ : 类似于RPC的中间件http://twitter.github.com/finagle/ 也是RPChttp://func.et.redhat.com/ : 一个SSH的替代品。
2012-02-17 12:21:30
480
原创 在Python中模拟C中的?:运算符
References: http://www.secnetix.de/olli/Python/tricks.hawk#trinary首先我们需要在Python里面用一个语句达到下面的效果:if a: return belse: return cList Version用List,我们可以这么表示:[c, b][bool(a)]这个是什么意思呢?
2012-02-08 18:38:33
641
转载 GTK+主循环(main loop)的工作原理
References: http://blog.youkuaiyun.com/absurd作者联系方式:Li XianJing 更新时间:2007-3-17
2012-02-03 09:20:12
567
转载 一年成为Emacs高手(像神一样使用编辑器)
References: http://blog.youkuaiyun.com/redguardtoo/article/details/7222501
2012-02-02 12:21:44
660
转载 About 异步编程
References: http://krondo.com/?p=1209http://en.wikipedia.org/wiki/Asynchronous_I/O 异步IOReactor Pattern在Twisted中3个关键的概念:TransportsThe Transport abstr
2012-02-01 21:38:31
413
转载 C++ Template and Inheritance
References: http://www.hackcraft.net/cpp/templateInheritance/
2012-01-19 10:00:54
702
转载 How Browsers Work
References: http://www.html5rocks.com/en/tutorials/internals/howbrowserswork/少少读书笔记。最重要的一个结构图如下:其中提到了Chrome的特别之处,Chrome对于每个tab都是一个process,而每个Process都有一个Rendering engine。其中最关键
2012-01-16 15:52:28
436
原创 深圳NodeParty 2012-01-08小记
应该是第一次参加这种纯技术性的Party,技术气氛很浓。废话不多说,用图说事!!这个是来自淘宝的一个很牛的工程师,现在是在解释node.js的基本内容和阐述了一下淘宝的数据产品中有哪些是用node.js来做的。可以看到glider和MyFox现在都已经用node.js来替换了。现在淘宝貌似是打算用node.js来作为中间层的统一标准。这位工程师昨晚还为一个node.js的has
2012-01-09 09:19:49
1067
原创 STL中的list::sort算法解析
References《STL源码剖析》http://www.ecjtu.org/thread-30140-1-1.html《算法导论》http://blog.yangzhe1991.org/2011/01/stl-sort%E6%BA%90%E7%A0%81%E5%89%96%E6%9E%90/ : sort解析,使用的是RandomAccessIterator。
2011-12-30 08:52:59
818
原创 C++中的函数重载(overloading)
Reference:《C++ Primer. 4th ed》What's overloading?函数的重载也就是用一个函数名代表多个不同的函数。这些不同的函数之间需要用不同的参数列表来区分。单单是返回值类型的不同不能够构成重载,而只是一个编译错误。而如果两个函数声明完全一样的话,则称为Redeclaration(重声明)。所以Record lookup(const
2011-12-28 13:37:16
1104
转载 Concepts in Programming Languages
References: http://www.cl.cam.ac.uk/teaching/1011/ConceptsPL/
2011-12-27 14:10:10
578
转载 C++中什么成员函数可以称之为Trivial
References: http://stackoverflow.com/questions/3899223/what-is-a-non-trivial-constructor-in-c
2011-12-23 09:38:21
432
原创 STL学习笔记:Iterator和Traits编程技巧
References:《STL源码剖析》Overview在STL中,在访问容器的元素的时候,一般我们会用Iterator来访问。使用Iterator访问,可以使得函数或者算法本身独立于容器本身的类型,也就是做到某种程度上的泛型。而在STL中,原生指针本身也是一种iterator,那么对于泛型函数的设计就会带来复杂度,比如在定义一个针对iterator的swap函数的时候
2011-12-22 12:16:56
798
转载 Windows下截获程序的异常并进行处理
References:http://win32assembly.online.fr/tut28.htmlhttp://stackoverflow.com/questions/78048/best-way-to-detect-an-application-crash-and-restart-it一般情况下,如果Windows下面的程序蹦了,那么Windows会跳出一个er
2011-12-20 17:53:08
753
转载 在Fedora 15下安装Oracle Java JDK以及对于alternatives的一些感受
References: http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux首先安装了Oracle JAVA,然后就是让firefox能够跑这个新装的java和javaws,最后是通过alternatives这套环境管理套件完成的。在使用过程中,用alternatives对于刚刚上手的时候可能有点不适应,但是在完成整个流程
2011-12-17 14:40:54
558
Structure and Interpretation of Computer Programs
2010-07-14
Win32汇编的扫雷(不完全版本)
2009-10-05
16位MASM汇编的压缩程序(字典和霍夫曼两种算法)
2009-10-05
Linux下NASM的通用函数库Along32库V1.0(已过时)
2009-05-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人