摘要: Select 'SET FOREIGN_KEY_CHECKS = 0;'unionSelect CONCAT( 'drop table ', table_name, ';' )FROM information_schema.tablesWhere table_name LIKE 'as_baiqis 阅读全文
posted @ 2018-04-24 10:08 hoge 阅读(2390) 评论(0) 推荐(1) 编辑
摘要: Mac版的idea,打开Preference->Editor->General,打勾红色框框。 然后使用快捷键 contrl + option + o 只能去掉当前文件没有引用的包,并不能一键去掉所有文件的,那么还有一种方式是:点击IDEA工具的Analyze-->inspect Code 选项。 阅读全文
posted @ 2018-04-16 13:51 hoge 阅读(1995) 评论(0) 推荐(0) 编辑
摘要: (?<=,).*?(?=,) 阅读全文
posted @ 2018-04-13 17:23 hoge 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 系统集成概况的思维导图,纯手绘: 阅读全文
posted @ 2018-04-01 13:02 hoge 阅读(507) 评论(0) 推荐(0) 编辑
摘要: ps 中取消网格线的吸附功能,其实是对齐功能 阅读全文
posted @ 2018-04-01 10:57 hoge 阅读(2303) 评论(0) 推荐(0) 编辑
摘要: org.apache.maven.plugins maven-surefire-plugin true 阅读全文
posted @ 2018-03-27 16:37 hoge 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 步骤1: cp /usr/share/vim/vimrc ~/.vimrc 先复制一份vim配置模板到个人目录下 注:redhat 改成 cp /etc/vimrc ~/.vimrc 步骤2: vi ~/.vimrc 进入insert模式,在最后加二行 syntax on set nu! 保存收工。 阅读全文
posted @ 2018-03-27 14:21 hoge 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 问题描述: 本机可以,服务器乱码; 解决方案: 我采用了第三条,改server.xml配置 方法一: get方式提交的参数编码,只支持iso8859-1编码。因此,如果里面有中文。在后台就需要转换编码,如下 String bname = request.getParameter("bname");  阅读全文
posted @ 2018-03-27 13:29 hoge 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 1、查看centos版本 # lsb_release -a 2、查找大于1000M的文件 find / -type f -size +1000M -print0 | xargs -0 du –h 阅读全文
posted @ 2018-03-19 10:26 hoge 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 测试告急,服务器不行了。down了…… 1、linux如何查看磁盘剩余空间: [root@XXX~]# df -lhFilesystem Size Used Avail Use% Mounted on/dev/xvda1 20G 13G 6.4G 100% /tmpfs 938M 0 938M 0% 阅读全文
posted @ 2018-03-14 14:28 hoge 阅读(2643) 评论(0) 推荐(0) 编辑