-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
168 lines (157 loc) · 38.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
<!DOCTYPE html><html style="display:none" lang="zh"><head><meta charset="utf-8"><script>window.materialVersion="1.5.5",window.oldVersion=["codestartv1","1.3.4","1.4.0","1.4.0b1","1.5.0"]</script><meta http-equiv="x-dns-prefetch-control" content="on"><link rel="dns-prefetch" href="https://cdn1.lncld.net"><link rel="dns-prefetch" href="https://fonts.googleapis.com"><meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"><meta name="renderer" content="webkit"><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"><title> 认真搞定一切</title><link rel="icon shortcut" type="image/ico" href="/img/favicon.png"><link rel="icon" href="/img/favicon.png"><meta name="format-detection" content="telephone=no"><meta name="description" itemprop="description" content="技术分享和生活体会"><meta name="keywords" content="认真搞定一切"><meta name="theme-color" content="#0097A7"><meta http-equiv="Cache-Control" content="no-transform"><meta http-equiv="Cache-Control" content="no-siteapp"><!--[if lte IE 9]><link rel="stylesheet" href="/css/ie-blocker.css"><script src="/js/ie-blocker.zhCN.js"></script><![endif]--><script>window.lsloader={jsRunSequence:[],jsnamemap:{},cssnamemap:{}},lsloader.removeLS=function(e){try{localStorage.removeItem(e)}catch(e){}},lsloader.setLS=function(e,t){try{localStorage.setItem(e,t)}catch(e){}},lsloader.getLS=function(e){var t="";try{t=localStorage.getItem(e)}catch(e){t=""}return t},versionString="/*"+(window.materialVersion||"unknownVersion")+"*/",lsloader.clean=function(){try{for(var e=[],t=0;t<localStorage.length;t++)e.push(localStorage.key(t));e.forEach(function(e){var n=lsloader.getLS(e);window.oldVersion&&window.oldVersion.reduce(function(e,t){return e||-1!==n.indexOf("/*"+t+"*/")},!1)&&lsloader.removeLS(e)})}catch(e){}},lsloader.clean(),lsloader.load=function(e,t,n,s){var a;if("boolean"==typeof n&&(s=n,n=void 0),s=s||!1,n=n||function(){},(a=this.getLS(e))&&-1===a.indexOf(versionString))return this.removeLS(e),void this.requestResource(e,t,n,s);if(a){if(a.split(versionString)[0]!=t)return console.log("reload:"+t),this.removeLS(e),void this.requestResource(e,t,n,s);a=a.split(versionString)[1],s?(this.jsRunSequence.push({name:e,code:a}),this.runjs(t,e,a)):(document.getElementById(e).appendChild(document.createTextNode(a)),n())}else this.requestResource(e,t,n,s)},lsloader.requestResource=function(t,n,e,s){var a=this;s?this.iojs(n,t,function(e,t,n){a.setLS(t,e+versionString+n),a.runjs(e,t,n)}):this.iocss(n,t,function(e){document.getElementById(t).appendChild(document.createTextNode(e)),a.setLS(t,n+versionString+e)},e)},lsloader.iojs=function(t,n,e){var s=this;s.jsRunSequence.push({name:n,code:""});try{var a=new XMLHttpRequest;a.open("get",t,!0),a.onreadystatechange=function(){if(4==a.readyState){if((200<=a.status&&a.status<300||304==a.status)&&""!=a.response)return void e(t,n,a.response);s.jsfallback(t,n)}},a.send(null)}catch(e){s.jsfallback(t,n)}},lsloader.iocss=function(t,n,e,s){var a=this;try{var o=new XMLHttpRequest;o.open("get",t,!0),o.onreadystatechange=function(){if(4==o.readyState){if((200<=o.status&&o.status<300||304==o.status)&&""!=o.response)return e(o.response),void s();a.cssfallback(t,n,s)}},o.send(null)}catch(e){a.cssfallback(t,n,s)}},lsloader.iofonts=function(t,n,e,s){var a=this;try{var o=new XMLHttpRequest;o.open("get",t,!0),o.onreadystatechange=function(){if(4==o.readyState){if((200<=o.status&&o.status<300||304==o.status)&&""!=o.response)return e(o.response),void s();a.cssfallback(t,n,s)}},o.send(null)}catch(e){a.cssfallback(t,n,s)}},lsloader.runjs=function(e,t,n){if(t&&n)for(var s in this.jsRunSequence)this.jsRunSequence[s].name==t&&(this.jsRunSequence[s].code=n);if(this.jsRunSequence[0]&&this.jsRunSequence[0].code&&"failed"!=this.jsRunSequence[0].status)(a=document.createElement("script")).appendChild(document.createTextNode(this.jsRunSequence[0].code)),a.type="text/javascript",document.getElementsByTagName("head")[0].appendChild(a),this.jsRunSequence.shift(),0<this.jsRunSequence.length&&this.runjs();else if(this.jsRunSequence[0]&&"failed"==this.jsRunSequence[0].status){var a,o=this;(a=document.createElement("script")).src=this.jsRunSequence[0].path,a.type="text/javascript",this.jsRunSequence[0].status="loading",a.onload=function(){o.jsRunSequence.shift(),0<o.jsRunSequence.length&&o.runjs()},document.body.appendChild(a)}},lsloader.tagLoad=function(e,t){this.jsRunSequence.push({name:t,code:"",path:e,status:"failed"}),this.runjs()},lsloader.jsfallback=function(e,t){if(!this.jsnamemap[t]){for(var n in this.jsnamemap[t]=t,this.jsRunSequence)this.jsRunSequence[n].name==t&&(this.jsRunSequence[n].code="",this.jsRunSequence[n].status="failed",this.jsRunSequence[n].path=e);this.runjs()}},lsloader.cssfallback=function(e,t,n){if(!this.cssnamemap[t]){this.cssnamemap[t]=1;var s=document.createElement("link");s.type="text/css",s.href=e,s.rel="stylesheet",s.onload=s.onerror=n;var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(s,a)}},lsloader.runInlineScript=function(e,t){var n=document.getElementById(t).innerText;this.jsRunSequence.push({name:e,code:n}),this.runjs()}</script><script>function Queue(){this.dataStore=[],this.offer=function(e){this.debug&&console.log("Offered a Queued Function.");"function"==typeof e?this.dataStore.push(e):console.log("You must offer a function.")},this.poll=function(){this.debug&&console.log("Polled a Queued Function.");return this.dataStore.shift()},this.execNext=function(){var e=this.poll();void 0!==e&&(this.debug&&console.log("Run a Queued Function."),e())},this.debug=!1,this.startDebug=function(){this.debug=!0}}var queue=new Queue</script><style id="material_css"></style><script>void 0===window.lsLoadCSSMaxNums&&(window.lsLoadCSSMaxNums=0),window.lsLoadCSSMaxNums++,lsloader.load("material_css","/css/material.min.css?Z7a72R1E4SxzBKR/WGctOA==",function(){void 0===window.lsLoadCSSNums&&(window.lsLoadCSSNums=0),window.lsLoadCSSNums++,window.lsLoadCSSNums==window.lsLoadCSSMaxNums&&(document.documentElement.style.display="")},!1)</script><style id="style_css"></style><script>void 0===window.lsLoadCSSMaxNums&&(window.lsLoadCSSMaxNums=0),window.lsLoadCSSMaxNums++,lsloader.load("style_css","/css/style.min.css?NKhlKQkXw/c66TR5p4wO+w==",function(){void 0===window.lsLoadCSSNums&&(window.lsLoadCSSNums=0),window.lsLoadCSSNums++,window.lsLoadCSSNums==window.lsLoadCSSMaxNums&&(document.documentElement.style.display="")},!1)</script><style>body,html{font-family:Roboto,"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;overflow-x:hidden!important}code{font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace}a{color:#00838f}#scheme-Paradox .hot_tags-count,#scheme-Paradox .sidebar-colored .sidebar-badge,#scheme-Paradox .sidebar-colored .sidebar-header,#scheme-Paradox .sidebar_archives-count,#search-form-label:after,#search-label,.mdl-card__media{background-color:#0097a7!important}#scheme-Paradox .sidebar-colored .sidebar-nav>.dropdown>.dropdown-menu>li>a:focus,#scheme-Paradox .sidebar-colored .sidebar-nav>.dropdown>.dropdown-menu>li>a:hover{color:#0097a7!important}#ds-reset #ds-ctx .ds-ctx-entry .ds-ctx-head a,#post_entry-right-info,.sidebar-colored .sidebar-nav li:hover>a,.sidebar-colored .sidebar-nav li:hover>a i,.sidebar-colored .sidebar-nav li>a:focus i,.sidebar-colored .sidebar-nav li>a:hover,.sidebar-colored .sidebar-nav li>a:hover i,.sidebar-colored .sidebar-nav>.open>a,.sidebar-colored .sidebar-nav>.open>a:focus,.sidebar-colored .sidebar-nav>.open>a:hover{color:#0097a7!important}.toTop{background:#757575!important}.material-layout .material-index>.material-nav,.material-layout .material-post>.material-nav,.material-nav a{color:#757575}#scheme-Paradox .MD-burger-layer{background-color:#757575}#scheme-Paradox #post-toc-trigger-btn{color:#757575}.post-toc a:hover{color:#00838f;text-decoration:underline}</style><style>body{background-color:#f5f5f5}#scheme-Paradox .material-layout .something-else .mdl-card__supporting-text{background-color:#fff}</style><style>.fade{transition:all .8s linear;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.fade.out{opacity:0}</style><link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet"><style id="material_icons"></style><script>void 0===window.lsLoadCSSMaxNums&&(window.lsLoadCSSMaxNums=0),window.lsLoadCSSMaxNums++,lsloader.load("material_icons","/css/material-icons.css?pqhB/Rd/ab0H2+kZp0RDmw==",function(){void 0===window.lsLoadCSSNums&&(window.lsLoadCSSNums=0),window.lsLoadCSSNums++,window.lsLoadCSSNums==window.lsLoadCSSMaxNums&&(document.documentElement.style.display="")},!1)</script><script>lsloader.load("jq_js","/js/jquery.min.js?qcusAULNeBksqffqUM2+Ig==",!0)</script><meta name="mobile-web-app-capable" content="yes"><meta name="application-name" content="认真搞定一切"><meta name="msapplication-starturl" content="http://blog.cuteximi.com/"><meta name="msapplication-navbutton-color" content="#0097A7"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-title" content="认真搞定一切"><meta name="apple-mobile-web-app-status-bar-style" content="black"><link rel="apple-touch-icon" href="/img/favicon.png"><meta property="og:url" content="http://blog.cuteximi.com/"><meta property="og:type" content="blog"><meta property="og:title" content="认真搞定一切"><meta property="og:image" content="/img/favicon.png"><meta property="og:description" content="技术分享和生活体会"><meta name="twitter:card" content="summary_large_image"><link rel="canonical" href="http://blog.cuteximi.com"><script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Website",
"publisher": {
"@type": "Organization",
"name": "认真搞定一切",
"logo": "/img/favicon.png"
},
"url": "http://blog.cuteximi.com",
"image": {
"@type": "ImageObject",
"url": "/img/favicon.png"
},
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "http://blog.cuteximi.com"
},
"description": "技术分享和生活体会"
}
</script><link rel="stylesheet" href="/css/prism.css" type="text/css"><link rel="stylesheet" href="/css/prism-line-numbers.css" type="text/css"></head><body id="scheme-Paradox" class="lazy"><div class="material-layout mdl-js-layout has-drawer is-upgraded"><main class="material-layout__content" id="main"><div id="top"></div> <button class="MD-burger-icon sidebar-toggle"><span id="MD-burger-id" class="MD-burger-layer"></span></button><div class="material-index mdl-grid"><div class="mdl-card mdl-shadow--2dp daily-pic mdl-cell mdl-cell--8-col index-top-block"><div class="mdl-card__media mdl-color-text--grey-50" style="background-image:url(/img/daily_pic.png)"><p class="index-top-block-slogan"> <a href="#">明天会更美好!</a></p></div><div class="mdl-card__supporting-text meta mdl-color-text--grey-600"><div id="author-avatar"> <img src="/img/avatar.png" width="32px" height="32px" alt="avatar"></div><div> <strong>cuteximi</strong></div></div></div><div class="mdl-card mdl-shadow--2dp something-else mdl-cell mdl-cell--8-col mdl-cell--4-col-desktop index-top-block"><div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable" method="post" action=""> <label id="search-label" class="mdl-button mdl-js-ripple-effect mdl-js-button mdl-button--fab mdl-color--accent mdl-shadow--4dp" for="search"><i class="material-icons mdl-color-text--white" role="presentation">search</i></label><form autocomplete="off" id="search-form" class="mdl-textfield__expandable-holder"> <input type="text" id="search" class="form-control mdl-textfield__input search-input" name="q" results="0" placeholder=""><label id="search-form-label" class="mdl-textfield__label" for="search"></label></form></div><div id="local-search-result"></div><div class="something-else-logo mdl-color--white mdl-color-text--grey-600"> <a href="#" target="_blank"><img src="/img/logo.png" alt="logo"></a></div><div class="mdl-card__supporting-text meta meta--fill mdl-color-text--grey-600"><div> <strong>认真搞定一切</strong></div><div class="section-spacer"></div> <button id="show-pages-button" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon"> <i class="material-icons" role="presentation">view_carousel</i> <span class="visuallyhidden">Pages</span></button><ul class="mdl-menu mdl-js-menu mdl-menu--bottom-right" for="show-pages-button"><a class="index_share-link" href="/tags" title="标签云"><li class="mdl-menu__item mdl-js-ripple-effect"> 标签云</li></a><a class="index_share-link" href="/timeline" title="时间轴"><li class="mdl-menu__item mdl-js-ripple-effect"> 时间轴</li></a><a class="index_share-link" href="/links" title="友链"><li class="mdl-menu__item mdl-js-ripple-effect"> 友链</li></a></ul> <button id="menubtn" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon"> <i class="material-icons" role="presentation">more_vert</i> <span class="visuallyhidden">show menu</span></button><ul class="mdl-menu mdl-js-menu mdl-menu--bottom-right" for="menubtn"><a class="index_share-link" href="http://service.weibo.com/share/share.php?appkey=&title=认真搞定一切&url=http://blog.cuteximi.com&pic=http://blog.cuteximi.com/img/favicon.png&searchPic=false&style=simple" target="_blank"><li class="mdl-menu__item mdl-js-ripple-effect"> 分享到微博</li></a><a class="index_share-link" href="https://twitter.com/intent/tweet?text=认真搞定一切&url=http://blog.cuteximi.com&via=cuteximi" target="_blank"><li class="mdl-menu__item mdl-js-ripple-effect"> 分享到 Twitter</li></a><a class="index_share-link" href="https://www.facebook.com/sharer/sharer.php?u=http://blog.cuteximi.com" target="_blank"><li class="mdl-menu__item mdl-js-ripple-effect"> 分享到 Facebook</li></a><a class="index_share-link" href="https://plus.google.com/share?url=http://blog.cuteximi.com" target="_blank"><li class="mdl-menu__item mdl-js-ripple-effect"> 分享到 Google+</li></a></ul></div></div><div class="locate-thumbnail-symbol"></div><div class="post_entry-module mdl-card mdl-shadow--2dp mdl-cell mdl-cell--12-col fade out"><div class="post_thumbnail-custom mdl-card__media mdl-color-text--grey-50 lazy" data-original="http://on3wruzc4.bkt.clouddn.com/about/11/aboutme.png"><p class="article-headline-p"><a href="/关于我/"><span>[Top]</span>关于我</a></p></div><div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content"> 关于我 –> 这个世界就是要分出精英和普通人的,一定要懂得延迟满足。 <span><a href="/关于我/" target="_self">阅读全文</a></span></div><div id="post_entry-info"><div id="post_entry-left-info" class="mdl-card__supporting-text meta mdl-color-text--grey-600"><div id="author-avatar"> <img src="/img/avatar.png" width="44px" height="44px" alt="cuteximi's avatar"></div><div> <strong>cuteximi</strong> <span>9月 12, 2017</span></div></div><div id="post_entry-right-info"><span class="post_entry-views"></span></div></div></div><div class="post_entry-module mdl-card mdl-shadow--2dp mdl-cell mdl-cell--12-col fade out"><div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50"><p class="article-headline-p"><a href="/一站式解决服务器缺少编译环境的问题,别再为了缺少依赖而烦恼了!/">一站式解决服务器缺少编译环境的问题,别再为了缺少依赖而烦恼了!</a></p></div><div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content"> 本文参考: <span><a href="/一站式解决服务器缺少编译环境的问题,别再为了缺少依赖而烦恼了!/" target="_self">阅读全文</a></span></div><div id="post_entry-info"><div id="post_entry-left-info" class="mdl-card__supporting-text meta mdl-color-text--grey-600"><div id="author-avatar"> <img src="/img/avatar.png" width="44px" height="44px" alt="cuteximi's avatar"></div><div> <strong>cuteximi</strong> <span>10月 13, 2018</span></div></div><div id="post_entry-right-info"> <span class="post_entry-category"><a class="post_category-link" href="/categories/编译环境/">编译环境</a></span><span class="post_entry-views"></span></div></div></div><div class="post_entry-module mdl-card mdl-shadow--2dp mdl-cell mdl-cell--12-col fade out"><div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50"><p class="article-headline-p"><a href="/解决这个警告⚠️:warning-setlocale-LC-CTYPE-cannot-change-locale-UTF-8-No-such-file-or-directory/">解决这个警告⚠️:warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory</a></p></div><div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content"> 建议直接看方案2 在电脑上使用终端连接服务器的时候,经常会打印出如下警告: <span><a href="/解决这个警告⚠️:warning-setlocale-LC-CTYPE-cannot-change-locale-UTF-8-No-such-file-or-directory/" target="_self">阅读全文</a></span></div><div id="post_entry-info"><div id="post_entry-left-info" class="mdl-card__supporting-text meta mdl-color-text--grey-600"><div id="author-avatar"> <img src="/img/avatar.png" width="44px" height="44px" alt="cuteximi's avatar"></div><div> <strong>cuteximi</strong> <span>10月 13, 2018</span></div></div><div id="post_entry-right-info"> <span class="post_entry-category"><a class="post_category-link" href="/categories/字符编码/">字符编码</a></span><span class="post_entry-views"></span></div></div></div><div class="post_entry-module mdl-card mdl-shadow--2dp mdl-cell mdl-cell--12-col fade out"><div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50"><p class="article-headline-p"><a href="/运行gulp项目报错:AssertionError-Task-function-must-be-specified/">运行gulp项目报错:AssertionError: Task function must be specified</a></p></div><div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content"> 问题描述 <span><a href="/运行gulp项目报错:AssertionError-Task-function-must-be-specified/" target="_self">阅读全文</a></span></div><div id="post_entry-info"><div id="post_entry-left-info" class="mdl-card__supporting-text meta mdl-color-text--grey-600"><div id="author-avatar"> <img src="/img/avatar.png" width="44px" height="44px" alt="cuteximi's avatar"></div><div> <strong>cuteximi</strong> <span>10月 13, 2018</span></div></div><div id="post_entry-right-info"><span class="post_entry-views"></span></div></div></div><div class="post_entry-module mdl-card mdl-shadow--2dp mdl-cell mdl-cell--12-col fade out"><div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50"><p class="article-headline-p"><a href="/make和makeinstall的区别/">make 和 make install 的区别</a></p></div><div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content"> 简单来说,make 是编译,make install 是安装… <span><a href="/make和makeinstall的区别/" target="_self">阅读全文</a></span></div><div id="post_entry-info"><div id="post_entry-left-info" class="mdl-card__supporting-text meta mdl-color-text--grey-600"><div id="author-avatar"> <img src="/img/avatar.png" width="44px" height="44px" alt="cuteximi's avatar"></div><div> <strong>cuteximi</strong> <span>10月 13, 2018</span></div></div><div id="post_entry-right-info"> <span class="post_entry-category"><a class="post_category-link" href="/categories/编译程序/">编译程序</a></span><span class="post_entry-views"></span></div></div></div><div class="post_entry-module mdl-card mdl-shadow--2dp mdl-cell mdl-cell--12-col fade out"><div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50"><p class="article-headline-p"><a href="/原版英文书籍《Linux命令行》阅读记录7-一些键盘按键技巧/">原版英文书籍《Linux命令行》阅读记录7-一些键盘按键技巧</a></p></div><div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content"> 使用命令行不代表我们需要频繁的输入一些命令,有时候bash的一些特性使得我们会更加的懒惰,本章节将带领导学习几个好用的命令。这些命令使我们的操作更加... <span><a href="/原版英文书籍《Linux命令行》阅读记录7-一些键盘按键技巧/" target="_self">阅读全文</a></span></div><div id="post_entry-info"><div id="post_entry-left-info" class="mdl-card__supporting-text meta mdl-color-text--grey-600"><div id="author-avatar"> <img src="/img/avatar.png" width="44px" height="44px" alt="cuteximi's avatar"></div><div> <strong>cuteximi</strong> <span>10月 13, 2018</span></div></div><div id="post_entry-right-info"> <span class="post_entry-category"><a class="post_category-link" href="/categories/Linux命令行/">Linux命令行</a></span><span class="post_entry-views"></span></div></div></div><div class="post_entry-module mdl-card mdl-shadow--2dp mdl-cell mdl-cell--12-col fade out"><div class="post_thumbnail-random mdl-card__media mdl-color-text--grey-50"><p class="article-headline-p"><a href="/原版英文书籍《Linux命令行》阅读记录6-重定向/">原版英文书籍《Linux命令行》阅读记录6-重定向</a></p></div><div class="mdl-color-text--grey-600 mdl-card__supporting-text post_entry-content"> 重定向,回忆一下这个概念是不是之前学过:在 Java web 开发中请求的重定向。在本章节中,我们要学的是“IO重定向”。本文将从以下命令开始展开:... <span><a href="/原版英文书籍《Linux命令行》阅读记录6-重定向/" target="_self">阅读全文</a></span></div><div id="post_entry-info"><div id="post_entry-left-info" class="mdl-card__supporting-text meta mdl-color-text--grey-600"><div id="author-avatar"> <img src="/img/avatar.png" width="44px" height="44px" alt="cuteximi's avatar"></div><div> <strong>cuteximi</strong> <span>10月 13, 2018</span></div></div><div id="post_entry-right-info"> <span class="post_entry-category"><a class="post_category-link" href="/categories/Linux命令行/">Linux命令行</a></span><span class="post_entry-views"></span></div></div></div><nav class="material-nav mdl-cell mdl-cell--12-col"> <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><a class="page-number" href="/page/13/">13</a><a class="extend next" rel="next" href="/page/2/"><button aria-label="Next page" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon"><i class="material-icons" role="presentation">arrow_forward</i></button></a></nav><script type="text/ls-javascript" id="thumbnail-script">
var randomNum;
var locatePost = $('.locate-thumbnail-symbol').next();
for(var i = 0; i < 6; i++) {
randomNum = Math.floor(Math.random() * 19 + 1);
locatePost.children('.post_thumbnail-random').attr('id', 'random_thumbnail-'+randomNum);
locatePost.children('.post_thumbnail-random').attr('data-original', '/img/random/material-' + randomNum + '.png');
$('.post_thumbnail-random').addClass('lazy');
locatePost = locatePost.next();
}
</script></div><div class="sidebar-overlay"></div><aside id="sidebar" class="sidebar sidebar-colored sidebar-fixed-left" role="navigation"><div id="sidebar-main"><div class="sidebar-header header-cover" style="background-image:url(/img/sidebar_header.png)"><div class="top-bar"></div> <button type="button" class="sidebar-toggle mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon" style="display:initial" data-upgraded=",MaterialButton,MaterialRipple"> <i class="material-icons">clear_all</i><span class="mdl-button__ripple-container"><span class="mdl-ripple"></span></span></button><div class="sidebar-image"> <img src="/img/avatar.png" alt="cuteximi's avatar"></div> <a data-toggle="dropdown" class="sidebar-brand" href="#settings-dropdown">[email protected]<b class="caret"></b></a></div><ul class="nav sidebar-nav"><li class="dropdown"><ul id="settings-dropdown" class="dropdown-menu"><li> <a href="[email protected]" target="_blank" title="Email Me"><i class="material-icons sidebar-material-icons sidebar-indent-left1pc-element">email</i> Email Me</a></li></ul></li><li id="sidebar-first-li"> <a href="/"><i class="material-icons sidebar-material-icons">home</i> 主页</a></li><li class="dropdown"> <a href="#" class="ripple-effect dropdown-toggle" data-toggle="dropdown"><i class="material-icons sidebar-material-icons">inbox</i> 归档<b class="caret"></b></a><ul class="dropdown-menu"><li> <a class="sidebar_archives-link" href="/archives/2018/10/">十月 2018<span class="sidebar_archives-count">13</span></a></li><li><a class="sidebar_archives-link" href="/archives/2018/09/">九月 2018<span class="sidebar_archives-count">7</span></a></li><li><a class="sidebar_archives-link" href="/archives/2018/04/">四月 2018<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/archives/2018/03/">三月 2018<span class="sidebar_archives-count">2</span></a></li><li><a class="sidebar_archives-link" href="/archives/2018/01/">一月 2018<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/archives/2017/11/">十一月 2017<span class="sidebar_archives-count">4</span></a></li><li><a class="sidebar_archives-link" href="/archives/2017/09/">九月 2017<span class="sidebar_archives-count">5</span></a></li><li><a class="sidebar_archives-link" href="/archives/2017/08/">八月 2017<span class="sidebar_archives-count">3</span></a></li><li><a class="sidebar_archives-link" href="/archives/2017/07/">七月 2017<span class="sidebar_archives-count">12</span></a></li><li><a class="sidebar_archives-link" href="/archives/2017/06/">六月 2017<span class="sidebar_archives-count">7</span></a></li><li><a class="sidebar_archives-link" href="/archives/2017/05/">五月 2017<span class="sidebar_archives-count">11</span></a></li><li><a class="sidebar_archives-link" href="/archives/2017/04/">四月 2017<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/archives/2017/03/">三月 2017<span class="sidebar_archives-count">6</span></a></li><li><a class="sidebar_archives-link" href="/archives/2016/12/">十二月 2016<span class="sidebar_archives-count">1</span></a></li></ul></li><li class="dropdown"> <a href="#" class="ripple-effect dropdown-toggle" data-toggle="dropdown"><i class="material-icons sidebar-material-icons">chrome_reader_mode</i> 分类<b class="caret"></b></a><ul class="dropdown-menu"><li> <a class="sidebar_archives-link" href="/categories/BigData/">BigData<span class="sidebar_archives-count">4</span></a></li><li><a class="sidebar_archives-link" href="/categories/JVM/">JVM<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/categories/Linux命令行/">Linux命令行<span class="sidebar_archives-count">7</span></a></li><li><a class="sidebar_archives-link" href="/categories/docker/">docker<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/categories/java基础/">java基础<span class="sidebar_archives-count">3</span></a></li><li><a class="sidebar_archives-link" href="/categories/动手实验搭建环境/">动手实验搭建环境<span class="sidebar_archives-count">3</span></a></li><li><a class="sidebar_archives-link" href="/categories/大三计划/">大三计划<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/categories/字符编码/">字符编码<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/categories/工具/">工具<span class="sidebar_archives-count">2</span></a></li><li><a class="sidebar_archives-link" href="/categories/并发编程/">并发编程<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/categories/数据结构/">数据结构<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/categories/框架/">框架<span class="sidebar_archives-count">3</span></a></li><li><a class="sidebar_archives-link" href="/categories/生活/">生活<span class="sidebar_archives-count">2</span></a></li><li><a class="sidebar_archives-link" href="/categories/知识点/">知识点<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/categories/程序员/">程序员<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/categories/篮球/">篮球<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/categories/编程/">编程<span class="sidebar_archives-count">9</span></a></li><li><a class="sidebar_archives-link" href="/categories/编译环境/">编译环境<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/categories/编译程序/">编译程序<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/categories/致自己/">致自己<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/categories/英语/">英语<span class="sidebar_archives-count">4</span></a></li><li><a class="sidebar_archives-link" href="/categories/计算机基础/">计算机基础<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/categories/资料库/">资料库<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/categories/转折/">转折<span class="sidebar_archives-count">1</span></a></li><li><a class="sidebar_archives-link" href="/categories/随笔/">随笔<span class="sidebar_archives-count">3</span></a></li></ul></li><li> <a href="/tags" title="标签云"><i class="material-icons sidebar-material-icons">cloud_circle</i> 标签云</a></li><li> <a href="/timeline" title="时间轴"><i class="material-icons sidebar-material-icons">send</i> 时间轴</a></li><li> <a href="/links" title="友链"><i class="material-icons sidebar-material-icons">link</i> 友链</a></li><li> <a href="/archives">文章总数 <span class="sidebar-badge">74</span></a></li></ul><div class="sidebar-divider"></div></div></aside><div id="back-to-top" class="toTop-wrap"> <a href="#top" class="toTop"><i class="material-icons footer_top-i">expand_less</i></a></div><footer class="mdl-mini-footer" id="bottom"><div class="mdl-mini-footer--left-section sns-list"> <a href="http://www.jianshu.com/u/95431265a9b0" target="_blank"><button class="mdl-mini-footer--social-btn social-btn footer-sns-weibo"> <span class="visuallyhidden">Weibo</span></button></a> <a href="http://blog.csdn.net/qq_31975963" target="_blank"><button class="mdl-mini-footer--social-btn social-btn footer-sns-instagram"> <span class="visuallyhidden">Instagram</span></button></a> <a href="http://www.github.com/aikuyun" target="_blank"><button class="mdl-mini-footer--social-btn social-btn footer-sns-github"> <span class="visuallyhidden">Github</span></button></a></div><div id="copyright"> Copyright © <span year></span> 认真搞定一切<br> To Be NO.1</div><div class="mdl-mini-footer--right-section"><div><div class="footer-develop-div">Powered by <a href="https://hexo.io" target="_blank" class="footer-develop-a">Hexo</a></div><div class="footer-develop-div">Theme - <a href="https://github.com/viosey/hexo-theme-material" target="_blank" class="footer-develop-a">Material</a></div></div></div></footer><script>lsloader.load("lazyload_js","/js/lazyload.min.js?1BcfzuNXqV+ntF6gq+5X3Q==",!0)</script><script>lsloader.load("js_js","/js/js.min.js?Bn9UzEm8RrBSxqyZB0zPjA==",!0)</script><script>lsloader.load("np_js","/js/nprogress.js?pl3Qhb9lvqR1FlyLUna1Yw==",!0)</script><script type="text/ls-javascript" id="NProgress-script">
NProgress.configure({
showSpinner: true
});
NProgress.start();
$('#nprogress .bar').css({
'background': '#29d'
});
$('#nprogress .peg').css({
'box-shadow': '0 0 10px #29d, 0 0 15px #29d'
});
$('#nprogress .spinner-icon').css({
'border-top-color': '#29d',
'border-left-color': '#29d'
});
setTimeout(function() {
NProgress.done();
$('.fade').removeClass('out');
}, 800);
</script><script src="https://cdn1.lncld.net/static/js/av-core-mini-0.6.1.js"></script><script>AV.initialize("dvlWXb6HYmur6ivfGoBA8rhH-gzGzoHsz","cPlgoTRcS9mMVltx8Fw7F9lv")</script><script type="text/ls-javascript" id="leancloud-views-script">
function showTime(Counter) {
var query = new AV.Query(Counter);
$('.leancloud-views_num').each(function() {
var url = $(this).attr('id').trim();
query.equalTo('url', url);
query.find({
success: function(results) {
if (results.length === 0) {
var content = '0 ' + $(document.getElementById(url)).text();
$(document.getElementById(url)).text(content);
return;
}
for (var i = 0; i < results.length; i++) {
var object = results[i];
var content = object.get('time') + ' ' + $(document.getElementById(url)).text();
$(document.getElementById(url)).text(content);
}
},
error: function(object, error) {
console.log('Error: ' + error.code + ' ' + error.message);
}
});
});
}
function addCount(Counter) {
var Counter = AV.Object.extend('Counter');
url = $('.leancloud-views_num').attr('id').trim();
title = $('.leancloud-views_num').attr('data-flag-title').trim();
var query = new AV.Query(Counter);
query.equalTo('url', url);
query.find({
success: function(results) {
if (results.length > 0) {
var counter = results[0];
counter.fetchWhenSave(true);
counter.increment('time');
counter.save(null, {
success: function(counter) {
var content = counter.get('time') + ' ' + $(document.getElementById(url)).text();
$(document.getElementById(url)).text(content);
},
error: function(counter, error) {
console.log('Failed to save Visitor num, with error message: ' + error.message);
}
});
} else {
var newcounter = new Counter();
newcounter.set('title', title);
newcounter.set('url', url);
newcounter.set('time', 1);
newcounter.save(null, {
success: function(newcounter) {
console.log('newcounter.get(\'time\')='+newcounter.get('time'));
var content = newcounter.get('time') + ' ' + $(document.getElementById(url)).text();
$(document.getElementById(url)).text(content);
},
error: function(newcounter, error) {
console.log('Failed to create');
}
});
}
},
error: function(error) {
console.log('Error:' + error.code + ' ' + error.message);
}
});
}
$(function() {
var Counter = AV.Object.extend('Counter');
if ($('.leancloud-views_num').length === 1) {
addCount(Counter);
} else if ($('.post-title-link').length > 1) {
showTime(Counter);
}
});
</script><script type="text/ls-javascript" id="search-local-js-script">
var searchFunc=function(c,a,b){$.ajax({url:c,dataType:"xml",success:function(e){var d=$("entry",e).map(function(){return{title:$("title",this).text(),content:$("content",this).text(),url:$("url",this).text()}}).get();var g=document.getElementById(a);var f=document.getElementById(b);g.addEventListener("input",function(){var i='<ul class="search-result-list">';var h=this.value.trim().toLowerCase().split(/[\s\-]+/);f.innerHTML="";if(this.value.trim().length<=0){return}d.forEach(function(o){var n=true;var s=[];var t=o.title.trim().toLowerCase();var m=o.content.trim().replace(/<[^>]+>/g,"").toLowerCase();var j=o.url;var u=-1;var q=-1;var p=-1;if(t!==""&&m!==""){h.forEach(function(w,x){u=t.indexOf(w);q=m.indexOf(w);if(u<0&&q<0){n=false}else{if(q<0){q=0}if(x===0){p=q}}})}if(n){i+='<li><a href="'+j+'" class="search-result-title" target="_blank">'+t;var r=o.content.trim().replace(/<[^>]+>/g,"");if(p>=0){var k=p-6;var l=p+6;if(k<0){k=0}if(k===0){l=10}if(l>r.length){l=r.length}var v=r.substr(k,l);h.forEach(function(w){var x=new RegExp(w,"gi");v=v.replace(x,'<em class="search-keyword">'+w+"</em>")});i+='<p class="search-result">'+v+"...</p></a>"}}});f.innerHTML=i})}})};
</script><script type="text/ls-javascript" id="search-input-script">
var inputArea = document.querySelector('#search');
var getSearchFile = function() {
var path = 'search.xml';
searchFunc(path, 'search', 'local-search-result');
}
if(inputArea) {
inputArea.onfocus = function() {
getSearchFile();
}
}
</script><script>var agent=navigator.userAgent.toLowerCase();0<agent.indexOf("ucbrowser")&&(document.write('<link rel="stylesheet" href="/css/uc.css">'),alert("由于 UC 浏览器使用极旧的内核,而本网站使用了一些新的特性。\n为了您能更好的浏览,推荐使用 Chrome 或 Firefox 浏览器。"))</script><script type="text/ls-javascript" id="window-load">
$(window).on('load', function() {
// Post_Toc parent position fixed
$('.post-toc-wrap').parent('.mdl-menu__container').css('position', 'fixed');
});
</script><script type="text/ls-javascript" id="lazy-load">
// Offer LazyLoad
queue.offer(function(){
$('.lazy').lazyload({
effect : 'show'
});
});
// Start Queue
$(document).ready(function(){
setInterval(function(){
queue.execNext();
},200);
});
</script><script>var copyrightNow=(new Date).getFullYear(),textContent=document.querySelector("span[year]");copyrightSince=2016,copyrightSince===copyrightNow||0===copyrightSince?textContent.textContent=copyrightNow:textContent.textContent=copyrightSince+" - "+copyrightNow,function(){for(var t=document.querySelectorAll('script[type="text/ls-javascript"]'),e=0;e<t.length;++e){var o=t[e];lsloader.runInlineScript(o.id,o.id)}}(),console.log("\n %c © Material Theme | Version: 1.5.5 | https://github.com/viosey/hexo-theme-material %c \n","color:#455a64;background:#e0e0e0;padding:5px 0;border-top-left-radius:5px;border-bottom-left-radius:5px;","color:#455a64;background:#e0e0e0;padding:5px 0;border-top-right-radius:5px;border-bottom-right-radius:5px;")</script></main></div></body></html>