Apache默认索引页面是index.html,修改成其他文件需要修改httpd.conf文件:## DirectoryIndex: sets the file that Apache will serve if a directory# is requested.# DirectoryInd...
分类:
Web程序 时间:
2015-05-19 12:29:03
阅读次数:
188
一 限制上传大小1:限制总文件的大小 。 如 上传10文件,设置最多总上传大小为100M。voidsetSizeMax(longsizeMax) Sets the maximum allowed size of a complete request, as opposed to setFile...
分类:
Web程序 时间:
2015-05-19 12:11:18
阅读次数:
166
介绍python的set是一个无序不重复元素集,基本功能包括关系测试和消除重复元素.集合对象还支持并、交、差、对称差等。sets支持xinset、len(set)、和forxinset。作为一个无序的集合,sets不记录元素位置或者插入点。因此,sets不支持indexing,slicing,或其它...
分类:
编程语言 时间:
2015-05-19 12:07:52
阅读次数:
160
BEIJING -- China's State Council, the cabinet, on Monday unveiled this year's priorities for economic reforms.The reforms -- to streamline administrat...
分类:
其他好文 时间:
2015-05-18 22:51:04
阅读次数:
103
英文原文:http://redis.io/topics/introduction#introduction-to-redis
Redis是一个开源的,遵循BSD license的高性能键值缓存和存储.它经常被当作一个数据结构服务器,支持的数据类型包括strings,hashes,lists,sets,sorted sets,bitmaps和hyperloglogs.
你可以运行...
分类:
其他好文 时间:
2015-05-18 13:02:19
阅读次数:
131
redis string,hash,list,sets.zsets几种数据类型
分类:
其他好文 时间:
2015-05-17 21:38:12
阅读次数:
150
首先,MySQL的字符集问题主要是两个概念,一个是Character Sets,一个是Collations,前者是字符内容及编码,后者是对前者进行比较操作的一些规则。这两个参数集可以在数据库实例、单个数据库、表、列等四个级别指定。 对于使用者来说,一般推荐使用utf8编码来存储数据。而要解决乱码问....
分类:
数据库 时间:
2015-05-14 13:53:30
阅读次数:
227
一、Redis 是什么 Redis 是一款依据BSD开源协议发行的高性能Key-Value存储系统(cache and store)。它通常被称为数据结构服务器,因为值(value)可以是 字符串(String), 哈希(Map), 列表(list), 集合(sets) , 有序集合(sorted....
问题:InputThe input consists of one or more sets of strings, followed by a final line containing only the value 0. Each set starts with a line containin...
分类:
其他好文 时间:
2015-05-12 10:51:18
阅读次数:
124