-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
416 lines (190 loc) · 8.99 KB
/
index.html
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
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="theme-color" content="#f8f5ec" />
<meta name="msapplication-navbutton-color" content="#f8f5ec">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#f8f5ec">
<link rel="alternate" href="/default" title="Ryan Li的博客">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=2.6.0" />
<link rel="canonical" href="http://9tong.github.io/"/>
<link rel="stylesheet" type="text/css" href="/css/style.css?v=2.6.0" />
<script id="google_analytics">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-49890185-1', 'auto');
ga('send', 'pageview');
</script>
<script id="baidu_push">
(function(){
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
</script>
<title> Ryan Li的博客 </title>
</head>
<body><div id="mobile-navbar" class="mobile-navbar">
<div class="mobile-header-logo">
<a href="/." class="logo">Ryan Li的博客</a>
</div>
<div class="mobile-navbar-icon">
<span></span>
<span></span>
<span></span>
</div>
</div>
<nav id="mobile-menu" class="mobile-menu slideout-menu">
<ul class="mobile-menu-list">
<a href="/">
<li class="mobile-menu-item">
首页
</li>
</a>
<a href="/archives/">
<li class="mobile-menu-item">
归档
</li>
</a>
</ul>
</nav>
<div class="container" id="mobile-panel">
<header id="header" class="header"><div class="logo-wrapper">
<a href="/." class="logo">Ryan Li的博客</a>
</div>
<nav class="site-navbar">
<ul id="menu" class="menu">
<li class="menu-item">
<a class="menu-item-link" href="/">
首页
</a>
</li>
<li class="menu-item">
<a class="menu-item-link" href="/archives/">
归档
</a>
</li>
</ul>
</nav>
</header>
<main id="main" class="main">
<div class="content-wrapper">
<div id="content" class="content">
<section id="posts" class="posts">
<article class="post">
<header class="post-header">
<h1 class="post-title">
<a class="post-link" href="/2018/04/16/setup-git-server-and-use-ssh-key/">使用git快速部署php代码</a>
</h1>
<div class="post-meta">
<span class="post-time">
2018-04-16
</span>
</div>
</header>
<div class="post-content">
<p>面对频繁更新的php文件,传统的ftp方式部署方式是不可能的,小团队搭建持续集成部署又太繁琐,直接用git部署方便多了。</p>
<p>windows安装git就不说了,搭建git服务器也非常简单,推荐看<a href="https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/00137583770360579bc4b458f044ce7afed3df579123eca000" target="_blank" rel="noopener">廖雪峰的搭建Git服务器</a>教程,按照教程做好之后,每次连接git服务器都要输入密码,很烦人,用ssh-key连接的话可以省去输密码,但是教程里面讲的不多,这里大概说一下步骤。</p>
<div class="read-more">
<a href="/2018/04/16/setup-git-server-and-use-ssh-key/" class="read-more-link">阅读更多</a>
</div>
</div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title">
<a class="post-link" href="/2018/03/14/docker-toolbox-issue/">Docker Toolbox无法访问容器服务</a>
</h1>
<div class="post-meta">
<span class="post-time">
2018-03-14
</span>
</div>
</header>
<div class="post-content">
<p>最近在看Docker,感觉很适合开发者用,部署服务器不要太方便,只是学习的成本稍微有点高,在公司的windows上装了Docker Toolbox,起了一个nginx容器</p>
<pre><code>$ docker container run \
-d \
-p 8080:80 \
--rm \
--name mynginx \
nginx
</code></pre><p>然后通过<code>localhost:8080</code>死活访问不了,检查命令看端口映射也没问题,网上搜了半天才发现原来是因为Toolbox用到了虚拟机,容器运行在虚拟机中,端口也是映射到虚拟机上,相当于中间隔了一层,把localhost换成虚拟机的IP就可以访问了。</p>
</div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title">
<a class="post-link" href="/2014/04/13/2014-04-10-how-to-generate-shockingly-good-2d-lightning-effects/">译:如何制作牛逼的闪电特效2d</a>
</h1>
<div class="post-meta">
<span class="post-time">
2014-04-13
</span>
</div>
</header>
<div class="post-content">
<p>这是我第一次翻译教程,翻译不好的地方请见谅,观看视频需备梯子。在此<strong>声明</strong>,此翻译原稿来自于互联网,供学习交流之用,请勿进行商业传播。同时,转载时不要移除本声明。如产生任何纠纷,与本博客所有人、发表该翻译稿之人无任何关系。谢谢合作!</p>
<p>翻译:ryan li</p>
<p>原文地址:<a href="http://gamedevelopment.tutsplus.com/tutorials/how-to-generate-shockingly-good-2d-lightning-effects--gamedev-2681" target="_blank" rel="noopener">http://gamedevelopment.tutsplus.com/tutorials/how-to-generate-shockingly-good-2d-lightning-effects—gamedev-2681</a></p>
<p>闪电特效在游戏中有很大的用处,从烘托暴风雨的背景气氛到魔法师的闪电攻击。这篇教程里,作者会说明如何用程序生成很酷的2d闪电效果(2D lightning effects):闪电链(bolts),分支(branches),甚至文字(text)</p>
<div class="read-more">
<a href="/2014/04/13/2014-04-10-how-to-generate-shockingly-good-2d-lightning-effects/" class="read-more-link">阅读更多</a>
</div>
</div>
</article>
</section>
<nav class="pagination">
</nav>
</div>
</div>
</main>
<footer id="footer" class="footer">
<div class="social-links">
<a href="mailto:455840982@qq.com" class="iconfont icon-email" title="email"></a>
<a href="/atom.xml" class="iconfont icon-rss" title="rss"></a>
</div>
<div class="copyright">
<span class="power-by">
由 <a class="hexo-link" href="https://hexo.io/">Hexo</a> 强力驱动
</span>
<span class="division">|</span>
<span class="theme-info">
主题 -
<a class="theme-link" href="https://github.com/ahonn/hexo-theme-even">Even</a>
</span>
<span class="copyright-year">
©
2015 -
2018
<span class="heart">
<i class="iconfont icon-heart"></i>
</span>
<span class="author">Ryan Li</span>
</span>
</div>
</footer>
<div class="back-to-top" id="back-to-top">
<i class="iconfont icon-up"></i>
</div>
</div>
<script type="text/javascript" src="/lib/jquery/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="/lib/slideout/slideout.js"></script>
<script type="text/javascript" src="/js/src/even.js?v=2.6.0"></script>
<script type="text/javascript" src="/js/src/bootstrap.js?v=2.6.0"></script>
</body>
</html>