功能: 点击login , redirect 到hello.jsp 显示 "hello" 点击redirect, redirect 到 error.jsp 显示 "error" 1.创建Struts2 工程 2.web.xml 3.index.jsp 4.LoginAction.java 5.Use ...
分类:
其他好文 时间:
2016-05-14 21:27:45
阅读次数:
275
Here I will list some parameters which people use very ofen, I will attach the output of the command with one parameters as well. 1. Create a new user ...
分类:
系统相关 时间:
2016-05-14 18:55:13
阅读次数:
255
[HDU5015]233 Matrix 试题描述 In our daily life we often use 233 to express our feelings. Actually, we may say 2333, 23333, or 233333 ... in the same meani ...
分类:
其他好文 时间:
2016-05-14 16:55:15
阅读次数:
157
内存管理器–谈论如何自定义内存分配机制
Memory pools, also called fixed-size blocks allocation, is the use of pools for memory management that allows dynamic memory allocation comparable to malloc or C++’s operator new....
分类:
编程语言 时间:
2016-05-14 12:49:17
阅读次数:
273
工作中使用到一些特殊的字符串,比如‘50-1-1-2-3’,当需要得到‘50-1-1-2’时可使用以下自定义函数DELIMITER$$
USE`mydb`$$
DROPFUNCTIONIFEXISTS`get_content_before_last_separator`$$
CREATEDEFINER=`root`@`%`FUNCTION`get_content_before_last_separator`(charStrVAR..
分类:
数据库 时间:
2016-05-14 01:25:46
阅读次数:
530
balabala....pur更新requirements.txt文件中的软件包说明:安装pur:pipinstallpur使用方法使用pur处理requirements.txt文件,那么它会将你的程序包都更新到最新版本。比如,有一个requirements.txt文件如下:flask==0.9sqlalchemy==0.9.10alembic==0.8.4使用这个requirements.tx..
分类:
编程语言 时间:
2016-05-14 01:17:43
阅读次数:
319
1.1Theusestatementwithnon-compoundname1.1.1现象调试程序,发现运行如下代码程序就跑飞了:require_once__DIR__.‘/actions/‘.$refectClass.‘.php‘;1.1.2原因因为是在PHPStorm中调试,一开始查看__DIR__变量,发现其一直为xdebug,遂以为是这个问题,网上查找很多资料均没有解..
分类:
Web程序 时间:
2016-05-13 15:26:06
阅读次数:
1634
近年来,漏洞挖掘越来越火,各种漏洞挖掘、利用的分析文章层出不穷。本系列文章主要从Linux系统堆内存管理机制出发,逐步介绍诸如基本堆溢出漏洞、基于unlink的堆溢出漏洞利用、double free、use-after-free等常见的堆溢出漏洞利用技术。...
分类:
系统相关 时间:
2016-05-13 15:16:43
阅读次数:
245
http://www.cnblogs.com/xrwang/archive/2010/02/09/HowToUseContour.html 作者:王先荣 前言 轮廓是构成任何一个形状的边界或外形线。前面讲了如何根据色彩及色彩的分布(直方图对比和模板匹配)来进行匹配,现在我们来看看如何利用物体的轮廓。 ...
分类:
其他好文 时间:
2016-05-13 13:44:23
阅读次数:
348
设置状态栏的样式, typedef NS_ENUM(NSInteger, UIStatusBarStyle) { UIStatusBarStyleDefault = 0, // Dark content, for use on light backgrounds UIStatusBarStyleLi ...
分类:
其他好文 时间:
2016-05-13 13:04:36
阅读次数:
97