对于普通Linux机器开关防火墙命令: 1重启后生效 chkconfig iptables off chkconfig iptables on 2即时生效 serivce iptables status service iptables start service iptables stop 对于A ...
分类:
系统相关 时间:
2017-07-13 00:54:23
阅读次数:
163
在招商银行android手机app中。有例如以下图所看到的的loading载入效果: 实现这个效果还是比較简单,就是自己定义dialog,设置自己想要的布局。然后设置旋转动画。 主要步骤: 1,写布局文件 2,设置dialog的主题 3,自己定义dialog继承 自Dialog 4,设置旋转动画 5 ...
分类:
其他好文 时间:
2017-07-12 15:29:22
阅读次数:
171
公司需要处理SQL的脚本问题,每个文件删除最后3行,文件数目较多,本来是别人的活,但是他解决不了,我就帮忙看了下,最后解决完毕,比网上有的速度快得多,主要是理解了for这个命令,会产生序号,而不用自己去单独产生序号,那样很麻烦。 for /f "tokens=*" %%d in ('dir /ad ...
一 CSS文字属性:color : #999999; /*文字颜色*/font-family : 宋体,sans-serif; /*文字字体*/font-size : 9pt; /*文字大小*/font-style:itelic; /*文字斜体*/font-variant:small-caps; / ...
分类:
Web程序 时间:
2017-07-12 15:06:34
阅读次数:
192
centOS 6.5关闭防火墙步骤 关闭命令: service iptables stop 永久关闭防火墙:chkconfig iptables off 两个命令同时运行,运行完成后查看防火墙关闭状态 service iptables status ...
分类:
其他好文 时间:
2017-07-12 13:47:32
阅读次数:
120
Rust 1.7.0 中的宏使用范围包含三种情况: 第一种情况是宏定义在当前文件里。这个文件可能是 crate 默认的 module,也可能是随意的 module 模块。 另外一种情况是宏定义在当前 crate 。可是不是在当前文件里,而是其它 module 模块中。 第三种情况是宏定义在其它的 c ...
分类:
系统相关 时间:
2017-07-11 23:06:30
阅读次数:
375
android4.2系统增永不休眠同一时候隐藏休眠选项 1. android\frameworks\base\packages\SettingsProvider\res\values\defaults.xml中设置def_screen_off_timeout为-1, <integername="de ...
分类:
移动开发 时间:
2017-07-11 21:01:25
阅读次数:
1261
11down votefavorite 2 2 I'm using ProGuard with my Android application and I'm running getting the warnings below in my build log. I've added the appr ...
分类:
其他好文 时间:
2017-07-11 20:59:24
阅读次数:
148
1 /* ===================================================================================== 2 * 3 * Filename: raw.c 4 * Description: 使用原始套接字发送TCP协议,并外带... ...
分类:
其他好文 时间:
2017-07-11 19:19:12
阅读次数:
137
What is Spark? ============= Apache Spark is a fast and general-purpose cluster computing system. It provides high-level APIs in Java, Scala, Python a... ...
分类:
其他好文 时间:
2017-07-11 09:35:23
阅读次数:
291