C. Cd and pwd commandsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/problemset/problem/158/CDescriptionVasya is writing an operating...
分类:
其他好文 时间:
2015-07-02 11:50:58
阅读次数:
126
ls 显示目录文件cd ~ 进入用户根目录;cd / 进入根目录; cd .. 返回上级目录;pwd 显示当前路径git 几个常用命令:1.git add .2.git commit -m ""1和2 类似于 git commit -a3.git pull 拉取4.git push 提交5.git ...
分类:
其他好文 时间:
2015-07-02 06:32:40
阅读次数:
128
1、【ls】显示当前目录下的所有文件及文件夹 【ll】相当于ls -l,详细显示所有文件及文件夹2、【pwd】显示当前的工作目录3、【mkdir】建立目录 如:mkdir test,创建test文件夹 【touch】创建文件 如:touch test.txt,创建test.txt文件4、...
分类:
系统相关 时间:
2015-06-30 23:25:42
阅读次数:
280
mongodb 学习笔记 05 – 用户管理
db.createUser()
{ user: "",
pwd: "",
customData: { },
roles: [
{ role: "", db: "" } | "",
...
]
}
use products
db.createUser( { "user" : "accountAdmin01"...
分类:
数据库 时间:
2015-06-30 06:39:41
阅读次数:
170
测试代码示例connect($host, $port) == false) { die($redis->getLastError()); } /* user:password 拼接成AUTH的密码 */ if ($redis->auth($user . ":" . $pwd) == fa...
分类:
Web程序 时间:
2015-06-29 11:22:32
阅读次数:
111
1. su
input root pwd
2. apt-cache search scim
apt-get install scim
apt-cache search scim-pinyin
apt-get install scim-pinyin...
分类:
其他好文 时间:
2015-06-29 10:02:27
阅读次数:
99
安装GIT 从 msysgit.github.io 下载 for windows. 创建版本库 1 > mkdir foldname 2> cd foldname 3> pwd // 显示当前目录 4> git init // 通过git init命令把这个目录变成Git可以管理的仓库
分类:
其他好文 时间:
2015-06-28 14:00:10
阅读次数:
133
1获取所有配置文件节点的类ConfigurationManager2数据库节点 name ="Sqlconnection" providerName="System.Data.SqlClient" connetionString="server=.;uid=sa;pwd=...
分类:
数据库 时间:
2015-06-28 11:13:27
阅读次数:
132
创建版本库版本库,又称仓库,英文名为repository,版本库内的所有文件都可以被Git管理起来,每个文件的修改、删除,Git都能跟踪。 在git命令行中输入:$ mkdir learngit$ cd learngit$ pwd详解:mkdir[选项] directory 表示创建名为dir...
分类:
其他好文 时间:
2015-06-27 18:03:56
阅读次数:
100
private void Form2_Load(object sender, EventArgs e) { textBox1.Text = "server=.;database=master;user=sa;pwd=123"; } ...