index.html 17.3 KB
Newer Older
T
TRHX 已提交
1
<!DOCTYPE html>
T
TRHX 已提交
2
<html>
T
TRHX 已提交
3
<head>
T
TRHX 已提交
4 5
  <meta charset="utf-8">
  <meta name="baidu-site-verification" content="L6Lm9d5Crl"/>
T
TRHX 已提交
6 7
  
  
T
TRHX 已提交
8 9 10 11 12
  
  
  <title>Archives | TRHX-Live And Learn!</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="天下事有难易乎?为之,则难者亦易矣;不为,则易者亦难矣!">
T
TRHX 已提交
13 14 15 16 17 18 19 20 21 22
<meta property="og:type" content="website">
<meta property="og:title" content="TRHX-Live And Learn!">
<meta property="og:url" content="http://yoursite.com/archives/index.html">
<meta property="og:site_name" content="TRHX-Live And Learn!">
<meta property="og:description" content="天下事有难易乎?为之,则难者亦易矣;不为,则易者亦难矣!">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="TRHX-Live And Learn!">
<meta name="twitter:description" content="天下事有难易乎?为之,则难者亦易矣;不为,则易者亦难矣!">
  
T
TRHX 已提交
23
    <link rel="alternative" href="/atom.xml" title="TRHX-Live And Learn!" type="application/atom+xml">
T
TRHX 已提交
24 25
  
  
T
TRHX 已提交
26
    <link rel="icon" href="/img/favicon.png">
T
TRHX 已提交
27 28
  
  
T
TRHX 已提交
29
  <link rel="stylesheet" href="//cdn.bootcss.com/animate.css/3.5.0/animate.min.css">
T
TRHX 已提交
30
  
T
TRHX 已提交
31 32 33
  <link rel="stylesheet" href="/css/style.css">
  <link rel="stylesheet" href="/font-awesome/css/font-awesome.min.css">
  <link rel="apple-touch-icon" href="/apple-touch-icon.png">
T
TRHX 已提交
34
  
T
TRHX 已提交
35
  
T
TRHX 已提交
36
      <link rel="stylesheet" href="/fancybox/jquery.fancybox.css">
T
TRHX 已提交
37
  
T
TRHX 已提交
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
  <!-- 加载特效 -->
    <script src="/js/pace.js"></script>
    <link href="/css/pace/pace-theme-flash.css" rel="stylesheet" />
  <script>
      var yiliaConfig = {
          fancybox: true,
          animate: true,
          isHome: false,
          isPost: false,
          isArchive: true,
          isTag: false,
          isCategory: false,
          open_in_new: false
      }
  </script>
</head>
<body>
  <div id="container">
    <div class="left-col">
    <div class="overlay"></div>
<div class="intrude-less">
    <header id="header" class="inner">
T
TRHX 已提交
60
        
T
TRHX 已提交
61
<script src="https://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js"></script>
T
TRHX 已提交
62

T
TRHX 已提交
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
        <a href="/" class="profilepic">
            
            <img lazy-src="/img/avatar.png" class="js-avatar">
            
        </a>
        <hgroup>
          <h1 class="header-author"><a href="/">TRHX</a></h1>
        </hgroup>
        
        <p class="header-subtitle">天下事有难易乎?为之,则难者亦易矣;不为,则易者亦难矣!</p>
        
        
            <form>
                <input type="text" class="st-default-search-input search" id="local-search-input" placeholder="搜索一下" autocomplete="off">
            </form>
            <div id="local-search-result"></div>
        
        
            <script type="text/javascript">
                (function() {
                    'use strict';
                    function getMatchData(keyword, data) {
                        var matchData = [];
                        for(var i =0;i<data.length;i++){
                            if(data[i].title.toLowerCase().indexOf(keyword)>=0) 
                                matchData.push(data[i])
                        }
                        return matchData;
                    }
                    var $input = $('#local-search-input');
                    var $resultContent = $('#local-search-result');
                    $input.keyup(function(){
                        $.ajax({
                            url: '/search.json',
                            dataType: "json",
                            success: function( json ) {
                                var str='<ul class=\"search-result-list\">';                
                                var keyword = $input.val().trim().toLowerCase();
                                $resultContent.innerHTML = "";
                                if ($input.val().trim().length <= 0) {
                                    $resultContent.empty();
                                    $('#switch-area').show();
                                    return;
                                }
                                var results = getMatchData(keyword, json);
                                if(results.length === 0){
                                    $resultContent.empty();
                                    $('#switch-area').show();
                                    return;
                                } 
                                for(var i =0; i<results.length; i++){
                                    str += "<li><a href='"+ results[i].url +"' class='search-result-title'>"+ results[i].title +"</a></li>";
                                }
                                str += "</ul>";
                                $resultContent.empty();
                                $resultContent.append(str);
                                $('#switch-area').hide();
                            }
                        });
                    });
                })();
            </script>
        
        
            <div id="switch-btn" class="switch-btn">
                <div class="icon">
                    <div class="icon-ctn">
                        <div class="icon-wrap icon-house" data-idx="0">
                            <div class="birdhouse"></div>
                            <div class="birdhouse_holes"></div>
                        </div>
                        <div class="icon-wrap icon-ribbon hide" data-idx="1">
                            <div class="ribbon"></div>
                        </div>
                        
                        <div class="icon-wrap icon-link hide" data-idx="2">
                            <div class="loopback_l"></div>
                            <div class="loopback_r"></div>
                        </div>
                        
                        
                        <div class="icon-wrap icon-me hide" data-idx="3">
                            <div class="user"></div>
                            <div class="shoulder"></div>
                        </div>
                        
                    </div>
                </div>
                <div class="tips-box hide">
                    <div class="tips-arrow"></div>
                    <ul class="tips-inner">
                        <li>菜单</li>
                        <li>标签</li>
                        
                        <li>友情链接</li>
                        
                        
                        <li>关于我</li>
                        
                    </ul>
                </div>
            </div>
        
        <div id="switch-area" class="switch-area">
            <div class="switch-wrap">
                <section class="switch-part switch-part1">
                    <nav class="header-menu">
                        <ul>
                        
                            <li><a  href="/archives/">所有文章</a></li>
                        
                            <li><a  href="/categories/开发工具/">开发工具</a></li>
                        
                            <li><a  href="/categories/digital">实用教程</a></li>
                        
                            <li><a  href="/categories/algorithm">Python学习</a></li>
                        
                            <li><a  href="/about/">关于我</a></li>
                        
                        </ul>
                    </nav>
                    <nav class="header-nav">
                        <ul class="social">
                            
                                <a class="fl github"  target="_blank" href="https://github.com/TRHX" title="github">github</a>
                            
                                <a class="fl CSDN"  target="_blank" href="https://blog.csdn.net/qq_36759224" title="CSDN">CSDN</a>
                            
                                <a class="fl rss"  target="_blank" href="/atom.xml" title="rss">rss</a>
                            
                        </ul>
                    </nav>
                </section>
                
                <section class="switch-part switch-part2">
                    <div class="widget tagcloud" id="js-tagcloud">
                        
                    </div>
                </section>
                
                
                <section class="switch-part switch-part3">
                    <div id="js-friends">
                    
                      <a target="_blank"  class="main-nav-link switch-friends-link" href="https://blog.csdn.net/qq_36759224">CSDN</a>
                    
                      <a target="_blank"  class="main-nav-link switch-friends-link" href="https://home.cnblogs.com/u/TRHX/">博客园</a>
                    
                      <a target="_blank"  class="main-nav-link switch-friends-link" href="https://github.com/TRHX">GitHub</a>
                    
                    </div>
                </section>
                
                
                
                <section class="switch-part switch-part4">
                
                    <div id="js-aboutme">Live And Learn!</div>
                </section>
                
            </div>
        </div>
T
TRHX 已提交
225
    </header>
T
TRHX 已提交
226
</div>
T
TRHX 已提交
227

T
TRHX 已提交
228 229 230 231 232 233
    </div>
    <div class="mid-col">
      <nav id="mobile-nav">
      <div class="overlay">
          <div class="slider-trigger"></div>
          <h1 class="header-author js-mobile-header hide"><a href="/" title="回到主页">TRHX</a></h1>
T
TRHX 已提交
234
      </div>
T
TRHX 已提交
235 236 237 238 239 240
    <div class="intrude-less">
        <header id="header" class="inner">
            <a href="/" class="profilepic">
                
                    <img lazy-src="/img/avatar.png" class="js-avatar">
                
T
TRHX 已提交
241
            </a>
T
TRHX 已提交
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
            <hgroup>
              <h1 class="header-author"><a href="/" title="回到主页">TRHX</a></h1>
            </hgroup>
            
            <p class="header-subtitle">天下事有难易乎?为之,则难者亦易矣;不为,则易者亦难矣!</p>
            
            <nav class="header-menu">
                <ul>
                
                    <li><a href="/archives/">所有文章</a></li>
                
                    <li><a href="/categories/开发工具/">开发工具</a></li>
                
                    <li><a href="/categories/digital">实用教程</a></li>
                
                    <li><a href="/categories/algorithm">Python学习</a></li>
                
                    <li><a href="/about/">关于我</a></li>
                
                <div class="clearfix"></div>
                </ul>
            </nav>
            <nav class="header-nav">
                <div class="social">
                    
                        <a class="github" target="_blank" href="https://github.com/TRHX" title="github">github</a>
                    
                        <a class="CSDN" target="_blank" href="https://blog.csdn.net/qq_36759224" title="CSDN">CSDN</a>
                    
                        <a class="rss" target="_blank" href="/atom.xml" title="rss">rss</a>
                    
                </div>
            </nav>
        </header>
T
TRHX 已提交
276
    </div>
T
TRHX 已提交
277 278
</nav>
      <div class="body-wrap">
T
TRHX 已提交
279 280
  
  
T
TRHX 已提交
281
    
T
TRHX 已提交
282
    
T
TRHX 已提交
283 284
      
      
T
TRHX 已提交
285 286 287 288 289 290 291 292 293 294 295 296 297
      <section class="archives-wrap">
        <div class="archive-year-wrap">
          <a  href="/archives/2018" class="archive-year">2018</a>
        </div>
        <div class="archives">
    
    <article class="archive-article archive-type-post">
  <div class="archive-article-inner">
    <header class="archive-article-header">
          <div class="article-meta">
              <a  href="/2018/08/15/如何使用Github Pages和Hexo搭建自己独立博客/" class="archive-article-date">
      <time datetime="2018-08-15T13:34:58.325Z" itemprop="datePublished">08-15</time>
</a>
T
TRHX 已提交
298

T
TRHX 已提交
299 300
        </div>
         
T
TRHX 已提交
301

T
TRHX 已提交
302
        <div class="article-info info-on-archive">
T
TRHX 已提交
303 304 305
          

          
T
TRHX 已提交
306 307 308 309 310 311 312 313 314 315 316 317 318 319 320
        </div>
        <div class="clearfix"></div>
    </header>
  </div>
</article>
  
    
    
    <article class="archive-article archive-type-post">
  <div class="archive-article-inner">
    <header class="archive-article-header">
          <div class="article-meta">
              <a  href="/2018/08/12/博客测试/" class="archive-article-date">
      <time datetime="2018-08-12T09:32:06.978Z" itemprop="datePublished">08-12</time>
</a>
T
TRHX 已提交
321

T
TRHX 已提交
322 323
        </div>
         
T
TRHX 已提交
324

T
TRHX 已提交
325
        <div class="article-info info-on-archive">
T
TRHX 已提交
326 327 328
          

          
T
TRHX 已提交
329
        </div>
T
TRHX 已提交
330 331 332 333
        <div class="clearfix"></div>
    </header>
  </div>
</article>
T
TRHX 已提交
334 335
  
    
T
TRHX 已提交
336
    
T
TRHX 已提交
337 338 339 340 341 342 343
    <article class="archive-article archive-type-post">
  <div class="archive-article-inner">
    <header class="archive-article-header">
          <div class="article-meta">
              <a  href="/2018/08/10/hello-world/" class="archive-article-date">
      <time datetime="2018-08-10T09:33:18.448Z" itemprop="datePublished">08-10</time>
</a>
T
TRHX 已提交
344

T
TRHX 已提交
345 346
        </div>
         
T
TRHX 已提交
347
  
T
TRHX 已提交
348 349 350
    <h1 itemprop="name">
      <a  class="archive-article-title" href="/2018/08/10/hello-world/">Hello World</a>
    </h1>
T
TRHX 已提交
351
  
T
TRHX 已提交
352 353


T
TRHX 已提交
354 355
        <div class="article-info info-on-archive">
          
T
TRHX 已提交
356

T
TRHX 已提交
357 358 359 360 361 362
          
        </div>
        <div class="clearfix"></div>
    </header>
  </div>
</article>
T
TRHX 已提交
363 364
  
  
T
TRHX 已提交
365
    </div></section>
T
TRHX 已提交
366 367
  

T
TRHX 已提交
368
    
T
TRHX 已提交
369 370


T
TRHX 已提交
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
</div>
      <footer id="footer">
    <div class="outer">
        <div id="footer-info">
            <div class="footer-left">
                &copy; 2018 TRHX
            </div>
            <div class="footer-right">
                <a href="http://hexo.io/" target="_blank">Hexo &nbsp;&nbsp;</a><a href="https://github.com/maochunguang" target="_blank">Blog</a> by tommy
            </div>
        </div>
        
            <div class="visit">
                
                    <span id="busuanzi_container_site_pv" style='display:none'>
                        <span id="site-visit" >极客到访数: 
                            <span id="busuanzi_value_site_uv"></span>
                        </span>
                    </span>
                
                
                    <span>, </span>
                
                
                    <span id="busuanzi_container_page_pv" style='display:none'>
                        <span id="page-visit">本页阅读量: 
                            <span id="busuanzi_value_page_pv"></span>
                        </span>
                    </span>
                
            </div>
        
    </div>
</footer>
T
TRHX 已提交
405

T
TRHX 已提交
406 407 408
    </div>
    
<script src="https://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js"></script>
T
TRHX 已提交
409

T
TRHX 已提交
410
<script src="/js/main.js"></script>
T
TRHX 已提交
411

T
TRHX 已提交
412 413 414 415 416 417 418 419
    <script>
        $(document).ready(function() {
            var backgroundnum = 1;
            var backgroundimg = "url(/background/bg-x.jpg)".replace(/x/gi, Math.ceil(Math.random() * backgroundnum));
            $("#mobile-nav").css({"background-image": backgroundimg,"background-size": "cover","background-position": "center"});
            $(".left-col").css({"background-image": backgroundimg,"background-size": "cover","background-position": "center"});
        })
    </script>
T
TRHX 已提交
420 421


T
TRHX 已提交
422 423 424 425 426 427
<!-- Google Analytics -->
<script type="text/javascript">
(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');
T
TRHX 已提交
428

T
TRHX 已提交
429 430
ga('create', 'xxxxx', 'auto');
ga('send', 'pageview');
T
TRHX 已提交
431

T
TRHX 已提交
432 433
</script>
<!-- End Google Analytics -->
T
TRHX 已提交
434 435 436



T
TRHX 已提交
437 438 439 440 441 442 443 444 445
	<script>
	var _hmt = _hmt || [];
	(function() {
	  var hm = document.createElement("script");
	  hm.src = "//hm.baidu.com/hm.js?xxxxxx";
	  var s = document.getElementsByTagName("script")[0]; 
	  s.parentNode.insertBefore(hm, s);
	})();
	</script>
T
TRHX 已提交
446 447 448



T
TRHX 已提交
449 450 451 452 453 454 455 456 457 458 459 460
<div class="scroll" id="scroll">
    <a href="#"><i class="fa fa-arrow-up"></i></a>
    <a href="#comments"><i class="fa fa-comments-o"></i></a>
    <a href="#footer"><i class="fa fa-arrow-down"></i></a>
</div>
<script>
    $(document).ready(function() {
        if ($("#comments").length < 1) {
            $("#scroll > a:nth-child(2)").hide();
        };
    })
</script>
T
TRHX 已提交
461

T
TRHX 已提交
462 463 464
    <button class="hide-labels">TAG 开关</button>
    
<script src="https://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js"></script>
T
TRHX 已提交
465

T
TRHX 已提交
466 467 468 469 470 471 472
    <script>
        $(document).ready(function() {
            $("button").click(function() {
                $(".article-info").toggle(200);
            });
        });
    </script>
T
TRHX 已提交
473

T
TRHX 已提交
474 475
<script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js">
</script>
T
TRHX 已提交
476

T
TRHX 已提交
477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500
  <script language="javascript">
    $(function() {
        $("a[title]").each(function() {
            var a = $(this);
            var title = a.attr('title');
            if (title == undefined || title == "") return;
            a.data('title', title).removeAttr('title').hover(
            function() {
                var offset = a.offset();
                $("<div id=\"anchortitlecontainer\"></div>").appendTo($("body")).html(title).css({
                    top: offset.top - a.outerHeight() - 15,
                    left: offset.left + a.outerWidth()/2 + 1
                }).fadeIn(function() {
                    var pop = $(this);
                    setTimeout(function() {
                        pop.remove();
                    }, pop.text().length * 800);
                });
            }, function() {
                $("#anchortitlecontainer").remove();
            });
        });
    });
</script>
T
TRHX 已提交
501 502


T
TRHX 已提交
503
  </div>
T
TRHX 已提交
504
</body>
T
TRHX 已提交
505
</html>