开篇介绍 最近由于工作需要,学习研究了一下Nagios的安装、配置、使用,关于Nagios的介绍,可以参考我上篇随笔Nagios学习实践系列——产品介绍篇 实验环境 操作系统:Red Hat Enterprise Linux Server release 6.0 (Santiago) 64 bit。 ...
分类:
移动开发 时间:
2017-06-26 22:33:06
阅读次数:
232
上周星期天在迁移数据时,碰到了ORA-10635: Invalid segment or tablespace type 错误,当时的操作环境如下: 操作系统版本: [oracle@xxxxx scripts]$ more /etc/issue Red Hat Enterprise Linux ES ...
分类:
其他好文 时间:
2017-06-26 22:29:27
阅读次数:
227
1 div{ 2 background: pink; /*不支持渐变色的浏览器*/ 3 background: -webkit-gradient(linear,0 0,0 100%,from(red) ,to(blue)); 4 background: -moz-linear-gradient(to ...
分类:
其他好文 时间:
2017-06-26 19:09:08
阅读次数:
117
flask配置redis 首先得下载flask的缓存插件Flask-Cache,使用pip下载。 sudo pip install flask_cache 为应用扩展flask_cache app = Flask(__name__) 1 config = { 2 'CACHE_TYPE': 'red ...
分类:
编程语言 时间:
2017-06-26 14:09:21
阅读次数:
217
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, ...
分类:
其他好文 时间:
2017-06-26 13:35:55
阅读次数:
96
标签选择器: 作用:根据选择器的名称,选中页面中所有的HTML标签 li{ color: blue; } 类选择器 写法: .class名{} 调用:在HTML标签中,使用class="class名"调用选择器 优先级,class选择器大于标签选择器 */ .li1{ color: red; } i ...
分类:
Web程序 时间:
2017-06-25 17:48:14
阅读次数:
224
一、:nth-child
1.1说明
:nth-child(n)选择器匹配属于其父元素的第N个子元素,不论元素的类型。n可以是数字、关键词或公式。
注意:如果第N个子元素与选择的元素类型不同则样式无效!
1.2示例
<style>
div>p:nth-child(2){
color:red;
}
</style>
&..
分类:
Web程序 时间:
2017-06-24 20:58:52
阅读次数:
295
运行结果: List colors has 3, List(red, green, blue)redList(green, blue)greenredgreenblueredgreenblueredgreenblueredgreenblueList(3, 5, 4)165true1122334455 ...
分类:
其他好文 时间:
2017-06-24 18:46:19
阅读次数:
161
### css常见属性- color:red/rgb(255,0,0)/#f00; + 注意,如果有a链接,必须在a链接中设置字体的颜色;在外面设置a链接中的字体颜色,无效;- font:400 14px/28px "宋体 微软雅黑"; + font-weight:400; bold->700; + ...
分类:
Web程序 时间:
2017-06-22 20:54:50
阅读次数:
216
console.log允许你通过css来格式化输出,格式如下: console.log(‘%c字符串%c字符串’, 样式1, [样式2]) 其中”%c”为模板字符串 例子: 1 console.log('%cHello','color:#fff;background:red') 改变多个样式 1 c ...
分类:
其他好文 时间:
2017-06-22 17:42:00
阅读次数:
175