adb shell as root after device rootedonce device rooted, we must perform "su" before we get root permission in adb shell,this is not convenient in som...
分类:
系统相关 时间:
2015-05-19 18:47:29
阅读次数:
185
假设Yii项目路径为 /home/apps1. 创建文件 /home/apps/web/protected/commands/console.php$yii = '/home/apps/framework/yii.php';require_once($yii);$configFile = dirna...
分类:
其他好文 时间:
2015-05-17 23:09:33
阅读次数:
138
在Linux终端直接输入storm,不带任何参数信息,或者输入storm help,可以查看storm命令行客户端(Command line client)提供的帮助信息。Storm 0.9.0.1版本在Linux终端直接输入storm后的输出内容如下:Commands:activateclassp...
分类:
其他好文 时间:
2015-05-15 10:24:12
阅读次数:
475
Redis命令 参考:http://redis.io/commands# 或:http://www.redis.cn/commands.html#
分类:
其他好文 时间:
2015-05-13 17:20:01
阅读次数:
91
1. sudo apt-get install bridge-utils2. brctl --helpUsage: brctl [commands]commands: addbr add bridge delbr delete bridge addif add interf...
分类:
系统相关 时间:
2015-05-10 12:37:27
阅读次数:
185
‘mkdir’是目录创建命令。使用过MS-DOs的用户可能会熟悉这个命令。你可能已经意思到,写这些程序的人给这些程序命名时很懒,用最短的单词组合表达最长的意思,所以不会跟“makemeadirectoryplease”,但是又不会使用‘xr77b’这样抽象的名字。
使用‘mkdir’命令
创建‘my_friends’目录,你需要敲入:
mkdir my_f...
分类:
其他好文 时间:
2015-05-07 12:33:01
阅读次数:
90
本文章来自于 谷歌官方的翻译: How to Write Go Code?
http://godoc.golangtc.com/doc/code.html介绍这篇文档举例证明了一个简单地 Go package 并且介绍了 go tool,标准的方法来 fetch, build,and install Go package and commands.如果要使用 go tool,那么就必须将代码组织成...
分类:
其他好文 时间:
2015-05-06 13:26:26
阅读次数:
129
一、文档资料 1、官方网站:http://redis.io/ 2、官方文档:http://redis.io/documentation 3、常用命令文档:http://redis.io/commands 二、安装指南 1、服务端下载地址:http://redis.io/download 2、安装完成...
分类:
其他好文 时间:
2015-05-04 11:36:04
阅读次数:
122
1、os.system()此方法执行的外部程序,会将结果直接输出到标准输出。os.system的返回结果为执行shell的$?值。因此请执行没有输出结果的程序时适合使用此方法。如touch、rm一个文件等。In[1]:importos
In[2]:os.system(‘touchtest.txt‘)
Out[2]:0
In[3]:os.system(‘rm-rftest.tx..
分类:
编程语言 时间:
2015-05-03 14:45:56
阅读次数:
142
bower cache功能:管理包缓存windows用户,在C:\Users\dulin\AppData\Local\bower\cache\packages目录下就是bower安装过的所有包的缓存用法:$ bower cacheUsage: bower cache [] []
Commands: clean...
分类:
系统相关 时间:
2015-05-01 12:09:39
阅读次数:
2646