对称加密:DES(Data Encryption Standard), 1976,
容易被破解,不安全AES(Advanced Encryption Standard orRijndael), around 2001,目前最流行
aes-128|192|256非对称加密(public-key cry...
分类:
其他好文 时间:
2014-06-07 02:16:58
阅读次数:
218
Given amxngrid filled with non-negative
numbers, find a path from top left to bottom right whichminimizesthe sum of all
numbers along its path.Note:Yo...
分类:
其他好文 时间:
2014-06-04 20:57:08
阅读次数:
360
class Solution {public: string
simplifyPath(string path) { int len = path.length(); if (len spath; int p = -1,
q = 0; ...
分类:
其他好文 时间:
2014-06-04 20:15:49
阅读次数:
197
Given an absolute path for a file (Unix-style),
simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/",
=>"/c"click to show corner cas...
分类:
其他好文 时间:
2014-06-04 19:32:14
阅读次数:
270
1 innodb 自增列出现重复值的问题 先从问题入手,重现下这个buguse test;drop
table t1;create table t1(id int auto_increment, a int, primary key (id))
engine=innodb;insert into t...
分类:
数据库 时间:
2014-06-03 13:24:55
阅读次数:
503
tomcat 的 server.html
配置文件加在之上path虚拟目录docBase实际目录http://localhost:8080/itcast/1.html
分类:
Web程序 时间:
2014-06-03 13:19:45
阅读次数:
232
关于index_hint
在mysql查询语句中可以通过指定index_hint来告诉优化器如何使用索引,详细可以参考这里index_hint: USE {INDEX|KEY} [FOR
{JOIN|ORDER BY|GROUP BY}] ([index_list]) | IGNO...
分类:
数据库 时间:
2014-06-03 13:05:59
阅读次数:
394
Mybatis自动生成代码,需要用到mybatis
Generator,详见http://mybatis.github.io/generator/configreference/generatedKey.htmlinsert语句如果要返回自动生成的key值,一般会在insert里加入useGener...
分类:
其他好文 时间:
2014-05-30 21:44:12
阅读次数:
593
ls -lr反向排序结果==============================ls
${PATH//:/\ } | grep ==============================echo
$RANDOM==============================[[ $# -ne 3 ...
分类:
其他好文 时间:
2014-05-30 21:35:51
阅读次数:
335
操作方法:1.新建工程;File——>new——>Java
Project——>TestServlet(工程名称)——>Finish.2.加载servlet-api.jar类包;TestServlet(右键)——>Build
Path——>Configure Build Path——>Library...
分类:
其他好文 时间:
2014-05-29 15:24:02
阅读次数:
254