-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
6 lines (6 loc) · 20 KB
/
index.html
1
2
3
4
5
6
<!doctype html><html class="theme-next pisces use-motion"><head><meta charset=UTF-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><meta name=viewport content="width=device-width, initial-scale=1, maximum-scale=1"><meta http-equiv=Cache-Control content=no-transform><meta http-equiv=Cache-Control content=no-siteapp><link href="/vendors/fancybox/source/jquery.fancybox.css?v=2.1.5" rel=stylesheet type=text/css><link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel=stylesheet type=text/css><link href="/vendors/font-awesome/css/font-awesome.min.css?v=4.4.0" rel=stylesheet type=text/css><link href="/css/main.css?v=5.0.1" rel=stylesheet type=text/css><meta name=keywords content="Hexo, NexT"><link rel=alternate href=/atom.xml title=PonderKeeper type=application/atom+xml><link rel="shortcut icon" type=image/x-icon href="/favicon.ico?v=5.0.1"><meta name=description content=苦难即财富><meta property=og:type content=website><meta property=og:title content=PonderKeeper><meta property=og:url content=https://raymmond.github.io/index.html><meta property=og:site_name content=PonderKeeper><meta property=og:description content=苦难即财富><meta name=twitter:card content=summary><meta name=twitter:title content=PonderKeeper><meta name=twitter:description content=苦难即财富><script type=text/javascript id=hexo.configuration>var NexT=window.NexT||{},CONFIG={scheme:"Pisces",sidebar:{position:"left",display:"post"},fancybox:!0,motion:!0,duoshuo:{userId:0,author:"博主"}};</script><link rel=canonical href="https://raymmond.github.io/"><title>PonderKeeper</title></head><body itemscope itemtype=http://schema.org/WebPage lang=zh-Hans><script type=text/javascript>var _hmt=_hmt||[];!function(){var e=document.createElement("script");e.src="//hm.baidu.com/hm.js?47305a770640286cbeab33cd9d95c098";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}();</script><div class="container one-collumn sidebar-position-left page-home"><div class=headband></div><header id=header class=header itemscope itemtype=http://schema.org/WPHeader><div class=header-inner><div class=site-meta><div class=custom-logo-site-title><a href="/" class=brand rel=start><span class=logo-line-before><i></i></span> <span class=site-title>PonderKeeper</span> <span class=logo-line-after><i></i></span></a></div><p class=site-subtitle>Keep on Thinking!</p></div><div class=site-nav-toggle><button><span class=btn-bar></span> <span class=btn-bar></span> <span class=btn-bar></span></button></div><nav class=site-nav><ul id=menu class=menu><li class="menu-item menu-item-home"><a href="/" rel=section><i class="menu-item-icon fa fa-fw fa-home"></i><br>首页</a></li><li class="menu-item menu-item-categories"><a href=/categories rel=section><i class="menu-item-icon fa fa-fw fa-th"></i><br>分类</a></li><li class="menu-item menu-item-about"><a href=/about rel=section><i class="menu-item-icon fa fa-fw fa-user"></i><br>关于</a></li><li class="menu-item menu-item-archives"><a href=/archives rel=section><i class="menu-item-icon fa fa-fw fa-archive"></i><br>归档</a></li><li class="menu-item menu-item-tags"><a href=/tags rel=section><i class="menu-item-icon fa fa-fw fa-tags"></i><br>标签</a></li></ul></nav></div></header><main id=main class=main><div class=main-inner><div class=content-wrap><div id=content class=content><section id=posts class=posts-expand><article class="post post-type-normal" itemscope itemtype=http://schema.org/Article><header class=post-header><h1 class=post-title itemprop="name headline"><a class=post-title-link href=/posts/Website/2016-06-25-搭建Windows环境下的HEXO-GithubPages个人博客.html itemprop=url>搭建Windows环境下的HEXO+GithubPages个人博客</a></h1><div class=post-meta><span class=post-time><span class=post-meta-item-icon><i class="fa fa-calendar-o"></i></span> <span class=post-meta-item-text>发表于</span><time itemprop=dateCreated datetime=2016-06-25T16:31:07+08:00 content=2016-06-25>2016-06-25</time></span> <span class=post-category> | <span class=post-meta-item-icon><i class="fa fa-folder-o"></i></span> <span class=post-meta-item-text>分类于</span> <span itemprop=about itemscope itemtype=https://schema.org/Thing><a href="/categories/Website/" itemprop=url rel=index><span itemprop=name>网站建设</span></a></span></span> <span class=post-comments-count> | <a href=/posts/Website/2016-06-25-搭建Windows环境下的HEXO-GithubPages个人博客.html#comments itemprop=discussionUrl><span class="post-comments-count disqus-comment-count" data-disqus-identifier=posts/Website/2016-06-25-搭建Windows环境下的HEXO-GithubPages个人博客.html itemprop=commentsCount></span></a></span></div></header><div class=post-body itemprop=articleBody><p>花了几天,断断续续把博客建好了,顺便就总结下这几天折腾的过程。</p><p>环境:win10,Chrome浏览器。</p><h2 id=安装配置><a href=#安装配置 class=headerlink title=安装配置></a>安装配置</h2><p>hexo需要Node.js和Git的支持,所以先去下载两者的Windows版本。正常安装即可。</p><p>使用cnpm代替npm。</p><p>使用Git建立自己的RSA秘钥。方法:</p><p>是否建立好Github Pages,官方文档(链接)</p><ol><li>建立名为“<em>username</em>.github.io”的repo,username为你github的用户名。注意,<em>username</em>必须完全和用户名一致,否则没有作用。</li><li>添加公钥。</li></ol><p>安装hexo</p><p>hexo基本命令行</p><p>建立新Post</p><p>安装插件</p><p>安装主题</p><h2 id=优化><a href=#优化 class=headerlink title=优化></a>优化</h2><p>gulp安装</p><p>gulp模块安装</p><p>gulpfile.js编写</p><p>图片优化</p><p>Google insight</p><p>dns优化百度spider</p><p>百度统计</p></div><div></div><div></div><footer class=post-footer><div class=post-eof></div></footer></article><article class="post post-type-normal" itemscope itemtype=http://schema.org/Article><header class=post-header><h1 class=post-title itemprop="name headline"><a class=post-title-link href=/posts/reading/2016-06-25-《HHhH-希姆莱的大脑是海德里希》.html itemprop=url>《HHhH:希姆莱的大脑是海德里希》</a></h1><div class=post-meta><span class=post-time><span class=post-meta-item-icon><i class="fa fa-calendar-o"></i></span> <span class=post-meta-item-text>发表于</span><time itemprop=dateCreated datetime=2016-06-25T16:03:40+08:00 content=2016-06-25>2016-06-25</time></span> <span class=post-category> | <span class=post-meta-item-icon><i class="fa fa-folder-o"></i></span> <span class=post-meta-item-text>分类于</span> <span itemprop=about itemscope itemtype=https://schema.org/Thing><a href="/categories/reading/" itemprop=url rel=index><span itemprop=name>多读书、读好书</span></a></span></span> <span class=post-comments-count> | <a href=/posts/reading/2016-06-25-《HHhH-希姆莱的大脑是海德里希》.html#comments itemprop=discussionUrl><span class="post-comments-count disqus-comment-count" data-disqus-identifier=posts/reading/2016-06-25-《HHhH-希姆莱的大脑是海德里希》.html itemprop=commentsCount></span></a></span></div></header><div class=post-body itemprop=articleBody><p>看完了希姆莱的大脑是海德里希,这个法国作者的那种在历史与现实中游走的叙述方式的确很新颖独特,除了有时候显得他自己有点话唠。</p><p>他在叙述中,极强调真实性,所以你不会看到一个神勇无比的英雄,大杀四方,出色地完成了任务。这恰恰是正我最喜欢这部书的地方。</p><p>其中一段让我感触颇深,大概是在作者怀念和赞颂执行任务的两位英雄和帮助过他们的人之后说的一段话,大意是:</p><pre><code>怀念和赞颂对故去的英雄们是没有用的,因为他们自己死了。
而死了就什么都没有了,怀念和赞颂对他们是没有意义的。
那么难道说这本书毫无意义?
不,这些文字的意义在于使写下这些的我和读到这些的你们能感到慰藉和鼓舞。
</code></pre><h6 id=作于-2016年6月25日-回广州途中><a href=#作于-2016年6月25日-回广州途中 class=headerlink title="作于 2016年6月25日 回广州途中"></a>作于 2016年6月25日 回广州途中</h6></div><div></div><div></div><footer class=post-footer><div class=post-eof></div></footer></article><article class="post post-type-normal" itemscope itemtype=http://schema.org/Article><header class=post-header><h1 class=post-title itemprop="name headline"><a class=post-title-link href=/posts/other/2016-06-25-开博记事.html itemprop=url>开博记事</a></h1><div class=post-meta><span class=post-time><span class=post-meta-item-icon><i class="fa fa-calendar-o"></i></span> <span class=post-meta-item-text>发表于</span><time itemprop=dateCreated datetime=2016-06-25T15:51:56+08:00 content=2016-06-25>2016-06-25</time></span> <span class=post-category> | <span class=post-meta-item-icon><i class="fa fa-folder-o"></i></span> <span class=post-meta-item-text>分类于</span> <span itemprop=about itemscope itemtype=https://schema.org/Thing><a href="/categories/other/" itemprop=url rel=index><span itemprop=name>杂记</span></a></span></span> <span class=post-comments-count> | <a href=/posts/other/2016-06-25-开博记事.html#comments itemprop=discussionUrl><span class="post-comments-count disqus-comment-count" data-disqus-identifier=posts/other/2016-06-25-开博记事.html itemprop=commentsCount></span></a></span></div></header><div class=post-body itemprop=articleBody><h2 id=开博记事><a href=#开博记事 class=headerlink title=开博记事></a>开博记事</h2><hr><h3 id=引子><a href=#引子 class=headerlink title=引子></a>引子</h3><p>自从一年前大学毕业离开校园之后,就一直想要拥有一个自己的博客,去年还注册过博客园,真的用过之后却觉得界面很丑而且很不方便。之后随着工作逐渐忙碌起来,写博客这事儿就慢慢淡出了我的视野。</p><p>直到前阵子,觉得压力颇大,遇到很多不顺心的事心情很是烦闷,有天晚上跑步,看到一个书香朝阳的24小时图书馆,意识到自己很久没有看书了,就脑子一热,花了50大洋办了个借书卡,借了本<a href=links>《》</a>。之后刚好有机会回母校,就在生活四年的校园里,散散心,清空一下情绪垃圾。一边漫步于校园中,一边反省今年发生的事。</p><p>我发现在今年,我很少独立思考。每天就是工作,有空了就刷手机、刷B站,不停的接收零散的信息,对任何事都懒得思考。但是如果只是接收而不是产出自己的想法与思考,那么接收的知识、想法完全浪费了,相当于左耳进右耳出,只是过了一遍脑子。</p><h3 id=我的博客><a href=#我的博客 class=headerlink title=我的博客></a>我的博客</h3><p>当我意识到不能再这样浑浑噩噩的混日子的时候,做一个博客的想法就这样自然而然的出现了。我想利用这个博客来督促自己持续思考,并将自己想法记录下来,给未来的自己。之后就是思考可行性、做计划。</p><ul><li>我具备搭建网站的技术实力</li><li>因为手头紧,而且怕麻烦,不想买域名</li><li>只是记录想法,所以轻量级博客就够</li><li>一直想尝试使用轻量级的Markdown</li><li>时间不多,搭建要简单些</li></ul><p>根据以上条件,我选择采用Hexo + Github Pages。至于具体搭建和简单优化会在这篇<a href=links>搭建Windows环境下的HEXO+GithubPages个人博客</a>中详细叙述。</p><h3 id=前事不忘后事之师><a href=#前事不忘后事之师 class=headerlink title=前事不忘后事之师></a>前事不忘后事之师</h3><p>昨天,因为晚了2分钟,没赶上回广州的动车。当停止检票时,我已经看到的检票口了。这种感觉,估计没几个人感受过,懊悔、愤怒、委屈、悲伤、还有疲惫,撕扯着我的理智。因为是当天最后一班,车票直接废了,1000块就这么没了!!!</p><p>这段时间看来,我的做事方式,心态真的有大问题。这阵子的不顺心,都因为自己不愿意冷静思考,作出的决策都是出于感性,而不是理性。所谓理性,就是冷静分析所有可能出现的情况,然后评估对自己最有利的选择。</p><p><strong>苦难即财富。</strong></p><p>既然这件事发生了,那么此时对我最有利的就是冷静思考,总结自省,自怨自艾只是浪费时间。我相信,每一次挫折都有原因,每一次自省都能获得一些东西。</p><p>我想要改变现状。所以借开博之际,做此文自勉:</p><pre><code>多读书,做博客来激励自己持续思考,做决策时冷静仔细权衡利弊,不要被情绪劫持。
</code></pre><h6 id=作于-2016年6月25日-回广州途中><a href=#作于-2016年6月25日-回广州途中 class=headerlink title="作于 2016年6月25日 回广州途中"></a>作于 2016年6月25日 回广州途中</h6></div><div></div><div></div><footer class=post-footer><div class=post-eof></div></footer></article><article class="post post-type-normal" itemscope itemtype=http://schema.org/Article><header class=post-header><h1 class=post-title itemprop="name headline"><a class=post-title-link href=/posts/Testing/2016-06-21-hello-world.html itemprop=url>Hello World</a></h1><div class=post-meta><span class=post-time><span class=post-meta-item-icon><i class="fa fa-calendar-o"></i></span> <span class=post-meta-item-text>发表于</span><time itemprop=dateCreated datetime=2016-06-21T21:53:58+08:00 content=2016-06-21>2016-06-21</time></span> <span class=post-category> | <span class=post-meta-item-icon><i class="fa fa-folder-o"></i></span> <span class=post-meta-item-text>分类于</span> <span itemprop=about itemscope itemtype=https://schema.org/Thing><a href="/categories/Testing/" itemprop=url rel=index><span itemprop=name>Testing</span></a></span></span> <span class=post-comments-count> | <a href=/posts/Testing/2016-06-21-hello-world.html#comments itemprop=discussionUrl><span class="post-comments-count disqus-comment-count" data-disqus-identifier=posts/Testing/2016-06-21-hello-world.html itemprop=commentsCount></span></a></span></div></header><div class=post-body itemprop=articleBody><p>Welcome to <a href="https://hexo.io/" target=_blank rel=external>Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/" target=_blank rel=external>documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href=https://hexo.io/docs/troubleshooting.html target=_blank rel=external>troubleshooting</a> or you can ask me on <a href=https://github.com/hexojs/hexo/issues target=_blank rel=external>GitHub</a>.</p><h2 id=Quick-Start><a href=#Quick-Start class=headerlink title="Quick Start"></a>Quick Start</h2><h3 id=Create-a-new-post><a href=#Create-a-new-post class=headerlink title="Create a new post"></a>Create a new post</h3><figure class="highlight bash"><table><tr><td class=gutter><pre><span class=line>1</span><br></pre></td><td class=code><pre><span class=line>$ hexo new <span class=string>"My New Post"</span></span><br></pre></td></tr></table></figure><p>More info: <a href=https://hexo.io/docs/writing.html target=_blank rel=external>Writing</a></p><h3 id=Run-server><a href=#Run-server class=headerlink title="Run server"></a>Run server</h3><figure class="highlight bash"><table><tr><td class=gutter><pre><span class=line>1</span><br></pre></td><td class=code><pre><span class=line>$ hexo server</span><br></pre></td></tr></table></figure><p>More info: <a href=https://hexo.io/docs/server.html target=_blank rel=external>Server</a></p><h3 id=Generate-static-files><a href=#Generate-static-files class=headerlink title="Generate static files"></a>Generate static files</h3><figure class="highlight bash"><table><tr><td class=gutter><pre><span class=line>1</span><br></pre></td><td class=code><pre><span class=line>$ hexo generate</span><br></pre></td></tr></table></figure><p>More info: <a href=https://hexo.io/docs/generating.html target=_blank rel=external>Generating</a></p><h3 id=Deploy-to-remote-sites><a href=#Deploy-to-remote-sites class=headerlink title="Deploy to remote sites"></a>Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class=gutter><pre><span class=line>1</span><br></pre></td><td class=code><pre><span class=line>$ hexo deploy</span><br></pre></td></tr></table></figure><p>More info: <a href=https://hexo.io/docs/deployment.html target=_blank rel=external>Deployment</a></p></div><div></div><div></div><footer class=post-footer><div class=post-eof></div></footer></article></section></div></div><div class=sidebar-toggle><div class=sidebar-toggle-line-wrap><span class="sidebar-toggle-line sidebar-toggle-line-first"></span> <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span> <span class="sidebar-toggle-line sidebar-toggle-line-last"></span></div></div><aside id=sidebar class=sidebar><div class=sidebar-inner><section class="site-overview sidebar-panel sidebar-panel-active"><div class="site-author motion-element" itemprop=author itemscope itemtype=http://schema.org/Person><img class=site-author-image itemprop=image src=/images/avatar.jpg alt=Raymond><p class=site-author-name itemprop=name>Raymond</p><p class="site-description motion-element" itemprop=description>苦难即财富</p></div><nav class="site-state motion-element"><div class="site-state-item site-state-posts"><a href=/archives><span class=site-state-item-count>4</span> <span class=site-state-item-name>日志</span></a></div><div class="site-state-item site-state-categories"><a href=/categories><span class=site-state-item-count>4</span> <span class=site-state-item-name>分类</span></a></div><div class="site-state-item site-state-tags"><a href=/tags><span class=site-state-item-count>9</span> <span class=site-state-item-name>标签</span></a></div></nav><div class="feed-link motion-element"><a href=/atom.xml rel=alternate><i class="fa fa-rss"></i> RSS</a></div><div class="links-of-author motion-element"></div></section></div></aside></div></main><footer id=footer class=footer><div class=footer-inner><div class=copyright>© <span itemprop=copyrightYear>2016</span> <span class=with-love><i class="fa fa-heart"></i></span> <span class=author itemprop=copyrightHolder>Raymond</span></div><div class=powered-by>由 <a class=theme-link href=http://hexo.io>Hexo</a> 强力驱动</div><div class=theme-info>主题 - <a class=theme-link href=https://github.com/iissnan/hexo-theme-next>NexT.Pisces</a></div></div></footer><div class=back-to-top><i class="fa fa-arrow-up"></i></div></div><script type=text/javascript>"[object Function]"!==Object.prototype.toString.call(window.Promise)&&(window.Promise=null);</script><script type=text/javascript src="/vendors/jquery/index.js?v=2.1.3"></script><script type=text/javascript src="/vendors/fastclick/lib/fastclick.min.js?v=1.0.6"></script><script type=text/javascript src="/vendors/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script><script type=text/javascript src="/vendors/velocity/velocity.min.js?v=1.2.1"></script><script type=text/javascript src="/vendors/velocity/velocity.ui.min.js?v=1.2.1"></script><script type=text/javascript src="/vendors/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script><script type=text/javascript src="/js/src/utils.js?v=5.0.1"></script><script type=text/javascript src="/js/src/motion.js?v=5.0.1"></script><script type=text/javascript src="/js/src/affix.js?v=5.0.1"></script><script type=text/javascript src="/js/src/schemes/pisces.js?v=5.0.1"></script><script type=text/javascript src="/js/src/bootstrap.js?v=5.0.1"></script><script type=text/javascript>function run_disqus_script(s){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src="//"+disqus_shortname+".disqus.com/"+s,(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(e)}var disqus_shortname="raymmond",disqus_identifier="index.html",disqus_title="",disqus_url="";run_disqus_script("count.js");</script></body></html>