- 博客(9)
- 资源 (2)
- 问答 (1)
- 收藏
- 关注
转载 java过滤非汉字的utf8的字符
http://outofmemory.cn/code-snippet/2616/java-guolv-negate-hanzi-utf8-charaeterstatic public String filterOffUtf8Mb4(String text) throws UnsupportedEncodingException { byte[] bytes = text.getBy
2016-06-05 22:01:35
3372
1
原创 laravel redirect url
url 重定向use Illuminate\Http\RedirectResponse;$response = new RedirectResponse($url); return $response;设定cookiesuse Illuminate\Support\Facades\Response as FacadeResponse; $conte
2016-05-30 11:25:08
2812
转载 Ubuntu 14.04 下搭建SVN服务器 svn://
Ubuntu 14.04 下搭建SVN服务器 svn://安装软件包:sudo apt-get install subversion之后选择SVN服务文件及配置文件的放置位置。我放在了/srv下的svn目录。cd /srvsudo mkdir svn我的svn版本仓库叫tone_srccd /srv/svnsudo mkdir ton
2016-01-19 14:45:46
408
原创 u 盘安装Ubuntu
Universal-USB-Installer-1.9.5.9.exe 这个工具进行u盘安装盘的制作,安装成功以后,可能会将启动文件安装到u盘中了,也就是/dev/sdb中了。这个时候用下面的命令:sudo grub-install /dev/sdasudo update grub经过验证OK。
2016-01-19 12:05:23
385
原创 ubuntu apache2 常用的命令:
ubuntu apache2 常用的命令:a2disconf a2dismod a2dissite a2enconf a2enmod a2ensite a2p a2queryapache2 配置多虚拟主机,直接copy原有的 000-default.conf 如下面的,然后再将新的域名的追加一份即可。 # The Serve
2015-12-30 10:18:45
874
转载 The last packet sent successfully to the server was 0 milliseconds ago.
摘要:今天在使用JDBC操作mysql时遇到下面的异常信息:引用Thelastpacketsentsuccessfullytotheserverwas0millisecondsago.Thedriverhasnotreceivedanypacketsfromtheserver.atcom.tomymap.galaxy.virgo.util.DbService.getConnection(DbSer
2015-09-24 11:56:41
39344
1
转载 JVM内存JAVA_OPTS参数说明
JVM内存JAVA_OPTS参数说明 今天linux服务器上tomcat重新配置,启动参数时报错:在设置tomcat 启动时,我把JAVA_OPTS 设成-Xms800m -Xmx1024m总是报 Error occurred during initialization of VM Could not reserve enough space for objec
2015-09-02 12:27:10
1739
原创 [MySql]常用的总结
数据导出:mysqldump --default-character-set=utf8 -h${host_ip} -u${user_name} -p${password} ${database} ${table} -w "update_time > '2001-08-09 16:00:00'" > xxxxxxxxxx_`date +%Y%m%d`.sql注意: 这个是时间是
2015-08-14 08:38:05
282
1.SQLPLUS上机操作要点1.doc
2008-12-10
至急的一个问题,关于spring3.12+ mybatis的事物控制
2012-12-14
TA创建的收藏夹 TA关注的收藏夹
TA关注的人