-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathatom.xml
268 lines (158 loc) · 12.6 KB
/
atom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>阿西的笔记</title>
<subtitle>爱工作,爱生活</subtitle>
<link href="/atom.xml" rel="self"/>
<link href="http://yoursite.com/"/>
<updated>2020-04-02T05:49:15.606Z</updated>
<id>http://yoursite.com/</id>
<author>
<name>阿西</name>
</author>
<generator uri="https://hexo.io/">Hexo</generator>
<entry>
<title>Java 流式分组</title>
<link href="http://yoursite.com/2020/04/01/java-stream-group-by/"/>
<id>http://yoursite.com/2020/04/01/java-stream-group-by/</id>
<published>2020-04-01T09:35:08.000Z</published>
<updated>2020-04-02T05:49:15.606Z</updated>
<summary type="html">
<p>Stream作为Java的语法糖,已经出来很久了,写的时候还是经常忘记怎么写。<br>这里写一下,经常用到的场景。</p>
<p>场景:</p>
<ol>
<li>分组计数、列表</li>
<li>分组求和、取最值、求平均</li>
<li>分组取按条件排序第一个/最后一个</li>
</ol>
</summary>
</entry>
<entry>
<title>good-visual-tool-grafana</title>
<link href="http://yoursite.com/2020/02/17/good-visual-tool-grafana/"/>
<id>http://yoursite.com/2020/02/17/good-visual-tool-grafana/</id>
<published>2020-02-17T09:21:17.000Z</published>
<updated>2020-02-19T01:56:33.130Z</updated>
<summary type="html">
<p>公司里用到一个工具Grafana,可以连接很多数据源进行绘图。<br>感觉很方便,自己也搞一个玩下。</p>
<p>为了部署方便,放在NAS的docker上运行。<a href="https://www.jianshu.com/p/fc6a85d830ab" target="_blank" rel="noopener">参考资料</a></p>
</summary>
<category term="技术" scheme="http://yoursite.com/categories/%E6%8A%80%E6%9C%AF/"/>
<category term="工具" scheme="http://yoursite.com/categories/%E6%8A%80%E6%9C%AF/%E5%B7%A5%E5%85%B7/"/>
<category term="图表" scheme="http://yoursite.com/tags/%E5%9B%BE%E8%A1%A8/"/>
<category term="软件" scheme="http://yoursite.com/tags/%E8%BD%AF%E4%BB%B6/"/>
</entry>
<entry>
<title>python数组拆分</title>
<link href="http://yoursite.com/2020/02/07/python-list-split/"/>
<id>http://yoursite.com/2020/02/07/python-list-split/</id>
<published>2020-02-07T02:09:04.000Z</published>
<updated>2020-02-07T02:20:42.114Z</updated>
<summary type="html">
<p>批量处理数据时,经常需要切分数组</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span
</summary>
<category term="技术" scheme="http://yoursite.com/categories/%E6%8A%80%E6%9C%AF/"/>
<category term="python" scheme="http://yoursite.com/categories/%E6%8A%80%E6%9C%AF/python/"/>
<category term="备忘" scheme="http://yoursite.com/tags/%E5%A4%87%E5%BF%98/"/>
<category term="工具方法" scheme="http://yoursite.com/tags/%E5%B7%A5%E5%85%B7%E6%96%B9%E6%B3%95/"/>
</entry>
<entry>
<title>SQL写法备忘</title>
<link href="http://yoursite.com/2020/02/07/sql-writing-memo/"/>
<id>http://yoursite.com/2020/02/07/sql-writing-memo/</id>
<published>2020-02-07T01:59:46.000Z</published>
<updated>2020-02-25T15:19:38.660Z</updated>
<summary type="html">
<p>在工作中经常会遇到,写SQL的场景。<br>记录一下,供后续查询</p>
<h2 id="mysql中将多行数据合并成一行数据"><a href="#mysql中将多行数据合并成一行数据" class="headerlink" title="mysql中将多行数据合并成一行数据"></a>mysql中将多行数据合并成一行数据</h2><figure class="highlight sql"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">SELECT</span> <span class="keyword">GROUP_CONCAT</span>(<span class="keyword">id</span> SEPARATOR <span class="string">','</span>) c <span class="keyword">FROM</span> tableName</span><br></pre></td></tr></table></figure>
</summary>
<category term="技术" scheme="http://yoursite.com/categories/%E6%8A%80%E6%9C%AF/"/>
<category term="sql" scheme="http://yoursite.com/categories/%E6%8A%80%E6%9C%AF/sql/"/>
<category term="备忘" scheme="http://yoursite.com/tags/%E5%A4%87%E5%BF%98/"/>
</entry>
<entry>
<title>Java日期格式化那些事</title>
<link href="http://yoursite.com/2020/01/23/java-date-format/"/>
<id>http://yoursite.com/2020/01/23/java-date-format/</id>
<published>2020-01-23T02:54:18.000Z</published>
<updated>2020-01-25T01:11:11.334Z</updated>
<summary type="html">
<h2 id="时间格式化"><a href="#时间格式化" class="headerlink" title="时间格式化"></a>时间格式化</h2><p>今天做一个需求,需要将日期作为如下格式展示。</p>
<blockquote>
<p>日(数字)/月(数字)/年(数字)<br>eg: 18/11/2019<br>日(数字) 月(截取英文前三个字母) 年(数字)<br>eg: 18 Nov 2019</p>
</blockquote>
</summary>
<category term="技术" scheme="http://yoursite.com/categories/%E6%8A%80%E6%9C%AF/"/>
<category term="java" scheme="http://yoursite.com/categories/%E6%8A%80%E6%9C%AF/java/"/>
<category term="开发有感" scheme="http://yoursite.com/tags/%E5%BC%80%E5%8F%91%E6%9C%89%E6%84%9F/"/>
</entry>
<entry>
<title>docker入门</title>
<link href="http://yoursite.com/2020/01/21/docker-introduction/"/>
<id>http://yoursite.com/2020/01/21/docker-introduction/</id>
<published>2020-01-21T02:22:31.000Z</published>
<updated>2020-01-25T01:24:58.175Z</updated>
<summary type="html">
<p>记录mac上安装docker的过程</p>
<h2 id="安装"><a href="#安装" class="headerlink" title="安装"></a>安装</h2><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#</span><span class="bash"> 安装</span></span><br><span class="line">brew cask install docker</span><br><span class="line"><span class="meta">#</span><span class="bash"> 查看版本</span></span><br><span class="line">docker --version</span><br><span class="line"><span class="meta">#</span><span class="bash"> 查看配置信息</span></span><br><span class="line">docker info</span><br></pre></td></tr></table></figure>
</summary>
<category term="技术" scheme="http://yoursite.com/categories/%E6%8A%80%E6%9C%AF/"/>
<category term="docker" scheme="http://yoursite.com/categories/%E6%8A%80%E6%9C%AF/docker/"/>
<category term="学习新技术" scheme="http://yoursite.com/tags/%E5%AD%A6%E4%B9%A0%E6%96%B0%E6%8A%80%E6%9C%AF/"/>
</entry>
<entry>
<title>安装Node环境</title>
<link href="http://yoursite.com/2020/01/20/install-nodejs/"/>
<id>http://yoursite.com/2020/01/20/install-nodejs/</id>
<published>2020-01-20T09:08:43.000Z</published>
<updated>2020-01-23T06:32:41.871Z</updated>
<summary type="html">
<p>安装了很多次环境,每次都要到网上去找资料,还是自己记录一下比较好。</p>
<h2 id="安装node"><a href="#安装node" class="headerlink" title="安装node"></a>安装node</h2><p>本地开发经常会有使用不同版本开发的需求。<br>Mac上可以安装nvm进行版本管理。</p>
</summary>
<category term="技术" scheme="http://yoursite.com/categories/%E6%8A%80%E6%9C%AF/"/>
<category term="nodejs" scheme="http://yoursite.com/tags/nodejs/"/>
<category term="环境搭建" scheme="http://yoursite.com/tags/%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA/"/>
</entry>
<entry>
<title>工作流-发布通知系统</title>
<link href="http://yoursite.com/2020/01/17/work-flow-publish-notice/"/>
<id>http://yoursite.com/2020/01/17/work-flow-publish-notice/</id>
<published>2020-01-17T02:19:09.000Z</published>
<updated>2020-01-23T06:32:37.728Z</updated>
<summary type="html">
<h2 id="现象"><a href="#现象" class="headerlink" title="现象"></a>现象</h2><p>存在多个测试环境</p>
<p>需求上测试环境,需要让测试发布,发布后,经常需要人工问下,是否发布完成。</p>
</summary>
<category term="工作" scheme="http://yoursite.com/categories/%E5%B7%A5%E4%BD%9C/"/>
<category term="灵感" scheme="http://yoursite.com/tags/%E7%81%B5%E6%84%9F/"/>
</entry>
<entry>
<title> Java 流式对比写法</title>
<link href="http://yoursite.com/2020/01/17/java-stream-sort/"/>
<id>http://yoursite.com/2020/01/17/java-stream-sort/</id>
<published>2020-01-17T02:14:37.000Z</published>
<updated>2020-01-25T01:11:08.750Z</updated>
<summary type="html">
<h1 id="Java-流式对比写法"><a href="#Java-流式对比写法" class="headerlink" title="Java 流式对比写法"></a>Java 流式对比写法</h1><h2 id="场景定义"><a href="#场景定义" class="headerlink" title="场景定义"></a>场景定义</h2><ol>
<li>多个对比条件</li>
<li>条件之间有优先级
</summary>
<category term="技术" scheme="http://yoursite.com/categories/%E6%8A%80%E6%9C%AF/"/>
<category term="java" scheme="http://yoursite.com/categories/%E6%8A%80%E6%9C%AF/java/"/>
<category term="开发有感" scheme="http://yoursite.com/tags/%E5%BC%80%E5%8F%91%E6%9C%89%E6%84%9F/"/>
</entry>
<entry>
<title>读书笔记-写给忙碌的人的心脏病课</title>
<link href="http://yoursite.com/2019/09/07/cardiology-class-for-busy-people/"/>
<id>http://yoursite.com/2019/09/07/cardiology-class-for-busy-people/</id>
<published>2019-09-07T12:40:53.000Z</published>
<updated>2020-01-25T01:25:06.563Z</updated>
<summary type="html">
<p>最近老爸生病了,从一篇公众号文章——<a href="https://mp.weixin.qq.com/s/lbV3sgMc9ao76Yghe3wUSw" target="_blank" rel="noopener">学个教程把自己学进医院了</a>里看到这本书。看着感觉自己也快生病了,主要最近休息的不是很好,晚上睡眠时间有时都达不到6小时。<br>我用marginnote做了笔记,并在onedrive备份了源文件。</p>
</summary>
<category term="生活" scheme="http://yoursite.com/categories/%E7%94%9F%E6%B4%BB/"/>
<category term="读书笔记" scheme="http://yoursite.com/categories/%E7%94%9F%E6%B4%BB/%E8%AF%BB%E4%B9%A6%E7%AC%94%E8%AE%B0/"/>
<category term="健康" scheme="http://yoursite.com/tags/%E5%81%A5%E5%BA%B7/"/>
</entry>
</feed>