上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页
摘要: 1.centos 版本 下载最新稳定版 https://www.nginx.com/resources/wiki/start/topics/tutorials/install/# 2.执行语句: 如碰到./configure: error: the HTTP rewrite module requi 阅读全文
posted @ 2016-04-16 22:45 無限大 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1.mvnrepository上搜索 guava。并引用其jar包 类似compile "com.google.guava:guava:18.0" 测试代码 阅读全文
posted @ 2016-04-15 13:23 無限大 阅读(1305) 评论(0) 推荐(0) 编辑
摘要: public static Integer getInfo(String name) { HttpResponse httpResponse = null; try { httpResponse = Unirest.get(url) //url网址 .queryStri... 阅读全文
posted @ 2016-04-14 11:13 無限大 阅读(1274) 评论(0) 推荐(0) 编辑
摘要: 第一步:在Mac上安装Remote Desktop Connection 进入Microsoft Remote Desktop Connection下载安装包。 下载完成之后,双击安装包进行安装。 第二步:在Windows电脑上设置“远程设置” 右键“我的电脑”,单击“属性”,单击“远程设置” 勾选 阅读全文
posted @ 2016-04-09 18:45 無限大 阅读(4582) 评论(0) 推荐(0) 编辑
摘要: private void iterateClass(Object object) { Field[] fields = object.getClass().getDeclaredFields(); for(Field field : fields) { String name = field.getName().substring(0, 1... 阅读全文
posted @ 2016-03-31 19:36 無限大 阅读(1647) 评论(0) 推荐(0) 编辑
摘要: 1.group by并且计算总数 2.Crieria的使用,注意andOperator和orOperator的用法 Aggregation agg = Aggregation.newAggregation( Aggregation.match(new Criteria() .andOperator( 阅读全文
posted @ 2016-03-24 16:05 無限大 阅读(9254) 评论(0) 推荐(0) 编辑
摘要: /** * 压缩文件成Gzip格式,Linux上可使用 * 压缩文件夹生成后缀名为".gz"的文件并下载 * @param folderPath,要压缩的文件夹的路径 * @param zipFilePath,压缩后文件的路径 * @param zipFileName,压缩后文件的名称 * @throws BizException * */ public static void Co... 阅读全文
posted @ 2016-03-23 15:16 無限大 阅读(5302) 评论(0) 推荐(0) 编辑
摘要: svn ignore操作 svn propset svn:ignore ".classpath > .project > bin > build > " . 可设置当前文件夹的忽略目录。注意set会清楚之前.中的内容 mac的全局svn变量在~/.subversion/config文件中 如果想直接 阅读全文
posted @ 2016-03-21 12:56 無限大 阅读(198) 评论(0) 推荐(0) 编辑
摘要: mac用 查找上一个: shift + cmd + G 查找下一个:cmd + G 查找所有:先将鼠标点在一个需要查找的单词当中,cmd + ctrl + G windows: alt + f3 公用 移动一行: ctrl + shift 双关键字查询 key1.+key2 正则表达式查询:查询10 阅读全文
posted @ 2016-03-21 11:34 無限大 阅读(145) 评论(0) 推荐(0) 编辑
摘要: iostat -k 查看io的iowait值是否高 iotop 查看具体是哪个组件在占用io。 iostat -x -x代表显示一些扩展参数。 %util:一秒中有百分之多少的时间用于 I/O 操作,或者说一秒中有多少时间 I/O 队列是非空的。即 delta(use)/s/1000 (因为use的 阅读全文
posted @ 2016-03-21 10:54 無限大 阅读(200) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页