题目Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:
Given “25525511135”,return [“255.255.11.135”, “255.255.111.35”]. (Order does no...
分类:
其他好文 时间:
2015-05-16 00:14:24
阅读次数:
145
一、Key Key命令速查:命令说明DEL删除给定的一个或多个 key,不存在的 key 会被忽略,返回值:被删除 key 的数量DUMP序列化给定 key,返回被序列化的值,使用 RESTORE 命令可以将这个值反序列化为 Redis 键EXISTS检查给定key是否存在EXPIRE为给定key....
分类:
其他好文 时间:
2015-05-14 20:12:27
阅读次数:
137
1.备份的控制文件之后创建表空间,控制文件全部丢失,使用备份控制文件如何恢复
步骤如下:
1.备份数据库
rman target / catalog
RC_ADMIN/RC_ADMIN@prod3
backup database plus archivelog delete all input;
2.创建表空间
create">SYS@PROD2>create tabl...
分类:
数据库 时间:
2015-05-12 15:37:39
阅读次数:
301
在防火墙添加规则后我是这样改的vi/etc/sysconfig/iptables-AINPUT-mstate--stateNEW-mtcp-ptcp--dport21-jACCEPT重启:/etc/init.d/iptablesrestart返回值:Erroroccurredatline:16Try`iptables-restore-h‘or‘iptables-restore--help‘formoreinformation.[FAILED]找到解决方法..
分类:
其他好文 时间:
2015-05-12 11:48:04
阅读次数:
186
快速通道:https://oj.leetcode.com/problems/restore-ip-addresses/Given a string containing only digits, restore it by returning all possible valid IP addres...
分类:
其他好文 时间:
2015-05-11 23:42:13
阅读次数:
219
第一行表示Master Server 第二行猜测表示当前主机 第三行不清楚 总结: 1. 这里压根就没有Media Server的事, Media Server对整个备份系统来说是透明的. 2. 第三行边上是没有List这个按钮的 另外要注意的是此处使用FQDN的话貌似多半是要失败的.
分类:
其他好文 时间:
2015-05-10 22:07:23
阅读次数:
152
iptables-nvL查看规则iptables-F清空规则iptables-Z清空计数器iptables-I插到最前面iptables-A在下面插入iptables-save>/tmp/1.ipt备份iptables-restore</tmp/1.ipt恢复filter这个表主要用于过滤包的,是系统预设的表,内建三个链INPUT、OUTPUT以及FORWARD。INPUT作用于进..
分类:
其他好文 时间:
2015-05-09 20:32:42
阅读次数:
196
--RMAN-06061处理
--例行进行数据库备份检查的时候发现一个库的备份状态是completed with errors
--所以进到操作系统进行查看,发现全备日志中出现了如下的告警
archived log /opt/oracle/cisdb/archdb1/bak/cisdb2_127732_673050541.arc not found or out of sync with c...
分类:
其他好文 时间:
2015-05-07 16:56:32
阅读次数:
155
Title:Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return[...
分类:
其他好文 时间:
2015-05-07 16:25:11
阅读次数:
92
前面说Canvas大致可以分为三类:
1. save、restore 等与层的保存和回滚相关的方法;
2. scale、rotate、clipXXX 等对画布进行操作的方法;
3. drawXXX 等一系列绘画相关的方法;
前面主要讲了drawBitmap方法,并举了一个星球浮动的栗子,在那个例子中,星球有大有小,需要移动,有时候可能需求上还需要旋转或错切,有了这些需求,我们就需要使用到与Canvas相关的translate、scale、rotate、skew这几个方法,平移、缩放、旋转、错切,这四个词听起...
分类:
其他好文 时间:
2015-05-07 14:33:20
阅读次数:
209