相信不少同学和我一样遇到这个问题,有时候搞的还要重启电脑,那究竟是什么原因导致的呢,很明显,你的端口被占用了,那下面给出终极解决方案一、首先描述症状,如下图二、出现问题了,首先确定你的sdk目录是不是真的在Console输出的那个位置,如果是的话。接下来现在就要看看到底是谁占用了端口。打开命令编辑器...
分类:
移动开发 时间:
2014-08-21 22:40:14
阅读次数:
244
安装socket.ionpminstallsocket.io或者在package.json文件中添加socket.io的依赖包,然后npminstall安装所需模块。在Expresshttp服务器中使用socket.io在bin/www文件中添加:vario=require(‘socket.io‘);
varsocket=io.listen(server);
socket.on(‘connection‘,function(client..
分类:
Web程序 时间:
2014-08-21 19:35:55
阅读次数:
638
output
standard output
Little beaver is a beginner programmer, so informatics is his favorite subject. Soon his informatics teacher is going to have a birthday and the beaver has decided to prepar...
分类:
其他好文 时间:
2014-08-21 19:31:34
阅读次数:
259
在一个新类的定义中使用其他对象。这就是组合(composition)。组合是在Java中实现程序复用(reusibility)的基本手段之一。组合与"has-a"一个对象是另一个对象的数据成员。比如我们看之前提到的充电电筒的例子:一个充电电筒中的电池、LED灯、按钮…… 都可以是一个对象。我们可以定...
分类:
编程语言 时间:
2014-08-21 19:15:04
阅读次数:
192
demo进行了这么久,已经很久没有连真机调试一下了,昨天下午我旁边的家伙@Richard.Milings连真机调试出了很多问题,于是我也连真机调一下吧。运行一下project.android里面的 build_native.bat,错误粗线了:CCLuaStack has no member nam...
分类:
其他好文 时间:
2014-08-21 18:46:04
阅读次数:
242
http://blog.micxp.com/index.php/archives/113/ mysql远程连接出现了ERROR 2013 (HY000): Lost connection to MySQL server at ‘waiting for initial communication packet‘, system error: 0?错误,其解决办法...
分类:
数据库 时间:
2014-08-21 17:25:14
阅读次数:
342
1 at any time 随时 aging 老化n,变老v2 commission委托nv eg. The Ministry of Agriculture commissioned a study into low-input farming.农业部委托对低投入耕作进行研究 佣金,委员会n eg....
分类:
其他好文 时间:
2014-08-21 12:59:04
阅读次数:
196
重新加载网卡时出现的错误如下: 1 [root@vdb1 dev]# service network restart 2 Shutting down interface eth0: Device state: 3 (disconnected) 3 ...
分类:
Web程序 时间:
2014-08-21 12:54:54
阅读次数:
294
Question:Given a sorted array of n integers that has been rotated an unknown number of times, write code to find anelement in the array. You may assum...
分类:
其他好文 时间:
2014-08-21 02:46:43
阅读次数:
194
源码:https://github.com/lingzhao/EncryptedResourceDemoUPDATE: The example project has been updated to work with iOS5.If you are distributing an iPhone o...
分类:
移动开发 时间:
2014-08-21 01:30:53
阅读次数:
383