Connect("localhost", "root", "", "php100")or die("错误");$db->Execute("set names 'UTF8'");$query=$db->execute("select * from `php100`");while($row=$quer...
分类:
数据库 时间:
2014-06-28 13:59:08
阅读次数:
294
在使用ubuntu64位(14.04)时,下载来一个adt-bundle-linux-x86_64-20131030.zip,但是运行时报错:Android:Gradle:ExecutionfailedfortaskCannotrunprogramandroid-studio/sdk/build-t...
分类:
移动开发 时间:
2014-06-23 08:08:09
阅读次数:
329
想做一个类同蘑菇街网站的扫二维码登录的功能,但是找翻了公开有API文档没有找到相应的说明。是要申请特别的权限或接口吗? 请高人指教。看下面的地址发现是腾讯的地址,但是查不到任何的API,自已偿试也是没有权限。https://open.weixin.qq.com/connect/qrconnect?a...
分类:
Web程序 时间:
2014-06-23 00:48:06
阅读次数:
2862
执行网络I/O,一个进程必须做的第一件事就是调用socket函数,指定期望的通信协议类型。
#include
int socket(int family, int type, int protocol);
/*返回值:若成功则为非负描述符,若出错则为-1*/
socket函数成功时返回一个小的非负整数值,它与文件描述符类似,把它称为套接字描述符,简称sockfd。family参数指明协议...
分类:
其他好文 时间:
2014-06-22 15:40:10
阅读次数:
301
1,su - db2inst2,db2 connect to ids3,db2stop force4,db2 list db directory5,db2 list tables for all6,db2 describe table tablename7,db2 "restore db JVC f...
分类:
其他好文 时间:
2014-06-21 09:29:14
阅读次数:
247
* 常见流程分析之一(Tcp异步连接)我们用一个简单的demo分析Tcp异步连接的流程: 1 #include 2 #include 3 4 // 异步连接回调函数 5 void on_connect(boost::system::error_code ec) 6 { 7 if (ec...
分类:
其他好文 时间:
2014-06-20 23:26:52
阅读次数:
522
这个问题很烦,试了网上很多朋友的方法,还是不行,大家都知道卸载mysql再想装就不那么容易了(虽然我卸载安装无数次都成功了),好了,不废话了,如果出现这种问题,不要急,找到mysql的安装包 例如:F:\mysql5.5anzhuang\bin 找到里面的mysqld.exe运行文件,双击运行...
分类:
数据库 时间:
2014-06-20 23:24:19
阅读次数:
363
如何通过wifi在android手机上安装调试应用1.首先还是要打开手机的usb调试选项,并通过usb线连接手机。2.然后执行“adbtcpip5555”,把adb从usb模式切换到tcpip模式。正确的回显信息是:“restartinginTCPmodeport:5555”。5555可以是任何未占...
分类:
移动开发 时间:
2014-06-20 19:26:43
阅读次数:
244
默认的timeout是5000ms毫秒,如果是断点调试的时候,经常会出现timeout,所以修改这个值就不会出现timeout了,Eclipse下的设置位置:Window->Preferences->Android->DDMSADB connection time out(ms):5000
分类:
数据库 时间:
2014-06-20 15:21:50
阅读次数:
798
Chrome Timeline的指标说明:Blocked、Connect、Send、Wait、Receive Blocked time includes any pre-processing time (such as cache lookup) and the time spent waiting...
分类:
其他好文 时间:
2014-06-20 15:07:33
阅读次数:
277