index.html 35.6 KB
Newer Older
T
TRHX 已提交
1 2 3 4 5 6 7 8 9 10 11
<!--
               .@@@@@@@@@@@@@@@@^ .@@@@@@@@@@@\`    .@@@@@.   =@@@@^ .@@@@@@.   .@@@@@^      =@@@@@^         ./@@@@@@@@\.                      =@@@@@@@@@@@].     =@@@@O             ./@@@@@@@O`        .]@@@@@@@@].
               .@@@@@@@@@@@@@@@@^ .@@@@@@@@@@@@@@`  .@@@@@.   =@@@@^  .@@@@@@. .@@@@@^       =@@@@@.       ./@@@@@@@@@@@@`                     =@@@@@@@@@@@@@^    =@@@@O            /@@@@@@@@@@@@.    ./@@@@@@@@@@@/
               .[[[[[\@@@@@[[[[[` .@@@@@...,\@@@@@. .@@@@@.   =@@@@^   .\@@@@\./@@@@^        ,@@@@@.       =@@@@@`..[\@/.                      =@@@@/...\@@@@@    =@@@@O           =@@@@@/.,@@@@@@.  .@@@@@@/..,\/.
                     =@@@@O       .@@@@@.   .@@@@@. .@@@@@`.../@@@@^     \@@@@@@@@@`         .@@@@/        =@@@@@@].                           =@@@@^  ./@@@@^    =@@@@O          .@@@@@^   .@@@@@^  /@@@@@.
                     =@@@@O       .@@@@@]]]/@@@@@/  .@@@@@@@@@@@@@@^      =@@@@@@@`           =@@@^        .\@@@@@@@@@@]                       =@@@@@@@@@@@/.     =@@@@O          =@@@@@.    =@@@@O .@@@@@^  /@@@@@@^
                     =@@@@O       .@@@@@@@@@@@@@/.  .@@@@@@@@@@@@@@^      /@@@@@@@`           ,@@@.          .\@@@@@@@@@@^                     =@@@@@@@@@@@@@\.   =@@@@O          =@@@@@.    =@@@@O .@@@@@^  O@@@@@@^
                     =@@@@O       .@@@@@@@@@@@@^    .@@@@@.   =@@@@^    ./@@@@@@@@@`                             .[\@@@@@@.                    =@@@@^    =@@@@^   =@@@@O          .@@@@@^    @@@@@^  @@@@@\  ,[\@@@@^
                     =@@@@O       .@@@@@. ,@@@@@^   .@@@@@.   =@@@@^   .@@@@@`,@@@@@^                       ,@@\`...=@@@@@.                    =@@@@^  .,@@@@@^   =@@@@O.........  =@@@@@`../@@@@@.  ,@@@@@@]..=@@@@^
                     =@@@@O       .@@@@@.  ,@@@@@\  .@@@@@.   =@@@@^  ,@@@@@^  ,@@@@@\.                   .@@@@@@@@@@@@@@^                     =@@@@@@@@@@@@@@.   =@@@@@@@@@@@@@.  .\@@@@@@@@@@@@`    ,@@@@@@@@@@@@@^
                     =@@@@O       .@@@@@.   ,@@@@@\ .@@@@@.   =@@@@^ ,@@@@@^    ,@@@@@\.                   .[@@@@@@@@@@[.                      =@@@@@@@@@@@/`     =@@@@@@@@@@@@@.    .\@@@@@@@@`        ,\@@@@@@@@/`
T
TRHX 已提交
12
-->
T
TRHX 已提交
13 14
<!DOCTYPE html>
<html>
T
TRHX 已提交
15 16
<head>
  <meta charset="utf-8">
T
TRHX 已提交
17 18 19 20
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  
  <title>Tag: Github Pages | TRHX&#39;S BLOG</title>
  
T
TRHX 已提交
21 22
  <meta name="keywords" content="大学生 软件工程 Java Python">
  
T
TRHX 已提交
23 24 25
  
  <meta name="description" content="一个大学生用于自学的个人博客">
  
T
TRHX 已提交
26

T
TRHX 已提交
27
  
T
TRHX 已提交
28
  <link rel="alternate" href="/atom.xml" title="TRHX'S BLOG">
T
TRHX 已提交
29
  
T
TRHX 已提交
30 31 32 33 34 35 36

  <meta name="HandheldFriendly" content="True" />
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <!-- meta -->
  
  
T
TRHX 已提交
37 38 39
  <meta name='theme-color' content='#f24e32'>
  <meta name='msapplication-TileColor' content='#f24e32'>
  <meta name='msapplication-config' content='https://cdn.jsdelivr.net/gh/xaoxuu/assets@master/favicon/favicons/browserconfig.xml'>
T
TRHX 已提交
40
  
T
TRHX 已提交
41

T
TRHX 已提交
42
  <!-- link -->
T
TRHX 已提交
43
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css" />
T
TRHX 已提交
44 45 46 47
  
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-waves@0.7.6/dist/waves.min.css">
  
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.6.3/css/all.min.css">
T
TRHX 已提交
48
  
T
TRHX 已提交
49
  
T
TRHX 已提交
50 51 52 53
  <link rel='shortcut icon' type='image/x-icon' href='https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@1.7/images/favicon.ico'>
  <link rel='icon' type='image/x-icon' sizes='32x32' href='https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@1.7/images/favicon-32x32.png'>
  <link rel='apple-touch-icon' type='image/png' sizes='180x180' href='https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@1.7/images/apple-touch-icon.png'>
  <link rel='mask-icon' color='#f24e32' href='https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@1.7/images/mask-icon.png'>
T
TRHX 已提交
54
  <link rel='manifest' href='https://cdn.jsdelivr.net/gh/xaoxuu/assets@master/favicon/favicons/site.webmanifest'>
T
TRHX 已提交
55 56 57 58 59
  

  

  
T
TRHX 已提交
60 61
    <link rel="stylesheet" href="/style.css">
  
T
TRHX 已提交
62

T
TRHX 已提交
63
  <script>
T
TRHX 已提交
64 65 66
    function setLoadingBarProgress(num) {
      document.getElementById('loading-bar').style.width=num+"%";
    }
T
TRHX 已提交
67
  </script>
T
TRHX 已提交
68 69 70

  
  
T
TRHX 已提交
71 72 73 74 75
    <!-- ba -->
    <script>
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
T
TRHX 已提交
76
      hm.src = "https://hm.baidu.com/hm.js?df0bc7c6bdbd80356ba4db429724ccad";
T
TRHX 已提交
77 78 79 80 81
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
    </script>
  
T
TRHX 已提交
82
</head>
T
TRHX 已提交
83

T
TRHX 已提交
84
<body>
T
TRHX 已提交
85 86 87 88 89 90 91 92 93 94 95
  
  
  <div class="cover-wrapper">
    <cover class='cover  half'>
      
        
  <h1 class='title'>TRHX'S BLOG</h1>


  <div class="m_search">
    <form name="searchform" class="form u-search-form">
T
TRHX 已提交
96
      <input type="text" class="input u-search-input" placeholder="Search..." />
T
TRHX 已提交
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
      <i class="icon fas fa-search fa-fw"></i>
    </form>
  </div>

<div class='menu navgation'>
  <ul class='h-list'>
    
      
        <li>
          <a class="nav home" href="/"
            
            
            id="home">
            <i class='fas fa-home fa-fw'></i>&nbsp;主页
          </a>
        </li>
      
        <li>
          <a class="nav home" href="/archives/"
            
            
            id="archives">
            <i class='fas fa-archive fa-fw'></i>&nbsp;归档
          </a>
        </li>
      
        <li>
T
TRHX 已提交
124
          <a class="nav home" href="/categories/"
T
TRHX 已提交
125 126
            
            
T
TRHX 已提交
127 128
            id="categories">
            <i class='fas fa-folder-open fa-fw'></i>&nbsp;分类
T
TRHX 已提交
129 130 131 132
          </a>
        </li>
      
        <li>
T
TRHX 已提交
133
          <a class="nav home" href="/tags/"
T
TRHX 已提交
134 135
            
            
T
TRHX 已提交
136 137
            id="tags">
            <i class='fas fa-tags fa-fw'></i>&nbsp;标签
T
TRHX 已提交
138 139 140 141
          </a>
        </li>
      
        <li>
T
TRHX 已提交
142
          <a class="nav home" href="/friends/"
T
TRHX 已提交
143 144
            
            
T
TRHX 已提交
145 146
            id="friends">
            <i class='fas fa-users fa-fw'></i>&nbsp;朋友
T
TRHX 已提交
147 148 149 150 151
          </a>
        </li>
      
    
  </ul>
T
TRHX 已提交
152 153
</div>

T
TRHX 已提交
154 155 156 157 158 159 160
      
    </cover>
    <header class="l_header pure">
  <div id="loading-bar-wrapper">
    <div id="loading-bar" class="pure"></div>
  </div>

T
TRHX 已提交
161 162 163 164 165 166 167
	<div class='wrapper'>
		<div class="nav-main container container--flex">
      <a class="logo flat-box" href='/' >
        
          TRHX'S BLOG
        
      </a>
T
TRHX 已提交
168
			<div class='menu navgation'>
T
TRHX 已提交
169 170 171 172
				<ul class='h-list'>
          
  					
  						<li>
T
TRHX 已提交
173 174 175 176
								<a class="nav flat-box" href="/"
                  
                  
                  id="home">
T
TRHX 已提交
177 178 179 180
									<i class='fas fa-home fa-fw'></i>&nbsp;主页
								</a>
							</li>
      			
T
TRHX 已提交
181 182 183 184 185 186 187
  						<li>
								<a class="nav flat-box" href="/archives/"
                  
                    rel="nofollow"
                  
                  
                  id="archives">
T
TRHX 已提交
188 189 190 191
									<i class='fas fa-archive fa-fw'></i>&nbsp;归档
								</a>
							</li>
      			
T
TRHX 已提交
192 193 194 195 196
  						<li>
								<a class="nav flat-box" href="/friends/"
                  
                  
                  id="friends">
T
TRHX 已提交
197 198 199 200 201
									<i class='fas fa-users fa-fw'></i>&nbsp;朋友
								</a>
							</li>
      			
  						<li>
T
TRHX 已提交
202 203 204 205
								<a class="nav flat-box" href="https://blog.csdn.net/qq_36759224/"
                  
                  
                  id="https:blog.csdn.netqq_36759224">
T
TRHX 已提交
206 207 208 209
									<i class='fab fa-cuttlefish fa-fw'></i>&nbsp;CSDN
								</a>
							</li>
      			
T
TRHX 已提交
210
  						<li>
T
TRHX 已提交
211
								<a class="nav flat-box" href="https://www.love109.cn/"
T
TRHX 已提交
212 213
                  
                  
T
TRHX 已提交
214
                  id="https:www.love109.cn">
T
TRHX 已提交
215
									<i class='fas fa-heartbeat fa-fw'></i>&nbsp;情侣博客
T
TRHX 已提交
216 217 218
								</a>
							</li>
      			
T
TRHX 已提交
219
  						<li>
T
TRHX 已提交
220
								<a class="nav flat-box" href="/about/"
T
TRHX 已提交
221 222
                  
                  
T
TRHX 已提交
223
                  id="about">
T
TRHX 已提交
224
									<i class='fas fa-user-tie fa-fw'></i>&nbsp;关于
T
TRHX 已提交
225 226 227
								</a>
							</li>
      			
T
TRHX 已提交
228 229 230 231 232 233 234 235
      		
				</ul>
			</div>

			
				<div class="m_search">
					<form name="searchform" class="form u-search-form">
						<input type="text" class="input u-search-input" placeholder="搜索" />
T
TRHX 已提交
236
						<i class="icon fas fa-search fa-fw"></i>
T
TRHX 已提交
237 238 239 240 241 242 243 244 245 246 247 248 249 250 251
					</form>
				</div>
			
			<ul class='switcher h-list'>
				
					<li class='s-search'><a class="fas fa-search fa-fw" href='javascript:void(0)'></a></li>
				
				<li class='s-menu'><a class="fas fa-bars fa-fw" href='javascript:void(0)'></a></li>
			</ul>
		</div>

		<div class='nav-sub container container--flex'>
			<a class="logo flat-box"></a>
			<ul class='switcher h-list'>
				<li class='s-comment'><a class="flat-btn fas fa-comments fa-fw" href='javascript:void(0)'></a></li>
T
TRHX 已提交
252 253 254
        
          <li class='s-toc'><a class="flat-btn fas fa-list fa-fw" href='javascript:void(0)'></a></li>
        
T
TRHX 已提交
255 256 257 258 259 260
			</ul>
		</div>
	</div>
</header>
	<aside class="menu-phone">
    <header>
T
TRHX 已提交
261
		<nav class="menu navgation">
T
TRHX 已提交
262
      <ul>
T
TRHX 已提交
263 264 265 266 267 268 269 270 271 272 273 274
        
          
            <li>
							<a class="nav flat-box" href="/"
                
                
                id="home">
								<i class='fas fa-home fa-fw'></i>&nbsp;主页
							</a>
            </li>
          
            <li>
T
TRHX 已提交
275
							<a class="nav flat-box" href="/tags/"
T
TRHX 已提交
276 277 278 279
                
                  rel="nofollow"
                
                
T
TRHX 已提交
280 281
                id="tags">
								<i class='fas fa-tags fa-fw'></i>&nbsp;标签
T
TRHX 已提交
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
							</a>
            </li>
          
            <li>
							<a class="nav flat-box" href="/archives/"
                
                  rel="nofollow"
                
                
                id="archives">
								<i class='fas fa-archive fa-fw'></i>&nbsp;归档
							</a>
            </li>
          
            <li>
							<a class="nav flat-box" href="/friends/"
                
                
                id="friends">
								<i class='fas fa-users fa-fw'></i>&nbsp;朋友
							</a>
            </li>
          
            <li>
							<a class="nav flat-box" href="/atom.xml"
                
                
                id="atom.xml">
								<i class='fas fa-rss fa-fw'></i>&nbsp;RSS
							</a>
            </li>
          
            <li>
							<a class="nav flat-box" href="https://blog.csdn.net/qq_36759224/"
                
                
                id="https:blog.csdn.netqq_36759224">
								<i class='fab fa-cuttlefish fa-fw'></i>&nbsp;CSDN
							</a>
            </li>
T
TRHX 已提交
322 323 324 325 326 327
          
       
      </ul>
		</nav>
    </header>
	</aside>
T
TRHX 已提交
328
<script>setLoadingBarProgress(40);</script>
T
TRHX 已提交
329

T
TRHX 已提交
330
  </div>
T
TRHX 已提交
331 332


T
TRHX 已提交
333 334
  <div class="l_body">
    <div class='body-wrapper'>
T
TRHX 已提交
335
      
T
TRHX 已提交
336 337 338
<div class='l_main'>
  
    
T
TRHX 已提交
339
      
T
TRHX 已提交
340 341
  <section class="post-list">
    
T
TRHX 已提交
342 343
      
        
T
TRHX 已提交
344
          
T
TRHX 已提交
345 346 347 348 349
        
      
    
    
      
T
TRHX 已提交
350 351 352
        
          <div class='post-wrapper'>
            <article class="post reveal ">
T
TRHX 已提交
353
  
T
TRHX 已提交
354 355 356


  <section class='meta'>
T
TRHX 已提交
357
    
T
TRHX 已提交
358
      
T
TRHX 已提交
359 360 361 362 363 364 365 366 367 368 369 370 371 372 373
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.7.0/dist/APlayer.min.css">
  <div class="aplayer"
    data-theme=""
    data-mini=true 
    
    data-mode="circulation"
    data-server="netease"
    data-type="song"
    data-id="534066497"
    data-volume="0.7">
  </div>
  <script src="https://cdn.jsdelivr.net/npm/aplayer@1.7.0/dist/APlayer.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/meting@1.1.0/dist/Meting.min.js"></script>


T
TRHX 已提交
374 375
    
    
T
TRHX 已提交
376 377 378 379 380 381 382 383
    <div class="meta" id="header-meta">
      
        
  <h2 class="title">
    <a href="/2018/08/15/A02-Build-blog-with-GithubPages-and-Hexo/">
      使用 Github Pages 和 Hexo 搭建自己的独立博客
    </a>
  </h2>
T
TRHX 已提交
384 385 386


      
T
TRHX 已提交
387 388 389 390 391 392 393 394 395 396 397 398 399 400
      <div class='new-meta-box'>
        
          
        
          
            
  <div class='new-meta-item author'>
    <a href="https://www.itrhx.com" rel="nofollow">
      
        <i class="fas fa-user" aria-hidden="true"></i>
      
      <p>TRHX'BLOG</p>
    </a>
  </div>
T
TRHX 已提交
401 402


T
TRHX 已提交
403 404 405 406 407 408 409 410 411
          
        
          
            <div class="new-meta-item date">
  <a class='notlink'>
    <i class="fas fa-calendar-alt" aria-hidden="true"></i>
    <p>2018-08-15</p>
  </a>
</div>
T
TRHX 已提交
412

T
TRHX 已提交
413 414 415 416 417 418 419 420 421 422 423
          
        
          
            
  
  <div class='new-meta-item category'>
    <a href='/categories/实用教程/' rel="nofollow">
      <i class="fas fa-folder-open" aria-hidden="true"></i>
      <p>实用教程</p>
    </a>
  </div>
T
TRHX 已提交
424 425


T
TRHX 已提交
426 427 428 429
          
        
          
            
T
TRHX 已提交
430

T
TRHX 已提交
431
          
T
TRHX 已提交
432
        
T
TRHX 已提交
433 434 435 436
          
            

          
T
TRHX 已提交
437
        
T
TRHX 已提交
438 439 440 441 442
          
            

          
        
T
TRHX 已提交
443 444 445 446 447 448 449
      </div>
      
        <hr>
      
    </div>
  </section>

T
TRHX 已提交
450

T
TRHX 已提交
451 452 453 454 455 456 457 458 459 460 461 462 463 464
  <section class="article typo">
    <div class="article-entry" itemprop="articleBody">
      <p><img src="https://i.loli.net/2019/03/25/5c98f4517de37.jpg" alt=""></p>
      
        <div class="readmore">
          <a href="/2018/08/15/A02-Build-blog-with-GithubPages-and-Hexo/" class="flat-box">
            <i class="fas fa-book-open fa-fw" aria-hidden="true"></i>
            阅读全文
          </a>
        </div>
      
    </div>
    
      <div class="full-width auto-padding tags">
T
TRHX 已提交
465
        
T
TRHX 已提交
466 467
          <a href="/tags/Github-Pages/" rel="nofollow"><i class="fas fa-tags fa-fw"></i>Github Pages</a>
        
T
TRHX 已提交
468 469
          <a href="/tags/Hexo/" rel="nofollow"><i class="fas fa-tags fa-fw"></i>Hexo</a>
        
T
TRHX 已提交
470 471 472
      </div>
    
  </section>
T
TRHX 已提交
473 474
</article>

T
TRHX 已提交
475 476
          </div>
        
T
TRHX 已提交
477 478
      
    
T
TRHX 已提交
479 480 481 482 483 484
  </section>
  
    
    <!-- 根据主题中的设置决定是否在archive中针对摘要部分的MathJax公式加载mathjax.js文件 -->
    
    
T
TRHX 已提交
485

T
TRHX 已提交
486
  
T
TRHX 已提交
487 488


T
TRHX 已提交
489
    
T
TRHX 已提交
490
  
T
TRHX 已提交
491 492
</div>
<aside class='l_side'>
T
TRHX 已提交
493 494
  
    
T
TRHX 已提交
495
    
T
TRHX 已提交
496
      
T
TRHX 已提交
497 498 499 500 501
        
          
          
            <section class='widget author'>
  <div class='content pure'>
T
TRHX 已提交
502 503
    
      <div class='avatar'>
T
TRHX 已提交
504
        <img class='avatar' src='https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@1.1/images/trhx.png'/>
T
TRHX 已提交
505 506 507 508 509
      </div>
    
    
      <div class='text'>
        
T
TRHX 已提交
510 511 512 513 514
          <h2>TRHX'S BLOG</h2>
        
        
          <p>求知若饥 虚心若愚</p>

T
TRHX 已提交
515 516 517 518 519 520 521 522
        
        
      </div>
    
    
      <div class="social-wrapper">
        
          
T
TRHX 已提交
523 524 525 526 527
            <a href="https://github.com/TRHX"
              class="social fab fa-github flat-btn"
              target="_blank"
              rel="external nofollow noopener noreferrer">
            </a>
T
TRHX 已提交
528 529 530
          
        
          
T
TRHX 已提交
531 532 533 534 535
            <a href="https://www.zhihu.com/people/tan-70-56/activities"
              class="social fab fa-zhihu flat-btn"
              target="_blank"
              rel="external nofollow noopener noreferrer">
            </a>
T
TRHX 已提交
536 537 538
          
        
          
T
TRHX 已提交
539 540 541 542 543
            <a href="mailto:admin@itrhx.com"
              class="social fas fa-envelope flat-btn"
              target="_blank"
              rel="external nofollow noopener noreferrer">
            </a>
T
TRHX 已提交
544 545 546
          
        
          
T
TRHX 已提交
547 548 549 550 551
            <a href="http://wpa.qq.com/msgrd?v=3&uin=2273902448&site=qq&menu=yes"
              class="social fab fa-qq flat-btn"
              target="_blank"
              rel="external nofollow noopener noreferrer">
            </a>
T
TRHX 已提交
552 553 554
          
        
          
T
TRHX 已提交
555 556 557 558 559
            <a href="/atom.xml"
              class="social fas fa-rss flat-btn"
              target="_blank"
              rel="external nofollow noopener noreferrer">
            </a>
T
TRHX 已提交
560 561 562 563
          
        
      </div>
    
T
TRHX 已提交
564 565 566 567 568 569 570 571
    <div id="binft" align="center"></div>
    <script>
      var binft = function (r) {
        function t() {
          return b[Math.floor(Math.random() * b.length)]
        }  
        function e() {
          return String.fromCharCode(94 * Math.random() + 33)
T
TRHX 已提交
572
        }
T
TRHX 已提交
573 574 575 576 577 578 579 580 581 582 583 584
        function n(r) {
          for (var n = document.createDocumentFragment(), i = 0; r > i; i++) {
            var l = document.createElement("span");
            l.textContent = e(), l.style.color = t(), n.appendChild(l)
          }
          return n
        }
        function i() {
          var t = o[c.skillI];
          c.step ? c.step-- : (c.step = g, c.prefixP < l.length ? (c.prefixP >= 0 && (c.text += l[c.prefixP]), c.prefixP++) : "forward" === c.direction ? c.skillP < t.length ? (c.text += t[c.skillP], c.skillP++) : c.delay ? c.delay-- : (c.direction = "backward", c.delay = a) : c.skillP > 0 ? (c.text = c.text.slice(0, -1), c.skillP--) : (c.skillI = (c.skillI + 1) % o.length, c.direction = "forward")), r.textContent = c.text, r.appendChild(n(c.prefixP < l.length ? Math.min(s, s + c.prefixP) : Math.min(s, t.length - c.skillP))), setTimeout(i, d)
        }
        var l = "",
T
TRHX 已提交
585
        o = ["业精于勤,荒于嬉;", "行成于思,毁于随。"].map(function (r) {
T
TRHX 已提交
586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606
        return r + ""
        }),
        a = 2,
        g = 1,
        s = 5,
        d = 75,
        b = ["rgb(110,64,170)", "rgb(150,61,179)", "rgb(191,60,175)", "rgb(228,65,157)", "rgb(254,75,131)", "rgb(255,94,99)", "rgb(255,120,71)", "rgb(251,150,51)", "rgb(226,183,47)", "rgb(198,214,60)", "rgb(175,240,91)", "rgb(127,246,88)", "rgb(82,246,103)", "rgb(48,239,130)", "rgb(29,223,163)", "rgb(26,199,194)", "rgb(35,171,216)", "rgb(54,140,225)", "rgb(76,110,219)", "rgb(96,84,200)"],
        c = {
          text: "",
          prefixP: -s,
          skillI: 0,
          skillP: 0,
          direction: "forward",
          delay: a,
          step: g
        };
        i()
        };
        binft(document.getElementById('binft'));
    </script>
  </div>
T
TRHX 已提交
607 608
</section>

T
TRHX 已提交
609 610
          
        
T
TRHX 已提交
611
      
T
TRHX 已提交
612 613 614 615 616 617 618
        
          
          
            

          
        
T
TRHX 已提交
619
      
T
TRHX 已提交
620 621 622 623
        
          
          
            <section class='widget grid'>
T
TRHX 已提交
624
  
T
TRHX 已提交
625
<header class='pure'>
T
TRHX 已提交
626
  <div><i class="fas fa-map-signs fa-fw" aria-hidden="true"></i>&nbsp;&nbsp;站内导航</div>
T
TRHX 已提交
627 628 629
  
</header>

T
TRHX 已提交
630 631
  <div class='content pure'>
    <ul class="grid navgation">
T
TRHX 已提交
632
      
T
TRHX 已提交
633 634 635 636 637 638 639 640 641
        <li><a class="flat-box" title="/" href="/"
          
          
          id="home">
          
            <i class="fas fa-clock fa-fw" aria-hidden="true"></i>
          
          所有文章
        </a></li>
T
TRHX 已提交
642
      
T
TRHX 已提交
643 644 645 646 647 648 649 650 651
        <li><a class="flat-box" title="https://hexo.io/zh-cn/" href="https://hexo.io/zh-cn/"
          
          
          id="https:hexo.iozh-cn">
          
            <i class="fas fa-heading fa-fw" aria-hidden="true"></i>
          
          Hexo
        </a></li>
T
TRHX 已提交
652
      
T
TRHX 已提交
653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699
        <li><a class="flat-box" title="https://xaoxuu.com/wiki/material-x/" href="https://xaoxuu.com/wiki/material-x/"
          
            rel="nofollow"
          
          
          id="https:xaoxuu.comwikimaterial-x">
          
            <i class="fab fa-themeco fa-fw" aria-hidden="true"></i>
          
          Material X
        </a></li>
      
        <li><a class="flat-box" title="/friends/" href="/friends/"
          
            rel="nofollow"
          
          
          id="friends">
          
            <i class="fas fa-link fa-fw" aria-hidden="true"></i>
          
          我的友链
        </a></li>
      
        <li><a class="flat-box" title="http://space.bilibili.com/314463806?/" href="http://space.bilibili.com/314463806?/"
          
          
          id="http:space.bilibili.com314463806?">
          
            <i class="fas fa-tv fa-fw" aria-hidden="true"></i>
          
          bilibili
        </a></li>
      
        <li><a class="flat-box" title="/about/" href="/about/"
          
            rel="nofollow"
          
          
          id="about">
          
            <i class="fas fa-info-circle fa-fw" aria-hidden="true"></i>
          
          关于小站
        </a></li>
      
    </ul>
T
TRHX 已提交
700 701 702
  </div>
</section>

T
TRHX 已提交
703 704
          
        
T
TRHX 已提交
705
      
T
TRHX 已提交
706 707 708 709
        
          
          
            <section class='widget plain'>
T
TRHX 已提交
710
  
T
TRHX 已提交
711 712
<header class='pure'>
  <div><i class="fas fa-edit fa-fw" aria-hidden="true"></i>&nbsp;&nbsp;域名转让</div>
T
TRHX 已提交
713
  
T
TRHX 已提交
714
</header>
T
TRHX 已提交
715

T
TRHX 已提交
716
  <div class='content pure'>
T
TRHX 已提交
717
    <p><br>以下闲置域名低价转让,价格非常美丽,给钱就扔,欢迎骚扰:<br><center>52bug.club<br>52bug.xyz<br>52bug.top<br>NeedForSpeed.site</center></p>
T
TRHX 已提交
718 719 720 721

  </div>
</section>

T
TRHX 已提交
722 723
          
        
T
TRHX 已提交
724
      
T
TRHX 已提交
725 726 727 728 729
        
          
          
            
  <section class='widget category'>
T
TRHX 已提交
730
    
T
TRHX 已提交
731 732
<header class='pure'>
  <div><i class="fas fa-folder-open fa-fw" aria-hidden="true"></i>&nbsp;&nbsp;文章分类</div>
T
TRHX 已提交
733
  
T
TRHX 已提交
734 735 736
    <a class="rightBtn"
    
      rel="nofollow"
T
TRHX 已提交
737 738
    
    
T
TRHX 已提交
739 740 741
    href="/categories/"
    title="categories/">
    <i class="fas fa-expand-arrows-alt fa-fw"></i></a>
T
TRHX 已提交
742 743 744
  
</header>

T
TRHX 已提交
745
    <div class='content pure'>
T
TRHX 已提交
746 747
      <ul class="entry">
        
T
TRHX 已提交
748
          <li><a class="flat-box" title="/categories/BLOG/" href="/categories/BLOG/"><div class='name'>BLOG</div><div class='badge'>(2)</div></a></li>
T
TRHX 已提交
749
        
T
TRHX 已提交
750 751
          <li><a class="flat-box" title="/categories/CDN/" href="/categories/CDN/"><div class='name'>CDN</div><div class='badge'>(1)</div></a></li>
        
T
TRHX 已提交
752 753
          <li><a class="flat-box" title="/categories/Java/" href="/categories/Java/"><div class='name'>Java</div><div class='badge'>(1)</div></a></li>
        
T
TRHX 已提交
754
          <li><a class="flat-box" title="/categories/Python/" href="/categories/Python/"><div class='name'>Python</div><div class='badge'>(11)</div></a></li>
T
TRHX 已提交
755
        
T
TRHX 已提交
756
          <li><a class="flat-box" title="/categories/实用教程/" href="/categories/实用教程/"><div class='name'>实用教程</div><div class='badge'>(7)</div></a></li>
T
TRHX 已提交
757 758
        
      </ul>
T
TRHX 已提交
759
    </div>
T
TRHX 已提交
760
  </section>
T
TRHX 已提交
761 762


T
TRHX 已提交
763 764
          
        
T
TRHX 已提交
765
      
T
TRHX 已提交
766 767 768 769 770
        
          
          
            
  <section class='widget tagcloud'>
T
TRHX 已提交
771
    
T
TRHX 已提交
772 773
<header class='pure'>
  <div><i class="fas fa-fire fa-fw" aria-hidden="true"></i>&nbsp;&nbsp;热门标签</div>
T
TRHX 已提交
774
  
T
TRHX 已提交
775
    <a class="rightBtn"
T
TRHX 已提交
776
    
T
TRHX 已提交
777
      rel="nofollow"
T
TRHX 已提交
778
    
T
TRHX 已提交
779 780 781 782
    
    href="/tags/"
    title="tags/">
    <i class="fas fa-expand-arrows-alt fa-fw"></i></a>
T
TRHX 已提交
783 784 785
  
</header>

T
TRHX 已提交
786
    <div class='content pure'>
T
TRHX 已提交
787
      <a href="/tags/BLOG/" style="font-size: 19px; color: #777">BLOG</a> <a href="/tags/CDN/" style="font-size: 14px; color: #999">CDN</a> <a href="/tags/Deepin/" style="font-size: 14px; color: #999">Deepin</a> <a href="/tags/Elicpse/" style="font-size: 14px; color: #999">Elicpse</a> <a href="/tags/Github/" style="font-size: 14px; color: #999">Github</a> <a href="/tags/Github-Pages/" style="font-size: 14px; color: #999">Github Pages</a> <a href="/tags/Hexo/" style="font-size: 24px; color: #555">Hexo</a> <a href="/tags/JDBC/" style="font-size: 14px; color: #999">JDBC</a> <a href="/tags/Markdown/" style="font-size: 19px; color: #777">Markdown</a> <a href="/tags/PEP8/" style="font-size: 14px; color: #999">PEP8</a> <a href="/tags/Pygame/" style="font-size: 14px; color: #999">Pygame</a> <a href="/tags/Python/" style="font-size: 19px; color: #777">Python</a> <a href="/tags/SQL-Server-2012/" style="font-size: 14px; color: #999">SQL Server 2012</a> <a href="/tags/Ubuntu/" style="font-size: 14px; color: #999">Ubuntu</a> <a href="/tags/VMware/" style="font-size: 19px; color: #777">VMware</a> <a href="/tags/if语句/" style="font-size: 14px; color: #999">if语句</a> <a href="/tags/input-函数/" style="font-size: 14px; color: #999">input()函数</a> <a href="/tags/jsDeliver/" style="font-size: 14px; color: #999">jsDeliver</a> <a href="/tags/while循环/" style="font-size: 14px; color: #999">while循环</a> <a href="/tags/主题个性化/" style="font-size: 14px; color: #999">主题个性化</a> <a href="/tags/函数/" style="font-size: 14px; color: #999">函数</a> <a href="/tags/列表/" style="font-size: 14px; color: #999">列表</a> <a href="/tags/变量/" style="font-size: 14px; color: #999">变量</a> <a href="/tags/字典/" style="font-size: 14px; color: #999">字典</a> <a href="/tags/异常/" style="font-size: 14px; color: #999">异常</a> <a href="/tags/技巧/" style="font-size: 14px; color: #999">技巧</a> <a href="/tags/操作列表/" style="font-size: 14px; color: #999">操作列表</a> <a href="/tags/数据类型/" style="font-size: 14px; color: #999">数据类型</a> <a href="/tags/文件/" style="font-size: 14px; color: #999">文件</a> <a href="/tags/模块/" style="font-size: 14px; color: #999">模块</a> <a href="/tags/类/" style="font-size: 14px; color: #999"></a> <a href="/tags/继承/" style="font-size: 14px; color: #999">继承</a> <a href="/tags/编辑器/" style="font-size: 14px; color: #999">编辑器</a>
T
TRHX 已提交
788
    </div>
T
TRHX 已提交
789
  </section>
T
TRHX 已提交
790

T
TRHX 已提交
791

T
TRHX 已提交
792
          
T
TRHX 已提交
793
        
T
TRHX 已提交
794
      
T
TRHX 已提交
795
        
T
TRHX 已提交
796
          
T
TRHX 已提交
797 798
          
            
T
TRHX 已提交
799

T
TRHX 已提交
800 801

  <section class='widget music'>
T
TRHX 已提交
802
    
T
TRHX 已提交
803 804
<header class='pure'>
  <div><i class="fas fa-compact-disc fa-fw" aria-hidden="true"></i>&nbsp;&nbsp;最近在听</div>
T
TRHX 已提交
805
  
T
TRHX 已提交
806
    <a class="rightBtn"
T
TRHX 已提交
807
    
T
TRHX 已提交
808 809 810 811
      rel="external nofollow noopener noreferrer"
    
    
      target="_blank"
T
TRHX 已提交
812 813 814 815
    
    href="https://music.163.com/#/playlist?id=2415512873"
    title="https://music.163.com/#/playlist?id=2415512873">
    <i class="far fa-heart fa-fw"></i></a>
T
TRHX 已提交
816
  
T
TRHX 已提交
817
</header>
T
TRHX 已提交
818

T
TRHX 已提交
819
    <div class='content pure'>
T
TRHX 已提交
820 821 822 823 824
      
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.7.0/dist/APlayer.min.css">
  <div class="aplayer"
    data-theme="#1BCDFC"
    
T
TRHX 已提交
825
    
T
TRHX 已提交
826 827 828
    data-mode="circulation"
    data-server="netease"
    data-type="playlist"
T
TRHX 已提交
829
    data-id="2625522030"
T
TRHX 已提交
830 831 832 833 834
    data-volume="0.7">
  </div>
  <script src="https://cdn.jsdelivr.net/npm/aplayer@1.7.0/dist/APlayer.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/meting@1.1.0/dist/Meting.min.js"></script>

T
TRHX 已提交
835

T
TRHX 已提交
836
    </div>
T
TRHX 已提交
837
  </section>
T
TRHX 已提交
838 839


T
TRHX 已提交
840
          
T
TRHX 已提交
841 842 843
        
      
    
T
TRHX 已提交
844

T
TRHX 已提交
845 846
  
</aside>
T
TRHX 已提交
847

T
TRHX 已提交
848 849
<footer id="footer" class="clearfix">
  
T
TRHX 已提交
850 851 852 853
  
    <div class="social-wrapper">
      
        
T
TRHX 已提交
854 855 856 857 858
          <a href="https://github.com/TRHX"
            class="social fab fa-github flat-btn"
            target="_blank"
            rel="external nofollow noopener noreferrer">
          </a>
T
TRHX 已提交
859 860 861
        
      
        
T
TRHX 已提交
862 863 864 865 866
          <a href="https://www.zhihu.com/people/tan-70-56/activities"
            class="social fab fa-zhihu flat-btn"
            target="_blank"
            rel="external nofollow noopener noreferrer">
          </a>
T
TRHX 已提交
867 868 869
        
      
        
T
TRHX 已提交
870 871 872 873 874
          <a href="mailto:admin@itrhx.com"
            class="social fas fa-envelope flat-btn"
            target="_blank"
            rel="external nofollow noopener noreferrer">
          </a>
T
TRHX 已提交
875 876 877
        
      
        
T
TRHX 已提交
878 879 880 881 882
          <a href="http://wpa.qq.com/msgrd?v=3&amp;uin=2273902448&amp;site=qq&amp;menu=yes"
            class="social fab fa-qq flat-btn"
            target="_blank"
            rel="external nofollow noopener noreferrer">
          </a>
T
TRHX 已提交
883 884 885
        
      
        
T
TRHX 已提交
886 887 888 889 890
          <a href="/atom.xml"
            class="social fas fa-rss flat-btn"
            target="_blank"
            rel="external nofollow noopener noreferrer">
          </a>
T
TRHX 已提交
891 892 893 894 895
        
      
    </div>
  
  <br>
T
TRHX 已提交
896
  Copyright <i class="far fa-copyright"></i> 2018-2019
T
TRHX 已提交
897
  <a href="https://www.itrhx.com/" target="_blank"> TRHX&#39;BLOG </a>&nbsp;&nbsp;|&nbsp;&nbsp;
T
TRHX 已提交
898
  <a href="http://www.miitbeian.gov.cn/" target="_blank">鄂ICP备19003281号-3</a>&nbsp;&nbsp;|&nbsp;&nbsp;
T
TRHX 已提交
899 900 901 902 903 904 905 906 907 908 909 910 911 912 913
  <!-- 网站运行时间 -->
  <span id="timeDate">正在载入...</span><span id="times"><span><i class="fa fa-spinner fa-spin"> </i></span></span>
  <script>
  var now = new Date(); 
  function createtime() {
    var grt= new Date("08/10/2018 17:38:00");//建站时间2018-08-10
    now.setTime(now.getTime()+250); 
    days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); 
    hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); 
    if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); 
    mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} 
    seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); 
    snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} 
    document.getElementById("timeDate").innerHTML = "本站已勉强存活了 "
    document.getElementById("times").innerHTML = dnum +"" + hnum + " 小时 " + mnum + "" + snum + ""; 
T
TRHX 已提交
914
    /*document.getElementById("times").style.color="#0056FF";*/
T
TRHX 已提交
915 916
    }
    setInterval("createtime()",250);
T
TRHX 已提交
917 918
  </script>&nbsp;&nbsp;|&nbsp;&nbsp;
  <!--
T
TRHX 已提交
919 920 921 922
  Powered by <a href="https://hexo.io/zh-cn/" target="_blank" class="codename">Hexo</a>
  Theme <a href="https://xaoxuu.com/wiki/material-x/" target="_blank" class="codename">Material X</a> by <a href="https://xaoxuu.com/" target="_blank" class="codename">xaoxuu</a>&nbsp;&nbsp;|&nbsp;&nbsp;
  <span id="busuanzi_container_site_uv">UV:<span id="busuanzi_value_site_uv"></span></span>&nbsp;&nbsp;|&nbsp;&nbsp;
  <span id="busuanzi_container_site_pv">PV:<span id="busuanzi_value_site_pv"></span></span>&nbsp;&nbsp;|&nbsp;&nbsp;
T
TRHX 已提交
923
  <span class="post-count">Word Count:43.3k</span>&nbsp;&nbsp;|&nbsp;&nbsp;
T
TRHX 已提交
924
  <i class="fab fa-creative-commons"></i> <a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh" title="本站点采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议进行许可" target="_blank">BY-NC-SA 4.0</a>&nbsp;&nbsp;|&nbsp;&nbsp;
T
TRHX 已提交
925
  -->
T
TRHX 已提交
926
  <a href="https://itrhx.com/sitemap.xml" target="_blank">站点地图</a>&nbsp;&nbsp;|&nbsp;&nbsp;
T
TRHX 已提交
927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956
  <script type="text/javascript" src="https://s23.cnzz.com/z_stat.php?id=1275909280&web_id=1275909280"></script><br><br>

  <div class="github-badge">
      <span class="badge-subject">Powered</span><span class="badge-value bg-blue">Hexo</span>
    </div>
    <div class="github-badge">
      <span class="badge-subject">Hosted</span><span class="badge-value bg-brightgreen">GitHub</span>
    </div>
    <div class="github-badge">
      <span class="badge-subject">DNR</span><span class="badge-value bg-firebrick">Aliyun</span>
    </div>
    <div class="github-badge">
      <span class="badge-subject">CDN</span><span class="badge-value bg-orange">jsDelivr</span>
    </div>
    <div class="github-badge">
      <span class="badge-subject">PictureBed</span><span class="badge-value bg-blueviolet">SM.MS</span>
    </div>
    <div class="github-badge">
      <span class="badge-subject">Theme</span><span class="badge-value bg-blue">Material X</span>
    </div>
    <div class="github-badge">
      <span class="badge-subject"><i class="fa fa-copyright"></i></span><span class="badge-value bg-lightgrey">BY-NC-SA 4.0</span>
    </div>
    <div class="github-badge">
      <span class="badge-subject">UV</span><span class="badge-value bg-orange" id="busuanzi_value_site_uv"></span>
    </div>
    <div class="github-badge">
      <span class="badge-subject">PV</span><span class="badge-value bg-brightgreen" id="busuanzi_value_site_pv"></span>
    </div>
    <div class="github-badge">
T
TRHX 已提交
957
      <span class="badge-subject">WordCount</span><span class="badge-value bg-blueviolet">43.3k</span>
T
TRHX 已提交
958 959
    </div>
    <br><br>
T
TRHX 已提交
960
</footer>
T
TRHX 已提交
961 962 963 964 965 966 967


      <script>setLoadingBarProgress(60);</script>
    </div>
    <a class="s-top fas fa-arrow-up fa-fw" href='javascript:void(0)'></a>
  </div>
  <script src="https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js"></script>
T
TRHX 已提交
968

T
TRHX 已提交
969 970 971 972 973 974 975 976 977 978 979 980 981 982 983
  <script>
    var GOOGLE_CUSTOM_SEARCH_API_KEY = "";
    var GOOGLE_CUSTOM_SEARCH_ENGINE_ID = "";
    var ALGOLIA_API_KEY = "";
    var ALGOLIA_APP_ID = "";
    var ALGOLIA_INDEX_NAME = "";
    var AZURE_SERVICE_NAME = "";
    var AZURE_INDEX_NAME = "";
    var AZURE_QUERY_KEY = "";
    var BAIDU_API_ID = "";
    var SEARCH_SERVICE = "hexo" || "hexo";
    var ROOT = "/"||"/";
    if(!ROOT.endsWith('/'))ROOT += '/';
  </script>

T
TRHX 已提交
984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015
<script src="//instant.page/1.2.2" type="module" integrity="sha384-2xV8M5griQmzyiY3CDqh1dn4z3llDVqZDqzjzcY+jCBCk/a5fXJmuZ/40JJAPeoU"></script>


  <script async src="https://cdn.jsdelivr.net/npm/scrollreveal@4.0.5/dist/scrollreveal.min.js"></script>
  <script type="text/javascript">
    $(function() {
      const $reveal = $('.reveal');
      if ($reveal.length === 0) return;
      const sr = ScrollReveal({ distance: 0 });
      sr.reveal('.reveal');
    });
  </script>


  <script src="https://cdn.jsdelivr.net/npm/node-waves@0.7.6/dist/waves.min.js"></script>
  <script type="text/javascript">
    $(function() {
      Waves.attach('.flat-btn', ['waves-button']);
      Waves.attach('.float-btn', ['waves-button', 'waves-float']);
      Waves.attach('.float-btn-light', ['waves-button', 'waves-float', 'waves-light']);
      Waves.attach('.flat-box', ['waves-block']);
      Waves.attach('.float-box', ['waves-block', 'waves-float']);
      Waves.attach('.waves-image');
      Waves.init();
    });
  </script>


  <script async src="https://cdn.jsdelivr.net/gh/xaoxuu/cdn-busuanzi@2.3/js/busuanzi.pure.mini.js"></script>



T
TRHX 已提交
1016

T
TRHX 已提交
1017

T
TRHX 已提交
1018

T
TRHX 已提交
1019 1020 1021



T
TRHX 已提交
1022 1023


T
TRHX 已提交
1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144



  <script src="/js/app.js"></script>


  <script src="/js/search.js"></script>




<!-- 复制 -->
<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
<script>
  let COPY_SUCCESS = "复制成功";
  let COPY_FAILURE = "复制失败";
  /*页面载入完成后,创建复制按钮*/
  !function (e, t, a) {
    /* code */
    var initCopyCode = function(){
      var copyHtml = '';
      copyHtml += '<button class="btn-copy" data-clipboard-snippet="">';
      copyHtml += '  <i class="fa fa-copy"></i><span>复制</span>';
      copyHtml += '</button>';
      $(".highlight .code pre").before(copyHtml);
      var clipboard = new ClipboardJS('.btn-copy', {
        target: function(trigger) {
          return trigger.nextElementSibling;
        }
      });

      clipboard.on('success', function(e) {
        //您可以加入成功提示
        console.info('Action:', e.action);
        console.info('Text:', e.text);
        console.info('Trigger:', e.trigger);
        success_prompt(COPY_SUCCESS);
        e.clearSelection();
      });
      clipboard.on('error', function(e) {
        //您可以加入失败提示
        console.error('Action:', e.action);
        console.error('Trigger:', e.trigger);
        fail_prompt(COPY_FAILURE);
      });
    }
    initCopyCode();

  }(window, document);

  /**
   * 弹出式提示框,默认1.5秒自动消失
   * @param message 提示信息
   * @param style 提示样式,有alert-success、alert-danger、alert-warning、alert-info
   * @param time 消失时间
   */
  var prompt = function (message, style, time)
  {
      style = (style === undefined) ? 'alert-success' : style;
      time = (time === undefined) ? 1500 : time*1000;
      $('<div>')
          .appendTo('body')
          .addClass('alert ' + style)
          .html(message)
          .show()
          .delay(time)
          .fadeOut();
  };

  // 成功提示
  var success_prompt = function(message, time)
  {
      prompt(message, 'alert-success', time);
  };

  // 失败提示
  var fail_prompt = function(message, time)
  {
      prompt(message, 'alert-danger', time);
  };

  // 提醒
  var warning_prompt = function(message, time)
  {
      prompt(message, 'alert-warning', time);
  };

  // 信息提示
  var info_prompt = function(message, time)
  {
      prompt(message, 'alert-info', time);
  };

</script>


<!-- fancybox -->
<script src="https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js"></script>
<script>
  let LAZY_LOAD_IMAGE = "";
  $(".article-entry").find("fancybox").find("img").each(function () {
      var element = document.createElement("a");
      $(element).attr("data-fancybox", "gallery");
      $(element).attr("href", $(this).attr("src"));
      /* 图片采用懒加载处理时,
       * 一般图片标签内会有个属性名来存放图片的真实地址,比如 data-original,
       * 那么此处将原本的属性名src替换为对应属性名data-original,
       * 修改如下
       */
       if (LAZY_LOAD_IMAGE) {
         $(element).attr("href", $(this).attr("data-original"));
       }
      $(this).wrap(element);
  });
</script>





  <script>setLoadingBarProgress(100);</script>
T
TRHX 已提交
1145 1146
  <!-- 十年之约 
  <a target="_blank" href="http://join.foreverblog.cn" style="position:fixed;z-index:999;right:-5px;bottom: 25px;display: inline-block;width: 35px;border-radius: 5px;color:white;font-size:14px;line-height:17px;background: #1BC3FB;box-shadow: 0 0 5px #666;word-wrap: break-word;padding: 10px 6px;border: 2px solid white;">十年之约</a>-->
T
TRHX 已提交
1147 1148 1149 1150 1151 1152
  <!-- 单击显示文字 -->
  <script type="text/javascript" src="/js/ClickShowText.js"></script>
  <!-- 浏览器搞笑标题 -->
  <script type="text/javascript" src="/js/FunnyTitle.js"></script>
  <!-- 样式一(鼠标点击更换样式) 
  <script src="https://g.joyinshare.com/hc/ribbon.min.js" type="text/javascript"></script>-->
T
TRHX 已提交
1153
  <!-- 数字雨 -->
T
TRHX 已提交
1154
  <canvas id="canvas" width="1440" height="900" ></canvas>
T
TRHX 已提交
1155
  <script type="text/javascript" src="/js/DigitalRain.js"></script>
T
TRHX 已提交
1156
</body>
T
TRHX 已提交
1157
</html>