1.?? 创建 nginx 代理配置文件 命名为 proxy.conf (将给文件存放到 conf 的配置文件夹为例): proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remo...
分类:
其他好文 时间:
2014-07-22 08:34:34
阅读次数:
224
1、将include复制到网站中的include目录。 2、修改数据库 将所有文档设置为“仅动态”,可以进入数据库管理中,执行下面命令: update dede_archives set ismake=-1 并将ismake的默认值设置为 -1即动态。 将所有栏...
分类:
其他好文 时间:
2014-07-22 08:25:34
阅读次数:
185
属性定义@interface Nothin : NSObject@property NSString *prop;@end访问属性 Nothin *nothin = [Nothin new]; //get [nothinprop]; //set [nothin setProp: @"Nothin"]...
分类:
其他好文 时间:
2014-07-22 08:13:34
阅读次数:
302
package?Plan.GenericDemo;
import?java.util.ArrayList;
import?java.util.HashMap;
import?java.util.Iterator;
import?java.util.List;
import?java.util.Map;
import?java.util.Set;
import?org.j...
分类:
编程语言 时间:
2014-07-21 10:33:56
阅读次数:
239
1 Utl_File包简介Oracle的UTL_FILE包用来实现对磁盘文件的I/O操作。(1)Oracle10g之前的版本需要指定utl_file包可以操作的目录。 方法: 1、alter system set utl_file_dir='e:/utl' scope=spfile; 2、在in.....
分类:
数据库 时间:
2014-07-21 09:38:59
阅读次数:
513
Additive equationsDescription We all understand that an integer set is a collection of distinct integers. Now the question is: given an integer set...
分类:
其他好文 时间:
2014-07-21 09:35:45
阅读次数:
293
|--TreeSet:可以对Set集合中的元素进行排序。
底层数据结构是二叉树。
保证元素唯一性的依据:compareTo方法return 0....
分类:
其他好文 时间:
2014-07-21 09:16:34
阅读次数:
1526
1-->在DOS窗口下输入net stop mysql572-->切换到mysql的bin目录,运行mysqld --skip-grant-tables3-->新开DOS,切换到bin目录,运行mysql -u root4-->use mysqlupdate user set password=pa...
在考虑采取优化行动之前(比如添加索引或非范式化),应该知道当前的查询是怎样被处理的,还应该有一些性能测量基线,这样才能比较改动前后的性能。SQL Server提供了一些工具(SET 选项)来支持对查询性能的监测;IO统计TIME统计PROFILE统计XML统计在执行查询前启用SET选项,他们会产生相...
分类:
其他好文 时间:
2014-07-21 00:28:50
阅读次数:
245
不可变集合不接受null值。创建:ImmutableSet.copyOf(set);ImmutableMap.of(“a”, 1, “b”, 2);public static final ImmutableSet GOOGLE_COLORS = ImmutableSet.builder...
分类:
其他好文 时间:
2014-07-20 22:02:22
阅读次数:
249