-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
6 lines (6 loc) · 33.3 KB
/
index.html
1
2
3
4
5
6
<!doctype html><html class="theme-next mist 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="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="Steffan's Blog"><meta property="og:url" content="http://steffan.cn/index.html"><meta property="og:site_name" content="Steffan's Blog"><meta property="og:description" content="我在。你不在。"><meta name="twitter:card" content="summary"><meta name="twitter:title" content="Steffan's Blog"><meta name="twitter:description" content="我在。你不在。"><script type="text/javascript" id="hexo.configuration">var NexT=window.NexT||{},CONFIG={scheme:"Mist",sidebar:{position:"left",display:"post"},fancybox:!0,motion:!0,duoshuo:{userId:void 0,author:"博主"}}</script><title> Steffan's Blog</title></head><body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans"><script>!function(e,a,t,n,c,o,s){e.GoogleAnalyticsObject=c,e[c]=e[c]||function(){(e[c].q=e[c].q||[]).push(arguments)},e[c].l=1*new Date,o=a.createElement(t),s=a.getElementsByTagName(t)[0],o.async=1,o.src="//www.google-analytics.com/analytics.js",s.parentNode.insertBefore(o,s)}(window,document,"script","//www.google-analytics.com/analytics.js","ga"),ga("create","UA-97396987-1","auto"),ga("send","pageview")</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">Steffan's Blog</span><span class="logo-line-after"><i></i></span></a></div><p class="site-subtitle">Welcome to my blog!</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">首页</a></li><li class="menu-item menu-item-categories"> <a href="/categories" rel="section">分类</a></li><li class="menu-item menu-item-about"> <a href="/about" rel="section">关于</a></li><li class="menu-item menu-item-archives"> <a href="/archives" rel="section">归档</a></li><li class="menu-item menu-item-tags"> <a href="/tags" rel="section">标签</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="/2017/10/16/the-Python-crawler-series-about-ideas-for-crawling-the-paid-website-course/" itemprop="url">Python爬虫系列之爬取付费网站课程思路</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="2017-10-16T20:10:34+08:00" content="2017-10-16">2017-10-16</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/Python/" itemprop="url" rel="index"><span itemprop="name">Python</span></a></span></span> <span class="post-comments-count"> | <a href="/2017/10/16/the-Python-crawler-series-about-ideas-for-crawling-the-paid-website-course/#comments" itemprop="discussionUrl"><span class="post-comments-count disqus-comment-count" data-disqus-identifier="2017/10/16/the-Python-crawler-series-about-ideas-for-crawling-the-paid-website-course/" itemprop="commentsCount"></span></a></span> <span id="/2017/10/16/the-Python-crawler-series-about-ideas-for-crawling-the-paid-website-course/" class="leancloud_visitors" data-flag-title="Python爬虫系列之爬取付费网站课程思路"> | <span class="post-meta-item-icon"><i class="fa fa-eye"></i></span> <span class="post-meta-item-text">阅读次数</span><span class="leancloud-visitors-count"></span></span></div></header><div class="post-body" itemprop="articleBody"><hr><h2 id="0x00-前记"><a href="#0x00-前记" class="headerlink" title="0x00 前记"></a>0x00 前记</h2><h3 id="国际惯例来张图-D"><a href="#国际惯例来张图-D" class="headerlink" title="国际惯例来张图:D"></a>国际惯例来张图:D</h3><p><img src="/images/171016/Python.png" alt="Python"><br>在考试备战群中发现有人在卖付费网站的视频,还号称整个站的课程都可以拿到。刚好自己也需要,但是又不(mei)想(qian)购买。</p><div class="post-more-link text-center"> <a class="btn" href="/2017/10/16/the-Python-crawler-series-about-ideas-for-crawling-the-paid-website-course/#more" rel="contents">阅读全文 »</a></div></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="/2017/03/22/use-cloudflare-to-implement-HTTPS-for-GithubPages-with-custom-domain-names/" itemprop="url">使用Cloudflare为自定义域名的GithubPages实现HTTPS化</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="2017-03-22T00:51:09+08:00" content="2017-03-22">2017-03-22</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/HTTPS/" itemprop="url" rel="index"><span itemprop="name">HTTPS</span></a></span></span> <span class="post-comments-count"> | <a href="/2017/03/22/use-cloudflare-to-implement-HTTPS-for-GithubPages-with-custom-domain-names/#comments" itemprop="discussionUrl"><span class="post-comments-count disqus-comment-count" data-disqus-identifier="2017/03/22/use-cloudflare-to-implement-HTTPS-for-GithubPages-with-custom-domain-names/" itemprop="commentsCount"></span></a></span> <span id="/2017/03/22/use-cloudflare-to-implement-HTTPS-for-GithubPages-with-custom-domain-names/" class="leancloud_visitors" data-flag-title="使用Cloudflare为自定义域名的GithubPages实现HTTPS化"> | <span class="post-meta-item-icon"><i class="fa fa-eye"></i></span> <span class="post-meta-item-text">阅读次数</span><span class="leancloud-visitors-count"></span></span></div></header><div class="post-body" itemprop="articleBody"><hr><h2 id="0x01-前记"><a href="#0x01-前记" class="headerlink" title="0x01 前记"></a>0x01 前记</h2><p>封面要有一张图才好看呢 :)<br><img src="/images/170321/https.jpg" alt="https"></p><h3 id="实现https化之前,首先要明确https和http的区别,网上的相关概念很多,那对我的博客又有什么影响呢,我为什么要尝试https化呢?"><a href="#实现https化之前,首先要明确https和http的区别,网上的相关概念很多,那对我的博客又有什么影响呢,我为什么要尝试https化呢?" class="headerlink" title="实现https化之前,首先要明确https和http的区别,网上的相关概念很多,那对我的博客又有什么影响呢,我为什么要尝试https化呢?"></a>实现https化之前,首先要明确https和http的区别,网上的相关概念很多,那对我的博客又有什么影响呢,我为什么要尝试https化呢?</h3><ul><li>用http协议,访问我博客的读者相当于”裸奔”,”小内内”都没有的那种哦。</li><li>DNS挟持,如果读者在阅读我的文章的时间还要被一些运营商劫持的广告影响阅读效果,那我是不能接受的(csdn还有一位博主专门写了一段js代码屏蔽他当前页的广告呢,还上csdn首页的推荐:P)。</li></ul><div class="post-more-link text-center"> <a class="btn" href="/2017/03/22/use-cloudflare-to-implement-HTTPS-for-GithubPages-with-custom-domain-names/#more" rel="contents">阅读全文 »</a></div></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="/2017/03/01/docker-learn/" itemprop="url">Docker学习笔记</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="2017-03-01T11:01:51+08:00" content="2017-03-01">2017-03-01</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/Notes/" itemprop="url" rel="index"><span itemprop="name">Notes</span></a></span></span> <span class="post-comments-count"> | <a href="/2017/03/01/docker-learn/#comments" itemprop="discussionUrl"><span class="post-comments-count disqus-comment-count" data-disqus-identifier="2017/03/01/docker-learn/" itemprop="commentsCount"></span></a></span> <span id="/2017/03/01/docker-learn/" class="leancloud_visitors" data-flag-title="Docker学习笔记"> | <span class="post-meta-item-icon"><i class="fa fa-eye"></i></span> <span class="post-meta-item-text">阅读次数</span><span class="leancloud-visitors-count"></span></span></div></header><div class="post-body" itemprop="articleBody"><hr><h2 id="0x01-前记"><a href="#0x01-前记" class="headerlink" title="0x01 前记"></a>0x01 前记</h2><h3 id="国际惯例来张图-D"><a href="#国际惯例来张图-D" class="headerlink" title="国际惯例来张图:D"></a>国际惯例来张图:D</h3><p><img src="/images/170301/docker.jpg" alt="from bing"></p><p>作为一个Docker初学者,将一些自己整理的笔记和学习资源放到<a href="https://github.com/errorlife">我的GitHub</a>上面去了,将持续更新…<br>请戳:<a href="https://github.com/errorlife/docker_learn">Docker学习笔记</a></p><div class="post-more-link text-center"> <a class="btn" href="/2017/03/01/docker-learn/#more" rel="contents">阅读全文 »</a></div></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="/2017/02/10/how-to-build-a-Tomcat-image-with-Dockerfile-and-deploy-war/" itemprop="url">如何使用Dockerfile构建Tomcat镜像并部署war</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="2017-02-10T11:53:15+08:00" content="2017-02-10">2017-02-10</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/course/" itemprop="url" rel="index"><span itemprop="name">course</span></a></span></span> <span class="post-comments-count"> | <a href="/2017/02/10/how-to-build-a-Tomcat-image-with-Dockerfile-and-deploy-war/#comments" itemprop="discussionUrl"><span class="post-comments-count disqus-comment-count" data-disqus-identifier="2017/02/10/how-to-build-a-Tomcat-image-with-Dockerfile-and-deploy-war/" itemprop="commentsCount"></span></a></span> <span id="/2017/02/10/how-to-build-a-Tomcat-image-with-Dockerfile-and-deploy-war/" class="leancloud_visitors" data-flag-title="如何使用Dockerfile构建Tomcat镜像并部署war"> | <span class="post-meta-item-icon"><i class="fa fa-eye"></i></span> <span class="post-meta-item-text">阅读次数</span><span class="leancloud-visitors-count"></span></span></div></header><div class="post-body" itemprop="articleBody"><hr><h2 id="0x01-前记"><a href="#0x01-前记" class="headerlink" title="0x01 前记"></a>0x01 前记</h2><h3 id="国际惯例来张图-D"><a href="#国际惯例来张图-D" class="headerlink" title="国际惯例来张图:D"></a>国际惯例来张图:D</h3><p><img src="/images/170210/sky.png" alt="现在的我"></p><h3 id="我们都知道Docker构建一个镜像有两种方式:"><a href="#我们都知道Docker构建一个镜像有两种方式:" class="headerlink" title="我们都知道Docker构建一个镜像有两种方式:"></a>我们都知道Docker构建一个镜像有两种方式:</h3><pre><code>使用`docker commit`命令
使用`Dockerfile`文件和`docker build`命令
</code></pre><h3 id="那么这两种方式有何区别呢?"><a href="#那么这两种方式有何区别呢?" class="headerlink" title="那么这两种方式有何区别呢?"></a>那么这两种方式有何区别呢?</h3><pre><code>相同点:底层实现上一样,最终都是通过`docker commit`生成镜像;
不同点:通过`Dockerfile`生成镜像,能够实现镜像文档化,使得镜像可读且易维护;
通过`docker build`生成镜像则相反,不能实现镜像文档化。
</code></pre><h3 id="所以这篇文章采用Dockerfile来构建-D"><a href="#所以这篇文章采用Dockerfile来构建-D" class="headerlink" title="所以这篇文章采用Dockerfile来构建 :D"></a>所以这篇文章采用Dockerfile来构建 :D</h3><div class="post-more-link text-center"> <a class="btn" href="/2017/02/10/how-to-build-a-Tomcat-image-with-Dockerfile-and-deploy-war/#more" rel="contents">阅读全文 »</a></div></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="/2016/11/18/the-third-step-of-zero-based-people-to-build-a-blog/" itemprop="url">小白搭博客三部曲之三:使用MarkDown写博客+域名绑定Github</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-11-18T16:37:24+08:00" content="2016-11-18">2016-11-18</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/course/" itemprop="url" rel="index"><span itemprop="name">course</span></a></span></span> <span class="post-comments-count"> | <a href="/2016/11/18/the-third-step-of-zero-based-people-to-build-a-blog/#comments" itemprop="discussionUrl"><span class="post-comments-count disqus-comment-count" data-disqus-identifier="2016/11/18/the-third-step-of-zero-based-people-to-build-a-blog/" itemprop="commentsCount"></span></a></span> <span id="/2016/11/18/the-third-step-of-zero-based-people-to-build-a-blog/" class="leancloud_visitors" data-flag-title="小白搭博客三部曲之三:使用MarkDown写博客+域名绑定Github"> | <span class="post-meta-item-icon"><i class="fa fa-eye"></i></span> <span class="post-meta-item-text">阅读次数</span><span class="leancloud-visitors-count"></span></span></div></header><div class="post-body" itemprop="articleBody"><hr><h2 id="0x01-前记"><a href="#0x01-前记" class="headerlink" title="0x01 前记"></a>0x01 前记</h2><p>atool的占位图竟然挂了,disappointed<br><img src="/images/1118/2_0_Lazy.png" alt="为了https"><br>为了https,只能把占位符去掉了,TAT。<br>废话不多说,更新来一波。</p><div class="post-more-link text-center"> <a class="btn" href="/2016/11/18/the-third-step-of-zero-based-people-to-build-a-blog/#more" rel="contents">阅读全文 »</a></div></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="/2016/06/08/the-second-step-of-zero-based-people-to-build-a-blog/" itemprop="url">小白搭博客三部曲之二:部署github+自定义主题+更新博文</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-08T16:46:32+08:00" content="2016-06-08">2016-06-08</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/course/" itemprop="url" rel="index"><span itemprop="name">course</span></a></span></span> <span class="post-comments-count"> | <a href="/2016/06/08/the-second-step-of-zero-based-people-to-build-a-blog/#comments" itemprop="discussionUrl"><span class="post-comments-count disqus-comment-count" data-disqus-identifier="2016/06/08/the-second-step-of-zero-based-people-to-build-a-blog/" itemprop="commentsCount"></span></a></span> <span id="/2016/06/08/the-second-step-of-zero-based-people-to-build-a-blog/" class="leancloud_visitors" data-flag-title="小白搭博客三部曲之二:部署github+自定义主题+更新博文"> | <span class="post-meta-item-icon"><i class="fa fa-eye"></i></span> <span class="post-meta-item-text">阅读次数</span><span class="leancloud-visitors-count"></span></span></div></header><div class="post-body" itemprop="articleBody"><hr><h2 id="0x01-前记"><a href="#0x01-前记" class="headerlink" title="0x01 前记"></a>0x01 前记</h2><p>感觉好羞耻,弄了一个博客,水了一篇文章之后,就没有然后了。在这里鄙视一下自己,年轻人嘛,还是要稍微积极阳光一点的。好了,我开始说废话了==、看官轻喷,感谢!<br>atool的占位图竟然挂了,disappointed<br><img src="/images/0608/2_0_TAT.png" alt="为了https"><br><del>跟某位大神学到了一招,选什么配图,那么鬼麻烦,逼死选择困难症晚期。。。</del><br>为了https,只能把占位符去掉了,TAT。</p><div class="post-more-link text-center"> <a class="btn" href="/2016/06/08/the-second-step-of-zero-based-people-to-build-a-blog/#more" rel="contents">阅读全文 »</a></div></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="/2016/04/16/the-first-step-of-zero-based-people-to-build-a-blog/" itemprop="url">小白搭博客三部曲之一:Hexo+Git+Node.js</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-04-16T00:29:18+08:00" content="2016-04-16">2016-04-16</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/course/" itemprop="url" rel="index"><span itemprop="name">course</span></a></span></span> <span class="post-comments-count"> | <a href="/2016/04/16/the-first-step-of-zero-based-people-to-build-a-blog/#comments" itemprop="discussionUrl"><span class="post-comments-count disqus-comment-count" data-disqus-identifier="2016/04/16/the-first-step-of-zero-based-people-to-build-a-blog/" itemprop="commentsCount"></span></a></span> <span id="/2016/04/16/the-first-step-of-zero-based-people-to-build-a-blog/" class="leancloud_visitors" data-flag-title="小白搭博客三部曲之一:Hexo+Git+Node.js"> | <span class="post-meta-item-icon"><i class="fa fa-eye"></i></span> <span class="post-meta-item-text">阅读次数</span><span class="leancloud-visitors-count"></span></span></div></header><div class="post-body" itemprop="articleBody"><hr><h2 id="0x01-前记"><a href="#0x01-前记" class="headerlink" title="0x01 前记"></a>0x01 前记</h2><p>看到网上很多大神都有自己的博客,可以有一群志同道合的人在上面mark和讨论技术问题,心中甚是羡慕,也以为拥有自己的博客(此处指的是自己的博客而不是一些网站的二级域名【csdn,github,博客园】)是一个很难的事。</p><p>直到有一天我接触了WordPress,然而那个时候并没有去动手,一段时间过后,在群里看到有人说Hexo多么的牛叉,也看了<a href="http://i.e12e.com/">Coande</a>的博客,刚好有一篇文章,就开始动手了。过程中,很多问题都是他帮忙解决的,在此感谢!</p><p>废话不多说。进入主题。<br><img src="/images/0416/GitHub_Hexo.png" alt="Hexo"></p><div class="post-more-link text-center"> <a class="btn" href="/2016/04/16/the-first-step-of-zero-based-people-to-build-a-blog/#more" rel="contents">阅读全文 »</a></div></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="/2016/04/05/hello/" itemprop="url">Hello</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-04-05T23:45:06+08:00" content="2016-04-05">2016-04-05</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/Bullshit/" itemprop="url" rel="index"><span itemprop="name">Bullshit</span></a></span></span> <span class="post-comments-count"> | <a href="/2016/04/05/hello/#comments" itemprop="discussionUrl"><span class="post-comments-count disqus-comment-count" data-disqus-identifier="2016/04/05/hello/" itemprop="commentsCount"></span></a></span> <span id="/2016/04/05/hello/" class="leancloud_visitors" data-flag-title="Hello"> | <span class="post-meta-item-icon"><i class="fa fa-eye"></i></span> <span class="post-meta-item-text">阅读次数</span><span class="leancloud-visitors-count"></span></span></div></header><div class="post-body" itemprop="articleBody"><p>Welcome to my blog.This is my first archive.I want to markdown something important and share with you.<br>For life.<br>my error life.</p><h2 id="Hello-World"><a href="#Hello-World" class="headerlink" title="Hello World"></a>Hello World</h2><h3 id="Hello-World-1"><a href="#Hello-World-1" class="headerlink" title="Hello World"></a>Hello World</h3><figure class="highlight java"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">System.out.println(<span class="string">"Hello World"</span>);</div></pre></td></tr></table></figure><h3 id="Hello-What-Hello"><a href="#Hello-What-Hello" class="headerlink" title="Hello What Hello"></a>Hello What Hello</h3><figure class="highlight java"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">System.out.println(<span class="string">"Hello What Hello"</span>);</div></pre></td></tr></table></figure><div class="post-more-link text-center"> <a class="btn" href="/2016/04/05/hello/#more" rel="contents">阅读全文 »</a></div></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="/2016/04/05/hello-world/" 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-04-05T10:52:45+08:00" content="2016-04-05">2016-04-05</time></span> <span class="post-comments-count"> | <a href="/2016/04/05/hello-world/#comments" itemprop="discussionUrl"><span class="post-comments-count disqus-comment-count" data-disqus-identifier="2016/04/05/hello-world/" itemprop="commentsCount"></span></a></span> <span id="/2016/04/05/hello-world/" class="leancloud_visitors" data-flag-title="Hello World"> | <span class="post-meta-item-icon"><i class="fa fa-eye"></i></span> <span class="post-meta-item-text">阅读次数</span><span class="leancloud-visitors-count"></span></span></div></header><div class="post-body" itemprop="articleBody"><p>Welcome to <a href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/">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">troubleshooting</a> or you can ask me on <a href="https://github.com/hexojs/hexo/issues">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><div class="line">1</div></pre></td><td class="code"><pre><div class="line">$ hexo new <span class="string">"My New Post"</span></div></pre></td></tr></table></figure><p>More info: <a href="https://hexo.io/docs/writing.html">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><div class="line">1</div></pre></td><td class="code"><pre><div class="line">$ hexo server</div></pre></td></tr></table></figure><p>More info: <a href="https://hexo.io/docs/server.html">Server</a></p><div class="post-more-link text-center"> <a class="btn" href="/2016/04/05/hello-world/#more" rel="contents">阅读全文 »</a></div></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="Steffan"><p class="site-author-name" itemprop="name">Steffan</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">9</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">5</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">23</span> <span class="site-state-item-name">标签</span></a></div></nav><div class="links-of-author motion-element"><span class="links-of-author-item"><a href="https://github.com/errorlife" target="_blank"><i class="fa fa-github"></i> GitHub</a></span><span class="links-of-author-item"><a href="https://www.zhihu.com/people/errorlife" target="_blank"><i class="fa fa-globe"></i> 知乎</a></span></div><div class="links-of-blogroll motion-element"><div class="links-of-blogroll-title">Links</div><ul class="links-of-blogroll-list"><li class="links-of-blogroll-item"> <a href="http://e12e.com/" target="_blank">Coande</a></li><li class="links-of-blogroll-item"> <a href="https://yicodes.com/" target="_blank">易极</a></li><li class="links-of-blogroll-item"> <a href="https://istarvip.cn/" target="_blank">猿码阁</a></li></ul></div></section></div></aside></div></main><footer id="footer" class="footer"><div class="footer-inner"><div class="copyright"> © 2016 - <span itemprop="copyrightYear">2017</span><span class="with-love"><i class="fa fa-heart"></i></span> <span class="author" itemprop="copyrightHolder">Steffan</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.Mist</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/bootstrap.js?v=5.0.1"></script><script type="text/javascript">function run_disqus_script(e){var s=document.createElement("script");s.type="text/javascript",s.async=!0,s.src="//steffan.disqus.com/"+e,(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(s)}var disqus_shortname="steffan",disqus_identifier="index.html",disqus_title="",disqus_url="";run_disqus_script("count.js")</script><script src="https://cdn1.lncld.net/static/js/av-core-mini-0.6.1.js"></script><script>AV.initialize("bwHRDwJAev8ldquzaBPzsY31-gzGzoHsz","NqF1jLgXSMErVfrFD06Dps4d")</script><script>function showTime(e){var t=new AV.Query(e),n=[],o=$(".leancloud_visitors");o.each(function(){n.push($(this).attr("id").trim())}),t.containedIn("url",n),t.find().done(function(e){if(0===e.length)return void o.find(".leancloud-visitors-count").text(0);for(var t=0;t<e.length;t++){var n=e[t],i=n.get("url"),r=n.get("time"),l=document.getElementById(i);$(l).find(".leancloud-visitors-count").text(r)}}).fail(function(e,t){console.log("Error: "+t.code+" "+t.message)})}function addCount(e){var t=$(".leancloud_visitors"),n=t.attr("id").trim(),o=t.attr("data-flag-title").trim(),i=new AV.Query(e);i.equalTo("url",n),i.find({success:function(t){if(t.length>0){var i=t[0];i.fetchWhenSave(!0),i.increment("time"),i.save(null,{success:function(e){$(document.getElementById(n)).find(".leancloud-visitors-count").text(e.get("time"))},error:function(e,t){console.log("Failed to save Visitor num, with error message: "+t.message)}})}else{var r=new e;r.set("title",o),r.set("url",n),r.set("time",1),r.save(null,{success:function(e){$(document.getElementById(n)).find(".leancloud-visitors-count").text(e.get("time"))},error:function(e,t){console.log("Failed to create")}})}},error:function(e){console.log("Error:"+e.code+" "+e.message)}})}$(function(){var e=AV.Object.extend("Counter");1==$(".leancloud_visitors").length?addCount(e):$(".post-title-link").length>1&&showTime(e)})</script></body></html>