↧
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 ArticleHow 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 Articlelinux 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 ArticleCookie Theft and Session Hijacking
http://shaoshuai.me/tech/2014/08/16/cookie-theft-and-session-hijacking.html
View Article