- 博客(9)
- 资源 (25)
- 收藏
- 关注
原创 Python Metaclass
Metaclass is class whichcreates other class (its instance is other class)Whenexecuting a class definition, the interpreter has to know the correct metaclass to use. It will lookfor a class attribute n
2013-06-28 15:15:45 836
原创 Python decorator
1) DefinitionDecorator is actually a function, or more strictly is a callable. It acts like the "decorator" design pattern in a sense.2) How to define a decorator and how to call the decora
2013-06-27 23:22:25 829
原创 Python descriptor
1) DefinitionAny new style class that implements at least one of those method is called a descriptor: __get__(self, object, type=None) -> value, __set__(self, obj, value) -> None, __delete__(self, o
2013-06-26 17:12:24 1242
原创 Python type and object relationship
1) Everything is object in Python, even types (what the hell, how can this happen ? See below bullet points)2) "class" and "type" are the same thing, they are "type objects". "Type objects" can be s
2013-06-25 12:15:17 1849 1
原创 The problematic NULLs
(1) The base principalanything OP NULL => NULLNULL OP anything => NULLNULL doesn't equal anything including NULL NULL = NULL => NULLNULL NULLNULL IS NULL => trueNULL IS NOT NULL => fal
2013-06-17 22:37:03 651
原创 free - Linux tools 2 of n
"free" is used to check the system's memory information.Let's understand its output.sysadmin@ubuntu:~$ free total used free shared buffers
2013-06-15 22:08:53 620
转载 /proc/meminfo
How To Analyse Output Of /proc/meminfo | Linux The /proc filesystem is pseudo filesystem. It does not exist on a disk. Instead, the kernel creates it in memory. It is used to provide in
2013-06-15 21:32:18 1456
原创 top - Linux tools 1 of n
(1) The command linetop -hv|-bcHisS -d delay -n limit -u|U user -p pid -w [cols]# dump top to a text file (-b batch mode)top -b -n 1 > top.txt # use command line instead of command name (-
2013-06-15 12:59:56 939
原创 Linux perf monitor tools
1 - top --> CPU usage, memory usage, swap memory, Cache, Buffer Size, PID process user commands.2 - vmstat -> Virtual Memory Statistics3 - lsof -> open files list4 - tcpdump-i eth0 -> Packet Ana
2013-06-11 09:37:17 1182
MPEG-4 ISO 标准 ISO/IEC14496-3 part3
2009-02-26
MPEG-4 ISO 标准 ISO/IEC14496-3 part2
2009-02-26
MPEG-4 ISO 标准 ISO/IEC14496-3 part1
2009-02-26
MPEG-4 ISO 标准 ISO/IEC14496-1 2004 third edition
2009-02-26
the c++ Standard library C++标准程序库—自修教程与参考手册.part4.rar(中文版)
2007-10-12
the c++ Standard library C++标准程序库—自修教程与参考手册.part3.rar(中文版)
2007-10-11
the c++ Standard library C++标准程序库—自修教程与参考手册.part2.rar(中文版)
2007-10-11
the c++ Standard library C++标准程序库—自修教程与参考手册.part1.rar(中文版)
2007-10-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人