-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
388 lines (237 loc) · 13.7 KB
/
Copy pathindex.html
File metadata and controls
388 lines (237 loc) · 13.7 KB
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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="referrer" content="unsafe-url">
<title>blog</title>
<meta name="author" content="JIEL">
<meta name="description" content="hello world">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta property="og:site_name" content="blog"/>
<link href="/apple-touch-icon-precomposed.png" sizes="180x180" rel="apple-touch-icon-precomposed">
<link rel="alternate" href="/atom.xml" title="blog" type="application/atom+xml">
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/disqusjs.css">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<!--
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@11.1.0/styles/default.min.css">
<script src="https://unpkg.com/@highlightjs/cdn-assets@11.1.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script> -->
<script src="/js/disqus.js"></script>
<meta name="generator" content="Hexo 5.4.2"></head>
<body>
<a id="top"></a>
<div id="main">
<div class="main-ctnr">
<nav class="navbar">
<div class="nav-container">
<div class="nav navbar-nav navbar-left">
<div class="navbar-header">
<a href="/" class="navbar-brand">^_^"</a>
</div>
</div>
<div class="nav navbar-nav navbar-right">
<div class="dropdown">
<a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-link"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>
</a>
<base href="/">
<ul class="dropdown-content">
<div>
<a target="_blank" rel="noopener" href="https://github.com/eijil/">
GitHub
</a>
</div>
</ul>
</div>
<div class="archives"><a href="/archives">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-archive"><polyline points="21 8 21 21 3 21 3 8"></polyline><rect x="1" y="3" width="22" height="5"></rect><line x1="10" y1="12" x2="14" y2="12"></line></svg>
</a></div>
</div>
</div>
</nav>
<ul class="posts">
<li class="post-item">
<h1 class="index-title">
<a href="/2025/03/gpujs/">
使用GPU.js提升Javascript性能
</a>
</h1>
<div class="excerpt">
我们都知道Javascript是一种单线程的语言,当我们需要执行大量复杂计算时,单线程性能就显得捉襟见肘,当然Javascript也有web worker支持开启多线程,但这也是使用了CPU的性能还需要自己处理并行逻辑,显得有些麻烦。除了CPU浏览器也可以使用GPU来处理程序,我们熟悉的Web...
</div>
<div class="index-meta">
<time datetime="2025-03-22T11:30:55.787Z" itemprop="datePublished">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>
2025-03-22
</time>
<div class="reading">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>
<span id="busuanzi_value_page_pv">…</span>
</div>
</div>
</li>
<li class="post-item">
<h1 class="index-title">
<a href="/2025/03/uitest/">
UI自动化测试实践
</a>
</h1>
<div class="excerpt">
前言相信大多数前端团队在工作中都思考过UI自动测试的方案(特别是发生过线上事故的时候),虽然都知道增加测试能尽量减少事故率,但其实想落地并没那么容易,原因还是投入的成本通常会大于收益。那么这次我为什么要想尝试去做呢?主要还是觉得是使用场景上比较契合,这个下面展开。
UI自动化测试其实主要可以分...
</div>
<div class="index-meta">
<time datetime="2025-03-22T11:30:55.787Z" itemprop="datePublished">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>
2025-03-22
</time>
<div class="reading">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>
<span id="busuanzi_value_page_pv">…</span>
</div>
</div>
</li>
<li class="post-item">
<h1 class="index-title">
<a href="/2025/03/commit/">
规范GIT代码提交信息&自动化版本管理
</a>
</h1>
<div class="excerpt">
前言git作为一个开发人员必不可少的工具,代码提交也是日常一个非常频繁的操作,如果你或你的团队目前对提交信息还没有一个规范或约束,那么你有必要看看本文的内容了。
为什么要规范提交信息首先规范提交信息肯定是有必要的,简单总结下几点好处:
让项目的维护或使用人员能了解提交了哪些更改
清晰的历史记...
</div>
<div class="index-meta">
<time datetime="2025-03-22T11:30:55.786Z" itemprop="datePublished">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>
2025-03-22
</time>
<div class="reading">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>
<span id="busuanzi_value_page_pv">…</span>
</div>
</div>
</li>
<li class="post-item">
<h1 class="index-title">
<a href="/2021/02/daxigua/">
使用Phaser3+Matter.js实现“合成大西瓜”游戏
</a>
</h1>
<div class="excerpt">
最近有一款“合成大西瓜”的小游戏有点火,试玩了一下,玩法比较简单,实现难度也不大,所以参照游戏原型自己实现了一下,游戏开发主要使用了Phaser游戏框架,本文主要分享游戏功能的具体实现,对框架使用的API不会做过多介绍。
玩法分析首先简单介绍下游戏的玩法:控制水果从上方掉落,两个相同水果会合成...
</div>
<div class="index-meta">
<time datetime="2021-02-04T16:00:00.000Z" itemprop="datePublished">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>
2021-02-05
</time>
<div class="reading">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>
<span id="busuanzi_value_page_pv">…</span>
</div>
</div>
</li>
<li class="post-item">
<h1 class="index-title">
<a href="/2016/06/taoquanquan/">
H5游戏开发:套圈圈
</a>
</h1>
<div class="excerpt">
前言套圈圈游戏相信很多人小时候都玩过,玩法简单就不用介绍了,本文主要分享下开发过程中遇到的问题和解决思路
游戏体验地址:
技术选型Phaser & P2游戏框架原理都是差不多的,基本就是创建场景,精灵,主循环等等,只是每个框架写法不同而已,所以在选择框架的时候我还是考虑以下几点,文...
</div>
<div class="index-meta">
<time datetime="2016-06-02T16:00:00.000Z" itemprop="datePublished">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>
2016-06-03
</time>
<div class="reading">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>
<span id="busuanzi_value_page_pv">…</span>
</div>
</div>
</li>
<li class="post-item">
<h1 class="index-title">
<a href="/2016/06/use-ssh/">
Use Ssh
</a>
</h1>
<div class="excerpt">
记录ssh的使用
SSH的使用SSH是一种连接服务器的方式,使用SSH可以不必每次都输入用户名和密码
一、 Add SSH key to GithubMac1. 打开命令行工具,输入以下内容,替换你的邮箱名12$ssh-keygen -t rsa -C "your_email@exa...
</div>
<div class="index-meta">
<time datetime="2016-06-02T07:51:00.000Z" itemprop="datePublished">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>
2016-06-02
</time>
<div class="reading">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>
<span id="busuanzi_value_page_pv">…</span>
</div>
</div>
</li>
</ul>
<ul class="pager">
<span class="page-number current">1</span>
</ul>
</div>
</div>
<footer class="page-footer"></div>
<div class="right-foot">
<div class="firstrow">
<a href="#top" target="_self">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up"><line x1="12" y1="19" x2="12" y2="5"></line><polyline points="5 12 12 5 19 12"></polyline></svg>
</a>
<!-- © eijil 2015-2021 -->
</div>
<!-- <div class="secondrow">
<a target="_blank" rel="noopener" href="https://frankenstein-ashen.now.sh/">
Guestbook
</a>
</div> -->
</div>
</div>
</footer>
<script src="/js/zoom-image.js"></script>
<script type="text/javascript">
var imgArr = document.getElementsByTagName('img')
for (var i = 0; i < imgArr.length; i += 1) {
zoom(imgArr[i])
}
// dropdown scripts
function $(s) { return document.querySelector(s)}
function $$(s) { return document.querySelectorAll(s) }
var dropDownElArr = $$('.dropdown')
for (var i = 0; i < dropDownElArr.length; i += 1) {
dropDownElArr[i].addEventListener('click', function(event) {
var content = this.querySelector('.dropdown-content')
event.stopPropagation()
if (content.className.indexOf('open') < 0) {
content.classList.add('open')
} else {
content.classList.remove('open')
}
})
}
document.body.addEventListener('click', function() {
var dropDownContentElArr = $$('.dropdown-content')
for (var i = 0; i < dropDownContentElArr.length; i += 1) {
dropDownContentElArr[i].classList.remove('open')
}
})
</script>
</body>
</html>