forked from zjiecode/zjiecode.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
385 lines (222 loc) · 10.7 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
<!DOCTYPE HTML>
<html >
<head>
<meta name="tencent-site-verification" content="eaa700332f4bdb18330c0fb7fa7b150d"/>
<script data-ad-client="ca-pub-3727141096443595" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<meta charset="UTF-8">
<title>星雨晴空</title>
<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
<meta name="author" content="zjiecode">
<meta name="description" content="在工作生活中,会不断的学习各种新的概念、领域、技术,然后把它记录下来,避免遗忘,方便需要的时候,再次查阅。">
<meta name="keywords" content="技术博客,安卓,java">
<meta property="og:type" content="website">
<meta property="og:title" content="星雨晴空">
<meta property="og:url" content="https://zjiecode.github.io/index.html">
<meta property="og:site_name" content="星雨晴空">
<meta property="og:description" content="在工作生活中,会不断的学习各种新的概念、领域、技术,然后把它记录下来,避免遗忘,方便需要的时候,再次查阅。">
<meta property="og:locale" content="default">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="星雨晴空">
<meta name="twitter:description" content="在工作生活中,会不断的学习各种新的概念、领域、技术,然后把它记录下来,避免遗忘,方便需要的时候,再次查阅。">
<link rel="alternative" href="/atom.xml" title="星雨晴空" type="application/atom+xml">
<link rel="icon" href="/img/favicon.ico">
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<header>
<div>
<div id="textlogo">
<h1 class="site-name"><a href="/" title="星雨晴空">星雨晴空</a></h1>
<h2 class="blog-motto">张杰的随笔技术</h2>
</div>
<div class="navbar"><a class="navbutton navmobile" href="#" title="Menu">
</a></div>
<nav class="animated">
<ul>
<ul>
<li><a href="/">首页</a></li>
<li><a href="/archives">归档</a></li>
<li><a href="/about">关于我</a></li>
<li>
<form class="search" action="//google.com/search" method="get" accept-charset="utf-8">
<label>Search</label>
<input type="search" id="search" name="q" autocomplete="off" maxlength="20" placeholder="Search" />
<input type="hidden" name="q" value="site:zjiecode.github.io">
</form>
</li>
</ul>
</nav>
</div>
</header>
<div id="container">
<div id="main">
<section class="post" itemscope itemprop="blogitem">
<a href="/2019/04/15/shell/" title="一篇文章从了解到入门shell" itemprop="url">
<h1 itemprop="name">一篇文章从了解到入门shell</h1>
<p itemprop="description" >请注明文章来源:http://blog.zjiecode.com/2019/04/15/shell/
1、shell介绍shell 俗称叫做壳,计算机的壳层,和内核是相对的,用于和用户交互,接收用户指令,调用相应的程序。因此,把shell分为2大类
1.1、图形界面shell(</p>
<time datetime="2019-04-15T11:40:36.000Z" itemprop="datePublished">2019-04-15</time>
</a>
</section>
<section class="post" itemscope itemprop="blogitem">
<a href="/2019/02/26/java-thread-safe/" title="Java中的线程安全和一些常见的保证线程安全的方法" itemprop="url">
<h1 itemprop="name">Java中的线程安全和一些常见的保证线程安全的方法</h1>
<p itemprop="description" >什么是线程安全并发编程/多线程在讲Java的线程安全之前,首先我们要知道,Java的多线程编程,可以简单的理解为,让程序同时干多件事情,比较经典一点的就是,在UI程序中,一般会有一个主线程来负责渲染UI界面(比如安卓中的main线程),这个线程一般都是一个死循环,不断的渲染界面的</p>
<time datetime="2019-02-26T03:50:00.000Z" itemprop="datePublished">2019-02-26</time>
</a>
</section>
<section class="post" itemscope itemprop="blogitem">
<a href="/2018/10/26/java-proxy/" title="Java的静态代理和动态代理" itemprop="url">
<h1 itemprop="name">Java的静态代理和动态代理</h1>
<p itemprop="description" >什么是代理什么是代理呢,其实很好理解,就是不直接访问目标,而是通过一个中间层来访问,就好像下面这样:
Java的静态代理举个例子,如果我们一些水果,比如:香蕉、苹果等,写成Java代码,大概是下面这个样子:1234567891011121314151617181920212223</p>
<time datetime="2018-10-26T04:56:50.000Z" itemprop="datePublished">2018-10-26</time>
</a>
</section>
</div>
<div class="openaside"><a class="navbutton" href="#" title="Show Sidebar"></a></div>
<div id="asidepart">
<div class="closeaside"><a class="closebutton" href="#" title="Hide Sidebar"></a></div>
<aside class="clearfix">
<div class="github-card">
<p class="asidetitle">Github Card</p>
<div class="github-card" data-github="zjiecode" data-theme="medium"></div>
<script type="text/javascript" src="//cdn.jsdelivr.net/github-cards/latest/widget.js" ></script>
</div>
<div class="categorieslist">
<p class="asidetitle">Categories</p>
<ul>
<li><a href="/categories/Java/" title="Java">Java<sup>2</sup></a></li>
<li><a href="/categories/Linux/" title="Linux">Linux<sup>1</sup></a></li>
</ul>
</div>
<div class="tagslist">
<p class="asidetitle">Tags</p>
<ul class="clearfix">
<li><a href="/tags/Java/" title="Java">Java<sup>2</sup></a></li>
<li><a href="/tags/代理/" title="代理">代理<sup>1</sup></a></li>
<li><a href="/tags/Shell/" title="Shell">Shell<sup>1</sup></a></li>
<li><a href="/tags/Linux/" title="Linux">Linux<sup>1</sup></a></li>
<li><a href="/tags/多线程/" title="多线程">多线程<sup>1</sup></a></li>
<li><a href="/tags/线程安全/" title="线程安全">线程安全<sup>1</sup></a></li>
</ul>
</div>
<div class="linkslist">
<p class="asidetitle">Links</p>
<ul>
<li>
<a href="https://github.com/zjiecode/" target="_blank" title="zjiecode'Github">zjiecode'Github</a>
</li>
<li>
<a href="https://weifabiao.com/" target="_blank" title="SR.李的博客">SR.李的博客</a>
</li>
</ul>
</div>
<div class="tagcloudlist">
<p class="asidetitle">Tag Cloud</p>
<div class="tagcloudlist clearfix">
<a href="/tags/Java/" style="font-size: 20px;">Java</a> <a href="/tags/Linux/" style="font-size: 10px;">Linux</a> <a href="/tags/Shell/" style="font-size: 10px;">Shell</a> <a href="/tags/代理/" style="font-size: 10px;">代理</a> <a href="/tags/多线程/" style="font-size: 10px;">多线程</a> <a href="/tags/线程安全/" style="font-size: 10px;">线程安全</a>
</div>
</div>
</aside>
</div>
</div>
<footer><div id="footer" >
<section class="info">
<p> 开心的写好每一段代码. <br/>
认真的过好每一秒生活.</p>
</section>
<div class="social-font" class="clearfix">
<a href="https://github.com/zjiecode" target="_blank" class="icon-github" title="github"></a>
</div>
<p class="copyright">
Powered by <a href="http://hexo.io" target="_blank" title="hexo">hexo</a> and Theme by <a href="https://github.com/wuchong/jacman" target="_blank" title="Jacman">Jacman</a> © 2019 <a href="https://beian.miit.gov.cn/#/integrated/index" target="_blank">蜀ICP备14025423号-1</a>
<a href="/about" target="_blank" title="zjiecode">zjiecode</a>
</p>
</div>
</footer>
<script src="/js/jquery-2.0.3.min.js"></script>
<script src="/js/jquery.imagesloaded.min.js"></script>
<script src="/js/gallery.js"></script>
<script src="/js/jquery.qrcode-0.12.0.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.navbar').click(function(){
$('header nav').toggleClass('shownav');
});
var myWidth = 0;
function getSize(){
if( typeof( window.innerWidth ) == 'number' ) {
myWidth = window.innerWidth;
} else if( document.documentElement && document.documentElement.clientWidth) {
myWidth = document.documentElement.clientWidth;
};
};
var m = $('#main'),
a = $('#asidepart'),
c = $('.closeaside'),
o = $('.openaside');
c.click(function(){
a.addClass('fadeOut').css('display', 'none');
o.css('display', 'block').addClass('fadeIn');
m.addClass('moveMain');
});
o.click(function(){
o.css('display', 'none').removeClass('beforeFadeIn');
a.css('display', 'block').removeClass('fadeOut').addClass('fadeIn');
m.removeClass('moveMain');
});
$(window).scroll(function(){
o.css("top",Math.max(80,260-$(this).scrollTop()));
});
$(window).resize(function(){
getSize();
if (myWidth >= 1024) {
$('header nav').removeClass('shownav');
}else{
m.removeClass('moveMain');
a.css('display', 'block').removeClass('fadeOut');
o.css('display', 'none');
}
});
});
</script>
<link rel="stylesheet" href="/fancybox/jquery.fancybox.css" media="screen" type="text/css">
<script src="/fancybox/jquery.fancybox.pack.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.article-content').each(function(i){
$(this).find('img').each(function(){
if ($(this).parent().hasClass('fancybox')) return;
var alt = this.alt;
if (alt) $(this).after('<span class="caption">' + alt + '</span>');
$(this).wrap('<a href="' + this.src + '" title="' + alt + '" class="fancybox"></a>');
});
$(this).find('.fancybox').each(function(){
$(this).attr('rel', 'article' + i);
});
});
if($.fancybox){
$('.fancybox').fancybox();
}
});
</script>
<!-- Analytics Begin -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9437109330811145"
crossorigin="anonymous"></script>
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=66088623" charset="UTF-8"></script>
<!-- Analytics End -->
<!-- Totop Begin -->
<div id="totop">
<a title="Back to Top"><img src="/img/scrollup.png"/></a>
</div>
<script src="/js/totop.js"></script>
<!-- Totop End -->
<!-- MathJax Begin -->
<!-- mathjax config similar to math.stackexchange -->
<!-- MathJax End -->
<!-- Tiny_search Begin -->
<!-- Tiny_search End -->
</body>
</html>