redis是什么:Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain st...
分类:
其他好文 时间:
2015-03-29 10:40:38
阅读次数:
378
在 keyboard-binding user 里 增加个人配置来覆盖默认配置[ { "keys": ["ctrl+z"], "command": "undo" }, { "keys": ["ctrl+shift+z"], "command": "redo" }, { "keys": ["ctrl+...
分类:
其他好文 时间:
2015-03-28 18:30:06
阅读次数:
239
1,基于有密码及免秘钥在远程主机上执行命令及脚本ssh -T ip "CLI or shell.sh";2,C程序实现上述功能--基于password-less将上面简单C程序打包移植到别的系统下使用测试authorized_keys;将本身的~/.ssh/id_rsa.pub 复制到需要passw...
分类:
其他好文 时间:
2015-03-28 14:21:02
阅读次数:
200
a={'a':{'b':{'c':{'d':'e'}},'f':'g'},'h':'i'}def show(myMap): for str in myMap.keys(): secondDict=myMap[str] print str if type(myMap[str]).__name_...
分类:
编程语言 时间:
2015-03-20 23:25:44
阅读次数:
343
Python的函数定义中有两种特殊的情况,即出现*,**的形式。 如:def myfun1(username, *keys)或def myfun2(username, **keys)等。他们与函数有关,在函数被调用时和函数声明时有着不同的行为。此处*号不代表C/C++的指针。其中 * 表示...
分类:
编程语言 时间:
2015-03-20 18:36:00
阅读次数:
143
.net 类库memcacheddotnet_clientlib_2.01.增加memcacheddotnet_clientlib_2.0代码下载好组件后,用vs打开.net类库memcacheddotnet_clientlib_2.0,打开MemCachedClient.cs,增加如下方法: pu...
主要就是两步 :1. scp ~/.ssh/id_rsa.pub root@远程ip地址:~/2. cat id_rsa.pub >> ~/.ssh/authorized_keys,把公钥追加到远程主机的认证文件里就可以了 , 如果 没有authorized_keys文件,新建一个即可 。注:如果没...
分类:
系统相关 时间:
2015-03-20 16:07:28
阅读次数:
165
点击eclipse窗口栏的Window ?---》Perferences ---》左边搜索框输入keys ---》点击打开以后在右边的Command里面找到如下两个key对其进行修改。 ? ? ? ? ? ? ? ? ? ?? ? ? ? ? ? ? ? key ? ?...
分类:
系统相关 时间:
2015-03-19 22:17:39
阅读次数:
198
在Ubuntu上安装Mono
运行下面代码授权注册repo源并更新软件列表:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamari...
分类:
系统相关 时间:
2015-03-19 18:27:07
阅读次数:
181
Please make sure you have following registry keys set on you computer.32-bit:HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer64-bit:HK...
分类:
其他好文 时间:
2015-03-18 20:00:17
阅读次数:
129