plug过程1.INIT_PLUG#define INIT_PLUG Plug::InitPlug g_InitPlug(true);//共享内存数据结构struct PlugShareMemory{ void* pFirstHand; //第一个打开文件的句柄 I_Plug...
分类:
其他好文 时间:
2014-08-06 01:35:10
阅读次数:
196
KVM(kernel-basedvirtualmachine,内核虚拟机),是一个开源的系统虚拟化模块,自Linux2.6.20之后集成在Linux的各个主要发行版本中。它使用Linux自身的调度器进行管理,虚拟化效率高、管理简便。1)系统环境操作系统CentOSrelease6.3内核版本2.6.32-279.el6.x86_64服务器型号Del..
分类:
其他好文 时间:
2014-08-05 22:56:52
阅读次数:
520
先看一下效果图:
用如下代码,想弹出一个模态窗口,设置它的背景透明度为0.5,却发觉prsent后的背景色变为黑色的。
ShareVC *share = [[ShareVC alloc] init];
[self presentViewController:share animated:YES completion:nil];
起初还以为是设置透明度或者是[UIColor clear...
分类:
其他好文 时间:
2014-08-05 22:41:00
阅读次数:
339
#-*-coding:cp936-*-#由于现在不是很明白:事件过滤器的使用(eventFilter),先收藏着fromPyQt4importQtGui,QtCoreclassWindow(QtGui.QMainWindow):def__init__(self):QtGui.QMainWindow....
分类:
其他好文 时间:
2014-08-05 22:09:10
阅读次数:
2780
1. 发送信号 * In Unix, use "kill -3 <pid>" where pid is the Process ID of the JVM.(kill 信号列表) * In Windows, press CTRL+BREAK on the window where the JVM is running. 2. jstack -l pid.? http:/...
分类:
编程语言 时间:
2014-08-05 19:40:00
阅读次数:
300
Q:在安装setuptools时Python ez_setup.py,或者安装其他egg包,有时候会碰到: UnicodeDecodeError错误,这是为什么呢?
安装setuptools时UnicodeDecodeError错误
mimetypes.init() # try to read system mime.types
File "C:\Python27\lib\mim...
分类:
其他好文 时间:
2014-08-05 19:35:50
阅读次数:
201
今天在取android代码时,发现repo init提示以下错误:
在网上搜索了一下,在下面这个帖子到帮助下,解决了问题:
http://bbs.csdn.net/topics/390705429
该帖子中提到的解决方法有:
方法一:
出现此问题是repo版本不对的问题,具体原因可网上搜索下,据说是google 代码传错导致。我更换过repo后,问题已经解决。curl h...
分类:
其他好文 时间:
2014-08-05 19:35:10
阅读次数:
991
在Android操作系统中,将体系结构划分为4层:应用层(Application)、应用框架层(Application Framework)、系统运行库层(Library)以及Linux内核层(Linux Kernel)。
1,应用层(Application)
应用层是使用Java语言进行开发的一些应用程序,如地图软件,联系人管理,Email连接,浏览器等都属于应用层上运行的程...
分类:
移动开发 时间:
2014-08-05 19:17:20
阅读次数:
278
1.1 def func():2 return a=3#错误的用法2.1 class a:2 def func():#func至少要有一个self参数3 ...........................3.1 class a:2 def _init_(self):#__...
分类:
编程语言 时间:
2014-08-05 19:05:19
阅读次数:
230
_password = [[UITextField alloc]init]; _password.font = k18Font; _password.attributedPlaceholder = [[NSAttributedString alloc]initWithString:@" 密码...
分类:
其他好文 时间:
2014-08-05 18:45:49
阅读次数:
244