Scale9Sprite在用Scale9Sprite.create的时候出现Uncaught TypeError: Cannot call method 'create' of undefined这个错误,后来发现在默认情况下,project.json里的modules只自带cocos2d模块,通过...
分类:
Web程序 时间:
2014-07-25 19:00:01
阅读次数:
361
EXEC sp_configure 'show advanced options', 1; RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 1; EXEC sp_configure 'show advanced options', 0; RECONFI...
分类:
其他好文 时间:
2014-07-25 16:45:21
阅读次数:
272
$dsn = 'sqlsrv:server=.\SQLExpress;Database=thinkphp'; $user = 'admin'; $password = 'pass1234'; try { $conn = new PDO($dsn, $user,...
分类:
其他好文 时间:
2014-07-25 16:42:11
阅读次数:
268
讲解都写在注释里面了,有不对的地方请拍砖,谢谢! JS通过call方法实现继承
分类:
Web程序 时间:
2014-07-25 02:42:14
阅读次数:
353
A method for browsing Internet of things (IoT) and an apparatus using the same are provided. In the method for browsing IoT, when a mobile device exec...
分类:
移动开发 时间:
2014-07-25 02:28:54
阅读次数:
434
A method includes periodically sending a polling call to an enterprise system outside the firewall at a first polling rate during normal operating con...
分类:
其他好文 时间:
2014-07-25 02:15:34
阅读次数:
480
进程和程序
exec和fock简述
exec系统调用从指定程序重新初始化进程,虽然进程还在,但程序已经改变了。
fock系统调用仅通过复制指令、用户数据和系统数据段来创建从现存进程克隆的新进程,该新进程不是从程序初始化得来的,所以旧进程和新进程执行同样的指令。
除启动UNIX内核本身外,exec是程序在UNIX上获得执行的唯一方法...
分类:
系统相关 时间:
2014-07-24 23:35:33
阅读次数:
597
在Android中想要进行Ping,在不Root机器的情况下似乎还只能进行底层命调用才能实现。
因为在Java中要进行ICMP包发送需要Root权限。
于是只能通过创建进程来解决了,创建进程在Java中有两种方式,分别为:
1. 调用ProcessBuilder的构造函数后执行start()
2. 用Runtime.getRuntime().exec()方法执行
经过使用...
分类:
移动开发 时间:
2014-07-24 23:34:33
阅读次数:
305
/**
* 授权
*/
EXEC sp_configure 'show advanced options',1;
go
reconfigure;
go
exec sp_configure 'xp_cmdshell',1;
go
reconfigure;
go
/**导入指定表的文本文件*/
EXEC master..xp_cmdshell 'bcp dbname..tablename in...
分类:
数据库 时间:
2014-07-24 23:32:13
阅读次数:
374
Hive 命令行
Hive 命令行示例
?从命令行执行指定的sql语句
?$HIVE_HOME/bin/hive -e 'select a.col from tab1 a'
?以指定的hive环境变量执行指定的sql语句
?$HIVE_HOME/bin/hive -e 'select a.col from tab1 a' -hiveconf hive.exec.scr...
分类:
其他好文 时间:
2014-07-24 23:11:14
阅读次数:
256