今天启动virtualbox,竟然报错, 并提示运行/etc/init.d/vboxdrv setup , 但运行完了报错: * Stopping VirtualBox kernel modules [ OK ] * Uninstalling old VirtualBox DKMS kernel ....
分类:
其他好文 时间:
2014-07-07 00:45:27
阅读次数:
251
//设置PEM证书,pfx证书转pem方法:openssl pkcs12 -in 2000000501.pfx -out 2000000501.pem$cacert = ROOT_DIR."config/paykey/weixinss.pem";$ch = curl_init();curl_set....
分类:
Web程序 时间:
2014-07-03 21:19:52
阅读次数:
210
文章转自:http://www.2cto.com/os/201104/86881.html以下是网上的方法,我用的是第一种方法,经测试有效。方法一:# /etc/init.d/mysql stop# mysqld_safe --user=mysql --skip-grant-tables --ski...
分类:
系统相关 时间:
2014-07-03 20:14:44
阅读次数:
272
错误信息:
When I ran Hardware Event-based Sampling Analysis 0, it showed the ERROR:
Collection failed
Collection failed. The data cannot be displayed.
PMU resource(s) currently being used by...
分类:
其他好文 时间:
2014-07-03 17:12:20
阅读次数:
338
完整错误信息:Description Resource Path Location TypeType mismatch: cannot convert from Enumeration to Enumeration ResponseHeaderFilter.java /dwz-java/src/dwz/common/util line 46 Java Problem解决办法:...
分类:
其他好文 时间:
2014-07-03 16:22:55
阅读次数:
435
一、安装1、master安装yuminstallsalt-master
vi/etc/salt/master
interface:192.168.55.1
/etc/init.d/salt-masterstart2、minion安装yuminstallsalt-minion
vi/etc/salt/minion
master:192.168.55.1
id:192.168.5.31
/etc/init.d/salt-minionstart配置文件interface、master..
分类:
其他好文 时间:
2014-07-03 14:59:29
阅读次数:
312
php可以扮演资料的发送者。简单的get$ch=curl_init();
curl_setopt($ch,CURLOPT_URL,"http://SomeDomain/SamplePath?SomeVar=test");
curl_exec($ch);
curl_close($ch);2.简单的post$ch=curl_init();
curl_setopt($ch,CURLOPT_URL,"http://SomeDomain/SamplePath");
curl_setop..
分类:
Web程序 时间:
2014-07-03 14:14:49
阅读次数:
200
异步请求[NSURLConnectionsendAsynchronousRequest:requestqueue:[[NSOperationQueuealloc]init]completionHandler:^(NSURLResponse*response,NSData*data,NSError*connectionError){//可以看data里的值NSLog(@"data=%@",[[NSStringalloc]initWithData:dataencoding:4]);}];异..
分类:
其他好文 时间:
2014-07-03 14:08:59
阅读次数:
138
理解了Trie树然后就能1A 其实估计这个题随便做做就能A掉,可能不需要高级数据。
先贴吉林大学的代码模板
/*==================================================*| Trie树(k叉)
| INIT: init();
| 注: tree[i][tk]>0时表示单词存在, 当然也可赋予它更多含义;
\*=================...
分类:
其他好文 时间:
2014-07-03 13:42:21
阅读次数:
201
BLE 的链路层,主要有一个或多个状态机构成,状态机有5中状态,分别是 standby(待机), advertise(广播), scan(扫描), init(初始化),connect(连接).1.链路层上层是BLE 的Host 端(主机端), 下层是物理层(调制解调,RF等)。2.从空中的通道来看,...
分类:
其他好文 时间:
2014-07-03 13:01:42
阅读次数:
259