会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一秒のリフレイン
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
15
下一页
2016年4月16日
nginx安装,反向代理配置
摘要: 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 無限大
阅读(229)
评论(0)
推荐(0)
2016年4月15日
排序的hashmap(guava)
摘要: 1.mvnrepository上搜索 guava。并引用其jar包 类似compile "com.google.guava:guava:18.0" 测试代码
阅读全文
posted @ 2016-04-15 13:23 無限大
阅读(1319)
评论(0)
推荐(0)
2016年4月14日
Unirest-拼装http请求发送rest接口
摘要: public static Integer getInfo(String name) { HttpResponse httpResponse = null; try { httpResponse = Unirest.get(url) //url网址 .queryStri...
阅读全文
posted @ 2016-04-14 11:13 無限大
阅读(1286)
评论(0)
推荐(0)
2016年4月9日
mac远程连接windows
摘要: 第一步:在Mac上安装Remote Desktop Connection 进入Microsoft Remote Desktop Connection下载安装包。 下载完成之后,双击安装包进行安装。 第二步:在Windows电脑上设置“远程设置” 右键“我的电脑”,单击“属性”,单击“远程设置” 勾选
阅读全文
posted @ 2016-04-09 18:45 無限大
阅读(4616)
评论(0)
推荐(0)
2016年3月31日
java class遍历属性
摘要: 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 無限大
阅读(1663)
评论(0)
推荐(0)
2016年3月24日
mongodb mongotemplate聚合
摘要: 1.group by并且计算总数 2.Crieria的使用,注意andOperator和orOperator的用法 Aggregation agg = Aggregation.newAggregation( Aggregation.match(new Criteria() .andOperator(
阅读全文
posted @ 2016-03-24 16:05 無限大
阅读(9276)
评论(0)
推荐(0)
2016年3月23日
java tar.gz文件生成
摘要: /** * 压缩文件成Gzip格式,Linux上可使用 * 压缩文件夹生成后缀名为".gz"的文件并下载 * @param folderPath,要压缩的文件夹的路径 * @param zipFilePath,压缩后文件的路径 * @param zipFileName,压缩后文件的名称 * @throws BizException * */ public static void Co...
阅读全文
posted @ 2016-03-23 15:16 無限大
阅读(5363)
评论(0)
推荐(0)
2016年3月21日
svn操作
摘要: svn ignore操作 svn propset svn:ignore ".classpath > .project > bin > build > " . 可设置当前文件夹的忽略目录。注意set会清楚之前.中的内容 mac的全局svn变量在~/.subversion/config文件中 如果想直接
阅读全文
posted @ 2016-03-21 12:56 無限大
阅读(209)
评论(0)
推荐(0)
sublime常用快捷键
摘要: mac用 查找上一个: shift + cmd + G 查找下一个:cmd + G 查找所有:先将鼠标点在一个需要查找的单词当中,cmd + ctrl + G windows: alt + f3 公用 移动一行: ctrl + shift 双关键字查询 key1.+key2 正则表达式查询:查询10
阅读全文
posted @ 2016-03-21 11:34 無限大
阅读(150)
评论(0)
推荐(0)
iostat使用
摘要: 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 無限大
阅读(207)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
15
下一页
公告