1. 生成本机的公私钥匙对[oracle@Oracle11_2 scripts]$ ssh-keygen -b 1024 -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/home/o...
分类:
其他好文 时间:
2015-06-02 20:04:43
阅读次数:
97
保存
from save_ipython_variables import load_all_variables, save_variable
save_variable('pa_patmas', pa_patmas)
save_variable('dhc_workload', dhc_workload)
#put it into pickle for further use
读取
loa...
分类:
编程语言 时间:
2015-06-02 11:21:28
阅读次数:
248
Using names.txt (right click and 'Save
Link/Target As...'), a 46K text file containing over five-thousand first names, begin by sorting it into alphabetical order. Then working out the alphabetical ...
分类:
其他好文 时间:
2015-06-02 09:33:28
阅读次数:
117
提交时使用数组接收,遍历将数组添加到set集合用户表user 字段id,name,set xks=new HashSet();选课表xk 字段id,name表单姓名课程1课程2课程3UserController.javapublic String save(User user,String[] xk...
分类:
其他好文 时间:
2015-06-01 18:39:06
阅读次数:
246
------------实践-----------------1iptables-L-vshows(notethecountsforINPUTandOUTPUT2iptables-save>/root/my.active.firewall.rulesiptables-restore</root/my.active.firewall.rules3删除一个-L显示当前的行号-D删除具体行数iptabels-DINPUT-s192.168.1.1/24-jDROP4..
分类:
其他好文 时间:
2015-06-01 14:53:22
阅读次数:
203
/** * 第一种Ajax提交方式 * 这种方式需要直接使用ext Ajax方法进行提交 * 使用这种方式,需要将待传递的参数进行封装 * @return */function saveUser_ajaxSubmit1() { Ext.Ajax.request( { url : 'user_save...
分类:
Web程序 时间:
2015-06-01 13:05:40
阅读次数:
169
1、Master写内存快照,save命令调度rdbSave函数,会阻塞主线程的工作,当快照比较大时对性能影响是非常大的,会间断性暂停服务,所以Master最好不要写内存快照。2、Master AOF持久化,如果不重写AOF文件,这个持久化方式对性能的影响是最小的,但是AOF文件会不断增大,AOF文件...
分类:
其他好文 时间:
2015-05-31 22:54:55
阅读次数:
214
使用pipework工具。
前提:每个Container所做的工作现在还很少,可以不用save、commit。
为了便于通信,自定义一个网桥(192.168.1.180/24),使之IP与宿主主机IP在同一网段内。
bridge模式
bridge模式是Docker默认的网络设置,此模式会为每一个容器分配Network Namespace、设置IP等,并将一个主机上的Docker...
分类:
其他好文 时间:
2015-05-31 09:30:06
阅读次数:
838
## "npm install *module* --save" not work `npm install *module* --save` 没有生成 package.json 文件? 需要在项目目录初始化 `npm init` 后使用 如果已经安装了一些 module,可以使用 `npm install --save`...
分类:
Web程序 时间:
2015-05-31 00:09:04
阅读次数:
843
LNMP版本Mysql服务器版本:5.1.73nginx:1.62phpmyadmin:4.48版本2015/5/28更新的最新版本网上找的解决方法基本上都是将php.ini中的session.auto_start的值改为1(启动),默认是0(禁用)php.ini中的session.save_path="/tmp/"飘红路径是否存在和权限问题,或者前面分号注释去..
分类:
Web程序 时间:
2015-05-30 18:24:18
阅读次数:
171