刚好安装了pycharm,打算用这个ide来开发python,所以新建了一个django的工程,但是提示django的第三方库安装失败。真坑爹啊。 Exception:
Traceback?(most?recent?call?last):
??File?"C:\Python27\lib\...
分类:
其他好文 时间:
2014-09-09 16:25:29
阅读次数:
285
以下文章来自iteye,作者是sdcyst ,个人主页http://www.iteye.com/topic/288813类变量/类方法/实例变量/实例方法先补充一下以前写过的方法:在javascript中,所有的方法都有一个call方法和apply方法.这两个方法可以模拟对象调用方法.它的第一个参数...
分类:
编程语言 时间:
2014-09-09 15:16:38
阅读次数:
336
First what I wanna make clear is that in the official website the detailed process of installation has been described. you could call it throught the link
http://docs.mongodb.org/manual/tutorial/ins...
分类:
数据库 时间:
2014-09-09 12:52:38
阅读次数:
219
二、应用实例解析
2.1 subprocess模块的使用
1. subprocess.call
>>> subprocess.call(["ls", "-l"])
0
>>> subprocess.call("exit 1", shell=True)
1
2. 调用系统中cmd命令,显示命令执行的结果:
x=subprocess.check_outpu...
分类:
编程语言 时间:
2014-09-09 12:36:58
阅读次数:
309
OpenStack nova compute supports two flavors of Virtual Machine (VM) migration:Cold migration -- migration of a VM which requires the VM to be powered ...
分类:
其他好文 时间:
2014-09-09 11:35:18
阅读次数:
343
Description
A number that will be the same when it is written forwards or backwards is known as a palindromic number. For example, 1234321 is a palindromic number.
We call a number generalized p...
分类:
其他好文 时间:
2014-09-07 22:31:15
阅读次数:
241
OllyDbg 使用笔记 (十六)
参考
书:《加密与解密》
视频:小甲鱼 解密系列 视频
此程序运行进行后有一个nag窗口,可以从这个nag窗口人手,用Resource Hacker这个软件查找这个nag的hInstance
可以知道这个nag窗口的hInstance为100(十进制),把程序加载到OD,搜索push 0x64
再所有push 0x64上下断点。运行程序,找到是产生nag窗口的那个call。删除其它断点。观察这个call 的前面的代码,可以发 je ...
分类:
数据库 时间:
2014-09-06 18:45:03
阅读次数:
398
首先,定义如下类A:
class A
{
private:
static int val_s;
public:
static int getVal(){cout << "call getVal in A..." << endl;return val_s;}
};
我们可以看到,上述类的定义中包含静态成员变量val_s 和静态成员函数getVal() ,对于静态的成员变量,一般...
分类:
编程语言 时间:
2014-09-06 12:29:23
阅读次数:
251
//数组功能扩展
Array.prototype.each=function(fn){
fn=fn||Function.K;
vara=[];
varargs=Array.prototype.slice.call(arguments,1);
for(vari=0;i<this.length;i++){
varres=fn.apply(this,[this[i],i].concat(args));
if(res!=null)a.push(res);
}
returna;
};
//数组是..
分类:
其他好文 时间:
2014-09-05 18:31:42
阅读次数:
260