参考以下文章搭建ionic + cordova 的开发环境 --ionic+cordova学习之环境搭建前面还是比较顺利,但当开始试建测试工程helloword,运行sudo ionic platform add androidError: ANDROID_HOME is not set and "...
分类:
移动开发 时间:
2014-09-26 06:10:58
阅读次数:
450
Runtime.getRuntime().exec共有四个重载方法: public Process exec(String command) 在单独的进程中执行指定的字符串命令。 public Process exec(String [] cmdArray) ????????在单独的进程中执行指定命...
分类:
其他好文 时间:
2014-09-26 02:59:48
阅读次数:
392
方法一:mvn dependency:sourcesmvn dependency:resolve -Dclassifier=javadocThe first command will attempt to download source code for each of the dependenci...
分类:
编程语言 时间:
2014-09-26 01:11:48
阅读次数:
245
??
今日爆出一个Bash的RCE漏洞,威力巨大。看了看老外的分析,觉得有必要写一写自己对这个漏洞的理解。
首先,问题起因于一个命令ENV。
原型:
env [OPTION]... [NAME=VALUE]... [COMMAND [ARGS]...]
Man是这么说的:
Display, set, or remove environment variables,R...
分类:
其他好文 时间:
2014-09-25 23:10:48
阅读次数:
200
mac上使用官方pkg文件安装node.js,顺利安装完后在terminal运行node -v 出现 “-bash: node: command not found” --很是迷惑。最后发现是需要提升一下权限,加上sudo即可。http://superuser.com/questions/61326...
分类:
Web程序 时间:
2014-09-25 18:14:57
阅读次数:
214
打开 应用程序(command+shift+A)-实用工具-终端open .直接打开Macintosh系统目录其他口令(与linux一样)ls显示当前目录内容cd 目录名进入某一目录cd ..退回上一个目录进入到某一目录后再open .可以用finder打开相应目录为方便以后使用可以拖到左边的收藏栏...
分类:
其他好文 时间:
2014-09-24 21:03:57
阅读次数:
166
Next,packagethesourceintoajar,whichissentwhenyouruntheStormClientcommandtosubmitthetopology.BecauseyouusedMaven,theonlythingyouneedtodoisgotothesourcefolderandrunthefollowing:mvnpackageOnceyouhavethegeneratedjar,usethestormjarcommandtosubmitthetopology(yous..
分类:
其他好文 时间:
2014-09-24 18:31:28
阅读次数:
191
su命令详解su是切换到其他用户,但是不切换环境变量su-是完整的切换到一个用户环境参数说明-ccommand:变更账号为USER的使用者,并执行指令(command)后再变回原来使用者。eg:su-clsroot变更帐号为root并在执行ls指令后退出变回原使用者。/bin/su-web-c"/www/ppp/bin/cccd.shs..
分类:
其他好文 时间:
2014-09-24 17:33:17
阅读次数:
175
Description, check and repair of MyISAM tables.Used without options all tables on the command will be checked for errorsUsage: myisamchk [OPTIONS] tab...
分类:
数据库 时间:
2014-09-24 15:17:37
阅读次数:
315
You’rereadytorunyourfirsttopology!Ifyoucreateafileatsrc/main/resources/words.txtwithonewordperline,youcanrunthetopologywiththiscommand:mvnexec:java-Dexec.mainClass="TopologyMain"-Dexec.args="src/main/resources/words.txt"Forexample,ifyouusethefollowingwords..
分类:
其他好文 时间:
2014-09-24 13:00:17
阅读次数:
191