Web 应用程序状态管理 通过隐藏表单域 hidden,cookie,session,重写URL来实现; cookie存在于客户端,浏览器关闭时失效 cookie原理:服务器在响应请求时将一些数据以“键-值”对的形式通过响应信息保存在客户端 Servlet中提供了如下一系列操作Cookie的API ...
分类:
编程语言 时间:
2017-06-25 21:24:19
阅读次数:
186
# include<stdio.h> # include <algorithm> # include <string.h> using namespace std; struct node { int v; int t; }; struct node a[100010]; bool cmp(node ...
分类:
其他好文 时间:
2017-06-24 21:46:52
阅读次数:
126
import java.util.Date;//导入包public class Test11 {public static void main(String [] args){CatFather growUp=new CatFather();//创建对象growUp.biger(35);//调用方法 ...
分类:
编程语言 时间:
2017-06-22 19:43:16
阅读次数:
253
Try to be a rainbow in someone's cloud. 当乌云萦绕心头,我愿意成为你的彩虹。 Actually there are many rainbows in our life, even when we think our life is totally darken ...
分类:
其他好文 时间:
2017-06-20 20:16:36
阅读次数:
157
ENGINEERING How Basic Performance Analysis Saved Us Millions Michael Malis May 19, 2017 9 min read This is the story of how I applied basic performanc ...
分类:
其他好文 时间:
2017-06-19 13:04:14
阅读次数:
231
我们在sql中要查询某列值为null的所有结果集时,查询条件应该这样写select * from 表 where 字段 is null而使用select * from 表 where 字段 = null是查不到正确的结果的。那这是为什么呢?要清楚为什么,就需要了解sql中的三值逻辑了。在SQL中逻辑 ...
分类:
数据库 时间:
2017-06-19 09:58:38
阅读次数:
176
前言 Numpy是一个开源的Python科学计算库,它是python科学计算库的基础库,许多其他著名的科学计算库如Pandas,Scikit-learn等都要用到Numpy库的一些功能。 本文主要内容如下: Numpy数组对象 创建ndarray数组 Numpy的数值类型 ndarray数组的属性 ...
分类:
编程语言 时间:
2017-06-18 13:28:39
阅读次数:
4701
什么是Seajs 兼容性 Chrome 3+ Firefox 2+ Safari 3.2+ Opera 10+ IE 5.5+ 基本应用 导入Seajs库 然后在它下面写模块的配置和入口。 配置和入口 这里解释下配置和入口的意思。 配置 通常在配置上修改seajs的路径和别名。 seajs的 路径是 ...
分类:
Web程序 时间:
2017-06-17 23:22:23
阅读次数:
358
随着nginx的发展,越来越多的站点使用nginx,因此nginx的优化变得越来越重要,今天我们来看看nginx的gzip压缩究竟是怎么压缩的呢? gzip(GNU-ZIP)是一种压缩技术。经过gzip压缩后页面大小能够变为原来的30%甚至更小,这样。用户浏览页面的时候速度会块得多。gzip的压缩页 ...
分类:
其他好文 时间:
2017-06-15 10:33:01
阅读次数:
175