Quantcast
Channel: 蜗牛都知道
Browsing index pages (105 articles)

Cookie Theft and Session Hijacking

http://shaoshuai.me/tech/2014/08/16/cookie-theft-and-session-hijacking.html

View Article


Java线程面试题 Top 50

http://www.importnew.com/12773.html  

View Article


linux ps aux

[root@linux ~]# ps aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1740 540 ? S Jul25 0:01 init [3] root 2 0.0 0.0 0 0 ? SN Jul25 0:00 [ksoftirqd/0] root 3 0.0 0.0 0 0 ?...

View Article

How can I create an executable jar with dependencies using Maven?

http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven

View Article

linux下mysql server 设置character_set_server 为UTF-8

show variables like ‘character%’ 可以看到mysql server的各种编码设置。要修改character_set_server 为UTF-8 /etc/my.cnf (windows 下了my.ini)设置如下 [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql...

View Article


MYSQL group by 分组取最大值

SELECT name FROM (SELECT * FROM tabl1 ORDER BY id DESC) t1 GROUP BY name ORDER BY id DESC LIMIT 10

View Article

com.mysql.jdbc.MysqlDataTruncation: Data truncation: Truncated incorrect...

mysql sql (update) 语句中对于字符串类型的字段,其值要加单引号。 如 UPDATE table1 set returnnum=1 WHERE platform=${platform} 会报以上错误,而 UPDATE table1 set returnnum=1 WHERE platform='${platform}' 则正常执行

View Article

给CentOS 6安装Tomcat 7,并自启动

http://blog.csdn.net/headman/article/details/24392463

View Article


CentOS6.4下Mysql数据库的安装与配置

http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/07/3003278.html

View Article


github git push 不需要输入账号密码

http://linglong117.blog.163.com/blog/static/27714547201332765921928/

View Article

消除SDK更新时的“https://dl-ssl.google.com refused”异常

http://blog.csdn.net/x605940745/article/details/17911115

View Article

分析JAVA应用CPU占用过高的问题

http://blog.csdn.net/jiangguilong2000/article/details/17971247

View Article

Solving “Dynamic Web Module 3.0 requires Java 1.6 or newer” in Maven Projects

http://qussay.com/2013/09/13/solving-dynamic-web-module-3-0-requires-java-1-6-or-newer-in-maven-projects/

View Article


myisam和innodb中count(*)的区别

来源:星星 COUNT(*) for Innodb Tables 总结: 1.myisam保存表的总行数,因此count(*)并且无where子句,很快会返回表的总行数 2.myisam保存表的总行数,利用count(column)并且无where子句,并且此column不为null,很快会返回表的总行数...

View Article

tablesorter Disabling sort on all columns

https://github.com/Mottie/tablesorter/issues/205

View Article


java生成高质量的缩略图

package com.hxy.secrets.util; import java.awt.Color; import java.awt.Graphics; import java.awt.Image; import java.awt.image.BufferedImage; import java.awt.image.ConvolveOp; import...

View Article

Sae的Java应用如何看日志

java的错误信息在哪里可以看?就是exception对象的printStack信息 运行期的日志在日志中心的HTTP下的error级别里看

View Article


Java 8?还记得那年大明湖畔的Java 7吗?

来源:有孚 译注:但见新人笑,哪闻旧人哭。在大家都在兴致勃勃的讨论Java 8的时候,那个早被遗忘的Java 7,或许你从来都没有记得它的好。 Java 8的发布也有一个月了,我相信现在大家都在探索JDK 8中的新特性。但是,在你彻底开始钻研Java 8之前,最好先来回顾下Java 7有哪些新特性。如果你还记得的话,Java 6是没有增加任何特性的,只是JVM的一些改动以及性能的提升,不过JDK...

View Article

tomcat 中文乱码

<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" URIEncoding="UTF-8" />

View Article

MyBatis update insert 返回值一直为-2147482646

原因是配置中加了: <!– 对于批量更新操作缓存SQL以提高性能 –> <setting name=”defaultExecutorType” value=”BATCH” /> mybatis官方的讨论列表,:“If the BATCH  executor is in use, the update counts are being lost. ”

View Article
Browsing index pages (105 articles)


Latest Images