Imagine a (literal) stack of plates. If the stack gets too high, it might topple. Therefore, in real life, we would likely start a new stack when the ...
分类:
其他好文 时间:
2014-07-16 23:07:09
阅读次数:
196
常用管理命令Hadoop管理员的常用命令。启动Hadoop进入HADOOP_HOME目录。执行sh bin/start-all.sh关闭Hadoop进入HADOOP_HOME目录。执行sh bin/stop-all.shbalancer运行集群平衡工具。管理员可以简单的按Ctrl-C来停止平衡过程。...
分类:
其他好文 时间:
2014-07-16 23:06:07
阅读次数:
249
1.检查 服务是否开启 chkconfig sshd on #检查sshd服务是否开启2.开启/重启服务service sshd start #开启服务service sshd restart #重启服务
分类:
系统相关 时间:
2014-07-16 21:13:22
阅读次数:
198
学习angularJS时,教程里说使用node scripts/web-server.js开启服务器后台运行程序。一直出错。后来发现原因是这是老版本里的命令。现在都是用sudo npm start就可以了运行完sudo npm start,再开启karma测试sudo npm test 然后再浏览器...
分类:
Web程序 时间:
2014-07-12 09:06:17
阅读次数:
359
通过网页title来提示用户有新消息这个功能很常见,比如现在的微博,还有一些邮箱,这个功能都很常见。1 显示信息数:2 3 开始闪动4 停止闪动 1 var flashTitlePlayer = { 2 start: function (msg) { 3 th...
分类:
Web程序 时间:
2014-07-12 08:42:55
阅读次数:
303
Imagine a (literal) stack of plates. If the stack gets too high, it might topple. Therefore, in real life, we would likely start a new stack when the ...
分类:
其他好文 时间:
2014-07-12 08:24:00
阅读次数:
258
Imagine a (literal) stack of plates. If the stack gets too high, it might topple. Therefore, in real life, we would likely start a new stack when the ...
分类:
其他好文 时间:
2014-07-12 08:23:16
阅读次数:
231
Imagine a (literal) stack of plates. If the stack gets too high, it might topple. Therefore, in real life, we would likely start a new stack when the ...
分类:
其他好文 时间:
2014-07-12 08:22:39
阅读次数:
181
版权声明:以前的Blog文章合并。原创作品,谢绝转载!否则将追究法律责任。
1.重写线程Thread,Runnable运行的是run方法,当调用线程start()时,会运行其run方法,
也可以主动去调用,只不过不在同一个线程里。
当一个线程既继承了Thread又继承Runnable,其thread必须调用target.run()实现对runnable的方法调用。
...
分类:
编程语言 时间:
2014-07-10 22:15:13
阅读次数:
368
用视窗键+R键命令,启动电脑的“运行”选框后,输cmd启动‘命令提示框’。输入Apache在电脑存放的位置后,依次输入以下命令:httpd.exe-kinstall-napachenetstartspache后将启动Apache。如图:
分类:
其他好文 时间:
2014-07-10 18:10:59
阅读次数:
252