前言:网上看到有写用.haccess会影响到网站速率之类的,这里只是讲解自己的一点配置.haccess的心得,其它的之后再讨论哈~ 1、普通配置: 网上都有的那种配置 apache/conf/httpd.conf 配置 搜索LoadModule rewrite_module modules/mod_ ...
分类:
数据库 时间:
2018-03-11 19:26:21
阅读次数:
186
题目链接: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2818 题目描述: Given positive integers B and N, find an integer A such that AN is as cl ...
分类:
其他好文 时间:
2018-03-11 14:27:03
阅读次数:
231
这个问题困惑了非常久。尽管没有大碍早就摸出来怎么搞定它。但始终不明确原因出在哪里,假设仅仅是IE有问题我也不会太在意。可问题是全部上等浏览器都表现如此,这样叫我怎能安心?今天总算下狠心查出来怎么回事,竟然是CSS2.1盒模型规范……尽管非常别扭,非常别扭的规定。 问题例如以下。两层Div结构。Out ...
分类:
其他好文 时间:
2018-03-07 11:36:58
阅读次数:
130
str_pad (PHP 4 = 4.0.1, PHP 5, PHP 7) str_pad — Pad a string to a certain length with another string str_pad — 使用另一个字符串填充字符串为指定长度 Description Paramete ...
分类:
Web程序 时间:
2018-03-06 23:12:21
阅读次数:
245
some frequently used AC macros: AC_INIT :must AC_OUTPUT :must AC_PREREQ :determine ac version so that needed features are included AC_CONFIG_SRCDIR :d ...
分类:
其他好文 时间:
2018-03-06 12:51:14
阅读次数:
228
一、session一致性问题 使用集群方案解决网站高并发问题时,就会部署多台应用服务器。当用户第一次通过客户端(如:浏览器)访问服务器时,服务器会创建对应的session, 使用Nginx反向代理,假如用户A第一次访问站点,被反向代理到服务器一处理,服务器一创建对应sessionA记录信息,用户A再 ...
分类:
系统相关 时间:
2018-03-03 15:28:37
阅读次数:
242
Berland scientists know that the Old Berland language had exactly n words. Those words had lengths of l1,?l2,?...,?ln letters. Every word consisted of ...
分类:
其他好文 时间:
2018-03-01 21:48:24
阅读次数:
191
一、脏读、不可重复读、幻读 1、脏读:脏读就是指当一个事务正在访问数据,并且对数据进行了修改,而这种修改还没有提交到数据库中,这时,另外一个事务也访问这个数据,然后使用了这个数据。例如: 张三的工资为5000,事务A中把他的工资改为8000,但事务A尚未提交。 与此同时, 事务B正在读取张三的工资, ...
分类:
其他好文 时间:
2018-02-28 14:08:47
阅读次数:
186
ref http://blog.csdn.net/huangfan322/article/details/53220169 https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-2.html 2.5.4. Method Area ref ht ...
分类:
编程语言 时间:
2018-02-24 13:04:08
阅读次数:
152