最近用Python 来读zip的压缩包 。报一个错误。
Python 2.6.6 (r266:84292, Jun 18 2012, 14:18:47)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>...
分类:
编程语言 时间:
2015-02-03 15:15:54
阅读次数:
183
http://www.linuxidc.com/Linux/2014-12/110463.htm#!/bin/bash#定义颜色的变量RED_COLOR='\E[1;31m' #红GREEN_COLOR='\E[1;32m' #绿YELOW_COLOR='\E[1;33m' #黄BLUE_COLOR...
分类:
系统相关 时间:
2015-02-03 14:37:12
阅读次数:
120
1:简介最近浙江电信对线上服务器进行漏洞扫描,暴露出原有的openssh有漏洞,建议升级openssh版本;2:操作环境Red Hat Enterprise Linux Server release 6.43:所需软件包(1)gcc zlib zlib-devel make pam pam-deve...
分类:
其他好文 时间:
2015-02-03 12:54:50
阅读次数:
1056
本文根据在慕课网的学习笔记整理。继承CSS的某些样式是具有继承性的,它允许样式不仅应用于某个特定html标签元素,而且应用于其后代。比如下面代码:如某种颜色应用于p标签,这个颜色设置不仅应用p标签,还应用于p标签中的所有子元素文本,这里子元素为span标签。p{color:red;}//p中的文本与...
分类:
Web程序 时间:
2015-02-03 11:02:55
阅读次数:
204
【题目】
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, white and blue.
Here, we will use the...
分类:
其他好文 时间:
2015-02-03 09:29:30
阅读次数:
118
本文根据在慕课网的学习笔记整理。CSS简介全称为“层叠样式表 (Cascading Style Sheets)”,它主要是用于定义HTML内容在浏览器内的显示样式,如文字大小、颜色、字体加粗等。例子:p{ font-size:12px; color:red; font-weight...
分类:
Web程序 时间:
2015-02-03 00:41:18
阅读次数:
152
1.css(name|pro|[,val|fn])//访问匹配元素的样式属性$("p").css("color");//获取$("p").css({ "color": "#ff0011", "background": "blue" });//属性组设置$("p").css("color","red"...
分类:
Web程序 时间:
2015-02-02 19:36:29
阅读次数:
134
In the 20×20 grid below, four numbers along a diagonal line have been marked in red. 08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 0849 49 ...
分类:
编程语言 时间:
2015-02-02 19:35:07
阅读次数:
174
Red and Black
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 23904
Accepted: 12927
Description
There is a rectangular room, covered with square tiles....
分类:
其他好文 时间:
2015-02-02 18:07:53
阅读次数:
111
查看nginx服务的编译参数
/application/nginx/sbin/nginx -V
[root@mode ~]# /application/nginx/sbin/nginx -V
nginx version: nginx/1.2.1
built by gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
configure arguments: --us...
分类:
数据库 时间:
2015-02-02 16:01:06
阅读次数:
218