<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

  <title><![CDATA[聪本脚的技术Blog]]></title>
  <link href="http://yeshengwu.github.io/atom.xml" rel="self"/>
  <link href="http://yeshengwu.github.io/"/>
  <updated>2016-01-01T15:37:27+08:00</updated>
  <id>http://yeshengwu.github.io/</id>
  <author>
    <name><![CDATA[Your Name ==Evan]]></name>
    
  </author>
  <generator uri="http://octopress.org/">Octopress</generator>

  
  <entry>
    <title type="html"><![CDATA[2015总结]]></title>
    <link href="http://yeshengwu.github.io/blog/2016/01/01/2015zong-jie/"/>
    <updated>2016-01-01T13:49:23+08:00</updated>
    <id>http://yeshengwu.github.io/blog/2016/01/01/2015zong-jie</id>
    <content type="html"><![CDATA[<p>2015又这么快速的过了，此处是一贯的一万字感慨，哎，那就好好脑补这1万字里的各种画面吧，接下来回到总结部分，基于日历统计和有道笔记整理出来。</p>

<h2>工作部分</h2>

<p>说到工作，不得不说今年真心进步不大，所谓学如逆水行舟，不进则退啊。</p>

<ul>
<li>iOS app: 㒒漫 上线了,team出品</li>
<li>android app: News vpn 一点 也都粗糙地上线了，只是结局蛮荒凉。</li>
<li>从大鸟厂出来换了个窝，处在艰难的探索中，但要乐观积极去面对未来，胆大心细！</li>
<li>驾照终于报名了，只是到现在还在等科三，其中的练车苦就不说了。</li>
</ul>


<h2>生活娱乐部分</h2>

<h3>篮球技术</h3>

<p>篮球一直在琢磨但是问题有很多，所以我大胆的清空自己包袱重新去理解经过几次大的实践总算稳定了，我主打控卫和得分位，穿鞋167cm。</p>

<p>原来我存在问题是，1，投篮不稳定，时好时坏，后面发现这个问题后果断放弃原来投篮姿势，重新看视频教学，终于顿悟，一定要看专业的适合自己的教学视频，掌握后多练一定可以形成肌肉记忆，这样命中率从15%一下到30%，不过还有很大提高，关键是现在有了比较稳定的发挥。</p>

<p>2，运球左手不灵活，经过大的实践总算改善了很多。2015，篮球这方面取得了飞跃的进步。</p>

<p>2016，好好去享受篮球带来的汗水。</p>

<h3>健康问题</h3>

<p>身体是革命的本钱，长这么大第一次住院，看来2015注定有很多第一次。
说太多都没用，各种鸡汤特多，如果没发生在自己身上，自己没有遭殃就体会不到深刻。所谓深刻，什么叫深刻。让我们用《让子弹飞》来一段：</p>

<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
<span class='line-number'>3</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>什么叫惊喜？
</span><span class='line'>什么他妈的叫惊喜！
</span><span class='line'>什么他妈的叫他妈的惊喜！
</span></code></pre></td></tr></table></div></figure>


<p>深刻就是，针扎在你身上，每天都打，留置针，第一次看过可以放手上3天，睡觉都不敢乱动；深刻就是一晚上12点每半小时跑一趟厕所到4点；深刻就是看着其他病友喊着嗓门推手术室&hellip;&hellip;</p>

<p>发生在自己身上了亲身体会到了才知道什么是健康，什么TMD叫深刻！什么TMD的叫TMD的深刻！</p>

<h3>房子问题</h3>

<p>1，15年也当业主了，哎，要忙装修了，这过程挺累多。五一的时候回家把户口本拿来，回这边还得赶练车，困死的熊猫眼，艰辛。</p>

<p>2，15年国庆双方家长见了面，估计我们马上快了，嗯，马儿乖不乖就看它了，看看周围同学同事娃都会打酱油了。❤️</p>

<h3>娱乐</h3>

<p>把过去音乐整理了一遍，以前听歌太乱了，啥歌都听，举个栗子：发现adele一首歌比较好听，啪，搜她其他歌听开头不错，嗯，收藏到列表。又发现老歌比较经典，啪，列表又一堆，结果这个音乐列表又长又臭，根本没啥品味可言了，太杂乱。
现在整理了3个歌单，每个歌单7首左右，没事听听挺好，注意这个数字7是个神秘大魔力数字，人对于7个数字还是比较好记的，一旦歌单14以上基本这个歌单就没法好好继续了。</p>

<h2>学习部分</h2>

<ul>
<li>iOS

<ol>
<li>AFNetworking源码阅读了一遍，不过现在又忘得差不多了。</li>
<li>YYKit开源项目学习</li>
<li>电子书阅读器Reader项目学习</li>
</ol>
</li>
<li>andorid

<ol>
<li>Volley源码学习了一遍</li>
<li>retrofit源码学习</li>
<li>重新整理了下android项目</li>
</ol>
</li>
<li>其他

<ol>
<li>其他在弄没啥进展的就不好意思弄上来了，仅mark</li>
</ol>
</li>
<li>电子书

<ol>
<li>敏捷软件开发原则、模式和实践</li>
<li>&hellip;</li>
</ol>
</li>
</ul>


<h1>总结</h1>

<p>2015，总体还是蛮有波澜的。只是工作上需要提高，多埋头多抬头，争取2016在工作上有质的飞跃！</p>

<p>2015，是继往开来的开来第一年，整理了很多，也是按照重塑的原则在走：以前所有的方法论，思维，观点等都在现实问题中去检验，然后用新的体会去生成新的存在，就像改革一样。((这些观点想法之前提到过)给自己的提醒))。</p>

<p>2016，整装待发，磨砺好工具上路吧！</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[搭建octopress+github Page总结]]></title>
    <link href="http://yeshengwu.github.io/blog/2015/12/15/post-title/"/>
    <updated>2015-12-15T22:49:57+08:00</updated>
    <id>http://yeshengwu.github.io/blog/2015/12/15/post-title</id>
    <content type="html"><![CDATA[<p>开始用 octopress来写blog了，看博客看多了也想自己写写。今天就把搭建octopress ＋github page的过程总结下吧。</p>

<p>1，参考 <a href="http://blog.devtang.com/blog/2012/02/10/setup-blog-based-on-github/">这篇文章</a>，但是细节还有提高。</p>

<p>细节1：Deploying to Github Pages
<a href="http://octopress.org/docs/deploying/">octopress deploying</a>描述有3种方式，第一种是 GitHub Pages
第二个是 发布到Heroku；第三个是Rsync，所以可以Deploying with Rsync。
我们选第一种 <a href="http://octopress.org/docs/deploying/github/">github page</a>这样按照文档设定就可以了。</p>

<p>其中新手不知道执行命令在哪个文件夹下面，这里提醒下都在 octopress下面。当执行到 rake deploy时会做什么事情呢？上面文档也说得很清楚：只是没注意_deploy文件夹会建立git仓库来拉github上的page仓库导致push不成功命令log如下：</p>

<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
<span class='line-number'>3</span>
<span class='line-number'>4</span>
<span class='line-number'>5</span>
<span class='line-number'>6</span>
<span class='line-number'>7</span>
<span class='line-number'>8</span>
<span class='line-number'>9</span>
<span class='line-number'>10</span>
<span class='line-number'>11</span>
<span class='line-number'>12</span>
<span class='line-number'>13</span>
<span class='line-number'>14</span>
<span class='line-number'>15</span>
<span class='line-number'>16</span>
<span class='line-number'>17</span>
<span class='line-number'>18</span>
<span class='line-number'>19</span>
<span class='line-number'>20</span>
<span class='line-number'>21</span>
<span class='line-number'>22</span>
<span class='line-number'>23</span>
<span class='line-number'>24</span>
<span class='line-number'>25</span>
<span class='line-number'>26</span>
<span class='line-number'>27</span>
<span class='line-number'>28</span>
<span class='line-number'>29</span>
<span class='line-number'>30</span>
<span class='line-number'>31</span>
<span class='line-number'>32</span>
<span class='line-number'>33</span>
<span class='line-number'>34</span>
<span class='line-number'>35</span>
<span class='line-number'>36</span>
<span class='line-number'>37</span>
<span class='line-number'>38</span>
<span class='line-number'>39</span>
<span class='line-number'>40</span>
<span class='line-number'>41</span>
<span class='line-number'>42</span>
<span class='line-number'>43</span>
<span class='line-number'>44</span>
<span class='line-number'>45</span>
<span class='line-number'>46</span>
<span class='line-number'>47</span>
<span class='line-number'>48</span>
<span class='line-number'>49</span>
<span class='line-number'>50</span>
<span class='line-number'>51</span>
<span class='line-number'>52</span>
<span class='line-number'>53</span>
<span class='line-number'>54</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>moumoudeMacBook-Pro:octopress evan$ rake deploy
</span><span class='line'>## Deploying branch to Github Pages 
</span><span class='line'>## Pulling any updates from Github Pages 
</span><span class='line'>cd _deploy
</span><span class='line'>warning: no common commits
</span><span class='line'>remote: Counting objects: 31, done.
</span><span class='line'>remote: Total 31 (delta 0), reused 0 (delta 0), pack-reused 31
</span><span class='line'>Unpacking objects: 100% (31/31), done.
</span><span class='line'>From https://github.com/yeshengwu/yeshengwu.github.io
</span><span class='line'> * [new branch]      master     -&gt; origin/master
</span><span class='line'>There is no tracking information for the current branch.
</span><span class='line'>Please specify which branch you want to merge with.
</span><span class='line'>See git-pull(1) for details
</span><span class='line'>
</span><span class='line'>    git pull &lt;remote&gt; &lt;branch&gt;
</span><span class='line'>
</span><span class='line'>If you wish to set tracking information for this branch you can do so with:
</span><span class='line'>
</span><span class='line'>    git branch --set-upstream-to=origin/&lt;branch&gt; master
</span><span class='line'>
</span><span class='line'>cd -
</span><span class='line'>
</span><span class='line'>rm -rf _deploy/assets
</span><span class='line'>rm -rf _deploy/atom.xml
</span><span class='line'>rm -rf _deploy/blog
</span><span class='line'>rm -rf _deploy/favicon.png
</span><span class='line'>rm -rf _deploy/images
</span><span class='line'>rm -rf _deploy/index.html
</span><span class='line'>rm -rf _deploy/javascripts
</span><span class='line'>rm -rf _deploy/robots.txt
</span><span class='line'>rm -rf _deploy/sitemap.xml
</span><span class='line'>rm -rf _deploy/stylesheets
</span><span class='line'>
</span><span class='line'>## Copying public to _deploy
</span><span class='line'>cp -r public/. _deploy
</span><span class='line'>cd _deploy
</span><span class='line'>
</span><span class='line'>## Committing: Site updated at 2015-12-15 15:51:57 UTC
</span><span class='line'>On branch master
</span><span class='line'>nothing to commit, working directory clean
</span><span class='line'>
</span><span class='line'>## Pushing generated _deploy website
</span><span class='line'>Username for 'https://github.com': yeshengwu510168@gmail.com
</span><span class='line'>Password for 'https://yeshengwu510168@gmail.com@github.com': 
</span><span class='line'>To https://github.com/yeshengwu/yeshengwu.github.io
</span><span class='line'> ! [rejected]        master -&gt; master (non-fast-forward)
</span><span class='line'>error: failed to push some refs to 'https://github.com/yeshengwu/yeshengwu.github.io'
</span><span class='line'>hint: Updates were rejected because the tip of your current branch is behind
</span><span class='line'>hint: its remote counterpart. Integrate the remote changes (e.g.
</span><span class='line'>hint: 'git pull ...') before pushing again.
</span><span class='line'>hint: See the 'Note about fast-forwards' in 'git push --help' for details.
</span><span class='line'>
</span><span class='line'>## Github Pages deploy complete
</span><span class='line'>cd -</span></code></pre></td></tr></table></div></figure>


<p>所以cd到_deploy后,设置好git upstream 后再rake deploy一次就可以了。</p>

<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>moumoudeMacBook-Pro:_deploy evan$ git branch --set-upstream-to=origin/master master
</span><span class='line'>Branch master set up to track remote branch master from origin.</span></code></pre></td></tr></table></div></figure>


<p>细节2：google api巨慢的问题
参考 <a href="http://droidyue.com/blog/2014/06/22/fix-octopress-slow-loading-speed-issue-in-china-mainland/">技术小黑屋</a></p>

<h2>总结</h2>

<p>其实对于如何架设这样的blog，网上很多参考的文章，有的写的不错很有指导性，也有的直接转载却没有实际动手过。所以自己需要有个提醒，自己实战才知道会遇到哪些问题，把自己实战中遇到的细节写出来才能对别人有所帮助，千遍一律的东西网上一大把，关键是自己实战中的细节经验才是宝贵的。</p>
]]></content>
  </entry>
  
</feed>
