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

  <title><![CDATA[sourrabbit & linpx]]></title>
  <link href="http://colors4.us/atom.xml" rel="self"/>
  <link href="http://colors4.us/"/>
  <updated>2012-04-26T15:05:47+08:00</updated>
  <id>http://colors4.us/</id>
  <author>
    <name><![CDATA[Dong Ping; Lin Pengxuan]]></name>
    
  </author>
  <generator uri="http://octopress.org/">Octopress</generator>

  
  <entry>
    <title type="html"><![CDATA[面朝大海，春暖花开]]></title>
    <link href="http://colors4.us/blog/2012/04/26/%E9%9D%A2%E6%9C%9D%E5%A4%A7%E6%B5%B7-%E6%98%A5%E6%9A%96%E8%8A%B1%E5%BC%80/"/>
    <updated>2012-04-26T22:56:52+08:00</updated>
    <id>http://colors4.us/blog/2012/04/26/面朝大海-春暖花开</id>
    <content type="html"><![CDATA[<p>最近做了很多事，实习期满转正，拔牙，全麻检查，给所里同事安排汉语期中考试，每天坚持喝自制杂粮豆浆和运动，相当充实，很有亮点，就是一直懒得写。期间林先生小宇宙爆发，笔耕不缀，为了制止他继续刷屏，咬牙攒一篇吧。</p>

<p>从最俗套的天气说起。春暖花开了。去年这个时候，我和朋友一起去玉渊潭看樱花，在京城里能看到大片的花红柳绿还是很振奋的，就是人实在太多。上上周六去看牙科，坐车路过如意岛公园，汉江边上开满了樱花，人也乌央乌央的。上周六又去看牙，狂风暴雨，伞骨都好悬没吹折了，赏花就更别提了。倒是我家楼下出门右拐的一小段路，有几棵大樱花树，真正是有如云的感觉。每天上下班从树下走过，都忍不住抬头看看。偶尔一阵风，花瓣打着旋轻飘飘落下，很有日本动画式的浪漫调调。</p>

<p><img src="http://farm9.staticflickr.com/8168/6968868870_f01cdfabff_z.jpg" alt="" /></p>

<!--more-->


<p>北京的市内绿化大多是用一圈铁栏杆围起来，里面种上同种类的草或树，工人定期维护，小花盆也会着意摆出各种漂亮造型。韩国这边基本就是放养了，因为地形有很多凸凹，常常是这里冒出一个小山头，那里下去一个小盆地，凡是不能正常行走的地方都铺满了绿色，走几步就有一丛花在怒放，名字不清楚，也没有刻意打理，配上旁边嶙峋的怪石，天然的很有生气。我工作的地方离海很近，吹过来的风里会有大海咸咸的味道，上班路上深深吸一口，有遏制哈欠的效果。</p>

<p><img src="http://farm8.staticflickr.com/7201/7114947175_212da5774b_z.jpg" alt="" /></p>

<p>我小时候每次作业做得不错，爷爷就带我去底下农村里挖野菜做奖励，语文书上貌似还有一篇挖野菜的课文。那会儿我有一套专门装备，从爸爸车间里拿的一个全不锈钢小铲，配欧式深底弯把大花篮，还有绑着粉红蝴蝶结的遮阳帽，挖野菜是我童年最大的乐趣之一，边挖边代入格林童话中各种角色，自我感觉相当公主。来了韩国以后发现，地上长的草基本上我都挖过并吃过，路边不是草地，根本就是个无主大菜园！这个手痒……可惜林先生完全不能理解我的乐趣，每次都俯视45度角翻个白眼，外带一句，“你家那会儿是得有多穷啊……”恨！</p>

<p>说到吃，我们最近每天都在家里吃晚饭了。下班路上去超市转一圈，然后回家简单炒两个菜，林先生有时会自告奋勇来刷碗。我做菜的速度越来越快了，半个小时就能搞定晚饭，这在以前完全是不可想象的。有点累，但过日子的气氛应该就是这样吧，平淡+温馨。当然林先生依然有义务在饭前饭后分别大声赞叹，可真是好吃啊！</p>

<p><img src="http://farm8.staticflickr.com/7210/7114946765_240a2779ea_z.jpg" alt="" /></p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[如何在越狱iPhone上安装虾米。]]></title>
    <link href="http://colors4.us/blog/2012/04/26/%E5%A6%82%E4%BD%95%E5%9C%A8%E8%B6%8A%E7%8B%B1iphone%E4%B8%8A%E5%AE%89%E8%A3%85%E8%99%BE%E7%B1%B3/"/>
    <updated>2012-04-26T05:22:33+08:00</updated>
    <id>http://colors4.us/blog/2012/04/26/如何在越狱iphone上安装虾米</id>
    <content type="html"><![CDATA[<p>数次想在越狱的iPhone上安装xiami，均因为麻烦而放弃。总结完这次，希望可以一劳永逸。</p>

<ol>
<li><p>下载最新的<a href="http://www.xiami.com/software/iphone">虾米软件</a>。</p></li>
<li><p>在cydia上安装openssh和iFile，installous，破解版可从该源获取<code>http://apt.178.com</code></p></li>
<li><p>在苹果电脑终端上运行<code>scp xiamiiphone_x.x.x.ipa root@10.0.1.4:
/var/mobile/Documents/installous/Downloads/</code>。其中<code>10.0.1.4</code>为iPhone的IP地址。密码为：alpine</p></li>
<li><p>打开iPhone中的installous中的downloads，点击安装即可。</p></li>
</ol>

]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[使用中的iPhone和Macbook Pro]]></title>
    <link href="http://colors4.us/blog/2012/04/25/%E4%BD%BF%E7%94%A8%E4%B8%AD%E7%9A%84iphone%E5%92%8Cmacbook-pro/"/>
    <updated>2012-04-25T20:57:25+08:00</updated>
    <id>http://colors4.us/blog/2012/04/25/使用中的iphone和macbook-pro</id>
    <content type="html"><![CDATA[<p>09年买的Macbook Pro在自己失误使用的情况下，光10年一年就去修了两次，换了两块主板。发觉苹果制品东西坏得太容易，买了apple
care，约1700元。之后就一路放心的大用特用，在质保的光环下，居然也没有给整坏。我这里使用的方法简单介绍下，我的苹果电脑是不关机的，使用时打开盖子即可。电池也从令人恐怖的7小时非常自然地缩水到1.5小时。今年6月份3年期质保到期前，我的谷歌日历提醒我做下质保处理。我想也是时候去换下了。</p>

<p>于是进行机子还原处理。把使用中的SSD拆下，换下原来的硬盘。无法完成，原因是没有特殊的梅花螺丝刀。网上做些搜索，发现更换SSD硬盘后，还是允许其他部件质保的。于是很嚣张地提着我的电脑就去A/S
center。我过高地估计了我的运气，拆机过程中，将我的wifi，bluetooth和摄像头搞坏了。质保中心不给换超过一年保修期的电池，说是规定。不过，他们给我换了块屏幕。没错，全新的屏幕。我相信这块屏幕已经超过了原来质保的价钱。淘宝搜索的结果是从1900~2600元不等，还不能保证正港。</p>

<p>看起来，就好像我用wifi换了块屏幕。电池不好，可以忍，wifi不能用，就等于没有电脑一般。发挥想象力，竟然也找到一块合适我使用的usb
wifi，好的地方是支持mac，就是不知能支持到何种程度。还小，有如现在罗技无线鼠标的usb。下午或明天就到了，应该不会错。<!--more--></p>

<p><img src="http://farm9.staticflickr.com/8141/7111723553_0ee8294089.jpg" alt="" /></p>

<p>因为已经在修理中心了，我一直对自己的4S手机有划痕耿耿于怀。考虑到电池也不是很给力，就试着说要不给换个吧。还真给换。拿到手第一时间就奔下去贴膜，较搞笑，店里卖200块的膜，但是不给贴。不给贴我买啥啊。</p>

<p>去年回家之前，就琢磨着把手中已有的iPhone给母亲用，这样facetime和发邮件都会非常方便。作为补偿，我又从cowboom上买了台二手的iPhone给董萍。12月24日出运的手机，拿到手后，马上就被残酷的现状打击到。cowboom非常贴心地帮我升到了5.0.1，一直到4月中旬，基带都在04.11.08锁着，不能用其他任何手机sim卡，除了AT&amp;T自家的。我试过各种方法，拿到苹果维修中心去，考虑更换等。某埃及的手机黑客react0r的tweet也让我燃起了使用的信心，结果证明都是徒劳。</p>

<p>4月13日，我上厕所过程中看推发现AT&amp;T推出解锁服务。第一时间打电话要求解锁。居然给了个case
number。直到今天4月25日为止，还未收到解锁邮件。疯了。4月22日，中国黑客利用固件漏洞解锁了所有的iPhone。听到消息时，花了4个小时把手机解锁使用（对，过程中我数次涌起摔机子的冲动）。之后就听到消息，gevey
card放出解锁芯片，需要49美元。唯一反应就是，嘿，你早干嘛去了。</p>

<p>对苹果感觉很好，别人问买啥电脑，我也只推荐这个。确实不错。</p>

<p>注：回家后我装上了这个wifi usb，非常好用，几乎零配置。芯片是Realtek RTL8188CU, OS X下的<a href="http://www.wireless-driver.com/airlink101-awll5088-wireless-windows-macos-driver-utility/">驱动</a>在此，支持最新的Lion。最后送上一张电脑截图。基本上电脑就是全新配置了，屏幕非常亮，网络也稳定。哈哈哈。我得考虑下是不是真需要再买一台MBP了。</p>

<p><img src="http://farm6.staticflickr.com/5197/7112341205_3e5238ca89_b.jpg" alt="" /></p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[电影，体检等的流水账]]></title>
    <link href="http://colors4.us/blog/2012/04/18/%E7%94%B5%E5%BD%B1-%E4%BD%93%E6%A3%80%E7%AD%89%E7%9A%84%E6%B5%81%E6%B0%B4%E8%B4%A6/"/>
    <updated>2012-04-18T00:32:57+08:00</updated>
    <id>http://colors4.us/blog/2012/04/18/电影-体检等的流水账</id>
    <content type="html"><![CDATA[<p>来几个流水账吧。这是我比较喜欢的书写模式。</p>

<p>昨天看了범죄와의
전쟁。相当不错。下载时有人评论是，中国的电影已经被韩国拉开了距离了。同意。故事内容或是海报一看到就有马上出去观览的冲动。韩国也有过一个如香港雷洛般的时代，从头到尾的腐败。80年代的一个小人物因腐败从海关开除后，混着混着就拌上了一个在辈分上是他小辈的老大。这哥们打架不行，但是有一点比较厉害，会说。脸皮够厚，能给他蹭到大人物的关照。东西送的出手。性格典型的狐假虎威，这样说不大对，只能说他非常能够借势。因为演的黑社会，偷鸡摸狗的事干多了，不过因为他借势借出了艺术感，让观众甚至把感情放到了他身上，和他一起在情节中起伏。。。不多剧透，快去找来看看。下午有空和同事聊起这个，突然就问，你觉得和咱们部长像吗？这么能说。同事原话是：“
恩，没错，就是这种赶脚”</p>

<p><img src="http://farm8.staticflickr.com/7208/7086672733_c6948b71a4_b.jpg" alt="" /></p>

<p>今天去体检。一年多没体检，怕死如我,还是很期待的。昨晚九点后就没有吃饭。9点到体检中心，人特别多，我一看就吓到，不会得等死吧。结果是花了3个小时，不过不是因为等，而是项目做得太多，都花上时间了。从头到尾有人带着，到了区域就坐下等着叫名字。比如今天做的睡眠胃镜是我第二次被上麻药。先喝了杯药，打了一针，医生让我躺好。我眼睛就睁开一直想着，要是没办法睡着不就痛苦了。医生在我嘴上套了个咬嘴，方便仪器伸入。还在想间，突然发觉我咬嘴不见了。原来胃镜已经做完。生命就平白无故消失了1小时。很神奇。从此引申出来，我对韩国的诊所看病经验印象很好，预约好才去，基本不用等。上班抽空过去看就行了。过于满意，所以又给老婆追加了个全身检查，就是这周末。嗯。很好。</p>

<p>另，换了个VPS的IP地址，github很好用。</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[备份VPS内容到dropbox]]></title>
    <link href="http://colors4.us/blog/2012/04/14/%E5%A4%87%E4%BB%BDvps%E5%86%85%E5%AE%B9%E5%88%B0dropbox/"/>
    <updated>2012-04-14T17:16:45+08:00</updated>
    <id>http://colors4.us/blog/2012/04/14/备份vps内容到dropbox</id>
    <content type="html"><![CDATA[<p>我对github一筹莫展，昨晚更新了博客内容后，还是发现无法在github上备份，除非我用心去学这东西，不然问题还是会一再出现。于是就自然想到了用dropbox来备份我的vps和博客内容。</p>

<p>首先被否定了的是dropbox官网上贴出的<a href="https://www.dropbox.com/install?os=lnx">linux安装教程</a>。
运行出错，考虑到机子内存本身不大，于是就掠过了。</p>

<p>继续在网上晃荡，直到我看见了这篇<a href="http://davehope.co.uk/Blog/backup-your-linux-vps-to-dropbox/">Backup your Linux system to Dropbox</a>。原
理是利用mysql登录dropbox，将文件打包上传，由于vps带宽的原因，我发现几乎是妙传。贴出code，供大伙参 考。<!--more--></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>
<span class='line-number'>55</span>
<span class='line-number'>56</span>
<span class='line-number'>57</span>
<span class='line-number'>58</span>
<span class='line-number'>59</span>
<span class='line-number'>60</span>
<span class='line-number'>61</span>
<span class='line-number'>62</span>
<span class='line-number'>63</span>
<span class='line-number'>64</span>
<span class='line-number'>65</span>
<span class='line-number'>66</span>
<span class='line-number'>67</span>
<span class='line-number'>68</span>
<span class='line-number'>69</span>
<span class='line-number'>70</span>
<span class='line-number'>71</span>
<span class='line-number'>72</span>
<span class='line-number'>73</span>
<span class='line-number'>74</span>
<span class='line-number'>75</span>
<span class='line-number'>76</span>
<span class='line-number'>77</span>
<span class='line-number'>78</span>
<span class='line-number'>79</span>
<span class='line-number'>80</span>
<span class='line-number'>81</span>
<span class='line-number'>82</span>
<span class='line-number'>83</span>
<span class='line-number'>84</span>
<span class='line-number'>85</span>
<span class='line-number'>86</span>
<span class='line-number'>87</span>
<span class='line-number'>88</span>
<span class='line-number'>89</span>
<span class='line-number'>90</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>#!/bin/bash
</span><span class='line'>DROPBOX_USER="Your Dropbox username"
</span><span class='line'>DROPBOX_PASS="Your Dropbox password"
</span><span class='line'>DROPBOX_DIR="Directory in your dropbox account to store the backups, e.g.
</span><span class='line'>/backups"
</span><span class='line'>BACKUP_SRC="/home /var/www /var/git /etc /root"
</span><span class='line'>BACKUP_DST="/tmp"
</span><span class='line'>MYSQL_SERVER="127.0.0.1"
</span><span class='line'>MYSQL_USER="root"
</span><span class='line'>MYSQL_PASS="Your MySQL password"
</span><span class='line'>
</span><span class='line'>#
</span><span class='line'># Stop editing here.
</span><span class='line'>NOW=$(date +"%Y.%m.%d")
</span><span class='line'>DESTFILE="$BACKUP_DST/$NOW.tgz"
</span><span class='line'>
</span><span class='line'>#
</span><span class='line'># Upload a file to Dropbox.
</span><span class='line'># $1 = Source file
</span><span class='line'># $2 = Destination file.
</span><span class='line'>function dropboxUpload
</span><span class='line'>{
</span><span class='line'>    #
</span><span class='line'>    # Code based on DropBox Uploader 0.6 from
</span><span class='line'>http://www.andreafabrizi.it/?dropbox_uploader
</span><span class='line'>    LOGIN_URL="https://www.dropbox.com/login"
</span><span class='line'>    HOME_URL="https://www.dropbox.com/home"
</span><span class='line'>    UPLOAD_URL="https://dl-web.dropbox.com/upload"
</span><span class='line'>    COOKIE_FILE="/tmp/du_cookie_$RANDOM"
</span><span class='line'>    RESPONSE_FILE="/tmp/du_resp_$RANDOM"
</span><span class='line'>
</span><span class='line'>    UPLOAD_FILE=$1
</span><span class='line'>    DEST_FOLDER=$2
</span><span class='line'>
</span><span class='line'>    # Login
</span><span class='line'>    echo -ne " > Logging in..."
</span><span class='line'>    curl -s -i -c $COOKIE_FILE -o $RESPONSE_FILE --data
</span><span class='line'>"login_email=$DROPBOX_USER&login_password=$DROPBOX_PASS&t=$TOKEN"
</span><span class='line'>"$LOGIN_URL"
</span><span class='line'>    grep "location: /home" $RESPONSE_FILE > /dev/null
</span><span class='line'>
</span><span class='line'>    if [ $? -ne 0 ]; then
</span><span class='line'>        echo -e " Failed!"
</span><span class='line'>        rm -f "$COOKIE_FILE" "$RESPONSE_FILE"
</span><span class='line'>        exit 1
</span><span class='line'>    else
</span><span class='line'>        echo -e " OK"
</span><span class='line'>    fi
</span><span class='line'>
</span><span class='line'>    # Load home page
</span><span class='line'>    echo -ne " > Loading Home..."
</span><span class='line'>    curl -s -i -b "$COOKIE_FILE" -o "$RESPONSE_FILE" "$HOME_URL"
</span><span class='line'>
</span><span class='line'>    if [ $? -ne 0 ]; then
</span><span class='line'>        echo -e " Failed!"
</span><span class='line'>        rm -f "$COOKIE_FILE" "$RESPONSE_FILE"
</span><span class='line'>        exit 1
</span><span class='line'>    else
</span><span class='line'>        echo -e " OK"
</span><span class='line'>    fi
</span><span class='line'>
</span><span class='line'>    # Get token
</span><span class='line'>    TOKEN=$(cat "$RESPONSE_FILE" | tr -d '\n' | sed 's/.*&lt;form
</span><span class='line'>action="https:\/\/dl-web.dropbox.com\/upload"[^>]*>\s*&lt;input type="hidden"
</span><span class='line'>name="t" value="\([a-z 0-9]*\)".*/\1/')
</span><span class='line'>
</span><span class='line'>    # Upload file
</span><span class='line'>    echo -ne " > Uploading '$UPLOAD_FILE' to 'DROPBOX$DEST_FOLDER/'..."
</span><span class='line'>    curl -s -i -b $COOKIE_FILE -o $RESPONSE_FILE -F "plain=yes" -F
</span><span class='line'>"dest=$DEST_FOLDER" -F "t=$TOKEN" -F "file=@$UPLOAD_FILE"  "$UPLOAD_URL"
</span><span class='line'>    grep "HTTP/1.1 302 FOUND" "$RESPONSE_FILE" > /dev/null
</span><span class='line'>
</span><span class='line'>    if [ $? -ne 0 ]; then
</span><span class='line'>        echo -e " Failed!"
</span><span class='line'>        rm -f "$COOKIE_FILE" "$RESPONSE_FILE"
</span><span class='line'>        exit 1
</span><span class='line'>    else
</span><span class='line'>        echo -e " OK"
</span><span class='line'>        rm -f "$COOKIE_FILE" "$RESPONSE_FILE"
</span><span class='line'>    fi
</span><span class='line'>}
</span><span class='line'>
</span><span class='line'># Backup files.
</span><span class='line'>mysqldump -u $MYSQL_USER -h $MYSQL_SERVER -p$MYSQL_PASS --all-databases >
</span><span class='line'>"$NOW-Databases.sql"
</span><span class='line'>tar cfz "$DESTFILE" $BACKUP_SRC "$NOW-Databases.sql"
</span><span class='line'>
</span><span class='line'>dropboxUpload "$DESTFILE" "$DROPBOX_DIR"
</span><span class='line'>
</span><span class='line'>rm -f "$NOW-Databases.sql" "$DESTFILE"</span></code></pre></td></tr></table></div></figure>


<p>完了大伙可以把这个加到crontab去，设定一个更新的循环时间就行。我的情况是，直接加在我邮件发送博客的批处理命令后，一旦邮件更新后，便自动打包上传了。很方便。</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[How I unlock my AT&T iPhone 4]]></title>
    <link href="http://colors4.us/blog/2012/04/14/how-i-unlock-my-at-t-iphone-4/"/>
    <updated>2012-04-14T08:57:55+08:00</updated>
    <id>http://colors4.us/blog/2012/04/14/how-i-unlock-my-at-t-iphone-4</id>
    <content type="html"><![CDATA[<h6>注：本文合适于可以描述购买AT&amp;T二手iPhone4情况的用户，淘宝上购买的估计没戏。（下文详述）</h6>

<p>今天如厕看推时，有人讨论AT&amp;T已经在<a href="http://techland.time.com/2012/04/11/unlock-an-att-iphone-in-5-easy-steps/">4月8号解开iPhone Lock</a>限制了，据说是因为Tim
Cook的压迫。当时就觉得一阵兴奋，考，那我还等个屁解锁越狱啊，直接电话过去就行了嘛。不过仔细一看条文，AT&amp;T报出了条件：必须是合约到期的，有AT&amp;T电话号码的。心当场就凉下去了，因为我从未有过AT&amp;T号码，sim卡倒是有个，淘宝买的。</p>

<p>试了不一定能行，不试肯定不行。连上vpn，用gtalk里的<code>call
phone</code>选项免费拨打美国AT&amp;T的服务热线<code>800-331-0500</code>,根据提示音进入人工服务。开篇先说明我想要解锁我的iPhone4，客服就会念出解锁的政策，听不听懂没有关系，大伙基本都不符合。然后说明自己的特殊情况，比如我的，我去年在bestbuy二手网站cowboom上购买了这个手机，我可以提供invoice等来证明我是该手机的合法拥有者。此时客服就会说，没问题，你把你的名字和手机的imei号报给我，我查一下。他们是真能查到，包括我何时购买，购买的网址核对等等。然后就是登记我的电子邮件，海外手机号，最后报说，最迟8个工作日内会给我寄送。千万别忘记向客服讨要本次解锁申请号码，可以用于以后咨询时的reference.</p>

<p>现在嘛，我就挂了电话，在等了，如果确实解锁了，我会跟进说明的。下面附图是我当初购买的发票。</p>

<p><img src="http://farm6.staticflickr.com/5323/7074066031_03822e5f24_c.jpg" alt="" /></p>

<p>关于这个电话还有很多小事情。</p>

<p>我是从美国转运寄到韩国这儿，于是运费加上税要了100美金，没把我气晕。</p>

<p>花了这么多钱总归也要能用，结果还是有锁的。于是拼命给韩国当地的客服打电话，说机子本身按键不灵，有没有方法可以帮我换块主机板。结果不给换，说是AT&amp;T罩的机子，他们不敢下手。但是为了补偿我，给我寄了块苹果的蓝牙键盘。现在和我的iPad配合的很好。:)</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[美签申请小记]]></title>
    <link href="http://colors4.us/blog/2012/04/12/%E7%BE%8E%E7%AD%BE%E7%94%B3%E8%AF%B7%E5%B0%8F%E8%AE%B0/"/>
    <updated>2012-04-12T17:08:10+08:00</updated>
    <id>http://colors4.us/blog/2012/04/12/美签申请小记</id>
    <content type="html"><![CDATA[<p>拿到美签一直是我的心结。我知道现在中国护照比较好拿，不过回到2001年左右，那时刚想考个托福什么的，就被周围的人吓得够呛，有种不可能完成的任务那样，说家里至少要有多少多少存款，放银行得几个月等。今天去申请了下，发现很多事情还是得去做才能发现什么都是浮云。</p>

<p>我是4月3日突发奇想去申请美签B2的。之前一点知识都不了解，网上一搜发现全是面经。就面试来看，我打算全程说真话，所以面经也就不需要了。事前的准备相当全面，老婆过来韩国之前就把该做的公证都给做了，我这里准备下工作在职证明以及存款余额就可以了。行程几乎没有准备，在
booking.com上直接订了夏威夷某酒店7天的订单，未交钱却可以打行程单的那种，提着一袋东西在4月12日就出发面试了。</p>

<p>早上7点半出门，8点十分到使馆后就排队吧。预约是8点半，排第六位。先按指模，问些技术性的问题以及检查护照号和人名是否一致。然后就去面试。等了约有半小时，叫到我们的号了。前面有个黑人哥们在窗口前面试n久，我个人估计最后还是被拒了。我们的面试者是一白人大叔，带着领带，见面先用韩语询问是用韩语来说，还是英语进行面试。当然是英语。</p>

<p>过程非常简短，到吃惊的程度。我就总结下。你们是夫妇？你何时来韩国的？做什么工作，工作内容是啥？有没有那种韩国身份的小卡片，说完还用手比划下？你在何处学的英语？你要去哪？呆几天？然后就是，我们会给你visa，寄到你的邮寄地址去。</p>

<p>如果下巴可以掉下来的话，我和老婆的下巴就已经砸裂地板了。我用十年时间在内心中描绘的有如登天困难般的美签就5分钟拿到了。就不用说我提的厚厚一麻袋的证明文件了。</p>

<p>小爽。<!--more--></p>

<p>附上在家靠着灰色的门拍下的头像照，其实去照相店的钱是可以省下的。第一张是我交上去的照片，当时有种背景会不会太黑不符合要求的感觉，不过想到自己动手的快乐就拼了。第二张大家可以观察到我的睡裤，没错，在家谁那么正规啊。</p>

<p><img src="http://farm8.staticflickr.com/7045/6928094934_a4a954e3b8_q.jpg" alt="" /></p>

<p><img src="http://farm6.staticflickr.com/5343/7074178405_fcd089cc1c.jpg" alt="" /></p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[The Guy Escaped]]></title>
    <link href="http://colors4.us/blog/2012/03/24/the-guy-escaped/"/>
    <updated>2012-03-24T01:06:10+08:00</updated>
    <id>http://colors4.us/blog/2012/03/24/the-guy-escaped</id>
    <content type="html"><![CDATA[<p>There are always some events when I feel like to write something, and today’s event is no exception.</p>

<p>People come and people go. The guy who came here merely 6 months before me in this department just left the company for a top-tier MBA school in U.S. I have been in here for 14 months, so it is about the same time our friendship began. For me, I would say he is nice, has very high level of English comprehensiveness except the writing if I am allowed to venture. He goes to his MBA friends parties on regular Fridays, master of Excel, most important of all this guys knows what he wants, and he commits himself to have this realized. He would go to bed every day in 3am for exam preparation, which I really admired about.</p>

<p>Yet he left. It is the 3rd person left this 4th floor in 3 months. They are leaving not because of this so called high competitiveness but from this oppressive atmosphere where outsider would define it as typical Korean working environment, it is not, actually, in my perspective.</p>

<p>We are close friends, apart from others, for we share a common adversary feeling towards one of bosses. Well, I won’t put too many words on him; I was shocked to find the existence of such being. He is perfectly schizophrenia in science terms, only forgot taking his medicine regularly. Ever since I was here, I was kept being blamed by him for not doing anything but only some supportive work and language studying, on and on… on and on. And I have to thank my very poor Korean that I wasn’t really affected by his words, which according to my colleague were rather ugly. I found my perfect K.O moment on him when boss spoke for around half an hour, I pretended not being able to understand what he was talking about, and asked him to speak slowly and do it again. I am quite sure, guy went crazy, his eyeball squeezed by his own muscles, and I found it amusing. I am not the guy who worked for this boss, my friend did. I wonder how strong one has to be to survive in this. I don’t have such confidence.</p>

<p>I guess 80% time we hang out together, we keep joking about this. Because I know that is the exact reason my friend applying for MBA. It is simple, to escape from here. He made it. I should congratulate to him. I did. and I think we’ll meet, this side or another. <!--more--></p>

<p><img src="http://farm8.staticflickr.com/7269/7007953727_ae10dc8b73.jpg" alt="" /></p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[写在第二年的第一天]]></title>
    <link href="http://colors4.us/blog/2012/03/20/%E5%86%99%E5%9C%A8%E7%AC%AC%E4%BA%8C%E5%B9%B4%E7%9A%84%E7%AC%AC%E4%B8%80%E5%A4%A9/"/>
    <updated>2012-03-20T22:37:50+08:00</updated>
    <id>http://colors4.us/blog/2012/03/20/写在第二年的第一天</id>
    <content type="html"><![CDATA[<p>昨天，2012年3月19日，是我和林先生合法的1周年纪念日。因为是周一，没有时间搞浪漫，于是我们俩下班后凑在一起，简单聚了个餐。新家地下一层有家韩国餐厅，味道非常好，林先生点了泡菜汤，我点了石锅拌饭。店里有位中国服务员，听口音是东北来的，上菜间隙小聊了几句，她的韩语比我好很多，羞愧下。</p>

<p>配菜里有一碟是两个荷包蛋，林先生一人包圆儿了，边吃边说，早饭一个蛋，午饭两个蛋，再加上晚饭这顿，今天已经鸡蛋中毒了。话说韩国的煎荷包蛋好像都是半生不熟的，我很怕这种会流汤的蛋黄，记得当年在燕南吃饭的时候，总要痛苦地在大盘子里扒拉半天，才能找出一个7成熟的。</p>

<p>吃爽了回家，林先生趴在地板上下电影，我贤惠指数爆发，开始削水果、做家务、洗衣服、煮早饭。再然后就是甜蜜的二人观影时间——不得不说，那部电影相当坑爹啊，竟然是个恐怖片！！！开头还挺搞笑，中后段已然转为惊悚。但此时如果放弃，之前被吓死的脑细胞就都成了沉默成本，于是我们硬着头皮，坚持看到结尾——两个吸血鬼深情相拥，在清晨海边初升的阳光下，变成了一对烤红薯。</p>

<p>貌似这是我有生以来第一部从头看到尾的恐怖片。赞自己一个！另对林先生慷慨贡献肩膀的行为表示高度肯定。挑战自我的后果是晚上不敢上厕所，开灯睡了一夜，噩梦连连，神智不清，第二天早晨看错闹钟，早起了一小时。</p>

<p>今天是第二年的第一天。新年新气象。此致林先生：“爱老虎油。”作为相当默契的资深蛔虫，我知道你的回答一定是“油老虎米”。</p>

<p><img src="http://farm7.staticflickr.com/6238/6999186549_181a16a5a8_n.jpg" alt="" /></p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[更换服务器后的Octopress设置]]></title>
    <link href="http://colors4.us/blog/2012/03/19/%E6%9B%B4%E6%8D%A2%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%90%8E%E7%9A%84octopress%E8%AE%BE%E7%BD%AE/"/>
    <updated>2012-03-19T02:02:46+08:00</updated>
    <id>http://colors4.us/blog/2012/03/19/更换服务器后的octopress设置</id>
    <content type="html"><![CDATA[<p>每隔一段时间，我总会有些东西跳出来。事情是这样的，公司里面有道防火墙，屏蔽了Gmail。If there are something to be
got rid of my computer, I am quite positive the services from google would
the last one on my list. 于是我就用了翻墙软件来上Gmail，很讽刺，是吗？在肉身翻墙之后。。。</p>

<p>之前购买的VPS服务也许是因为我设置的邮件发布octopress的ruby程序，一个月内服务过载警告2次。于是我开始考虑转换一个<a href="http://newwebsite.com">服务器</a>。</p>

<!--more-->


<h5>概要，目的</h5>

<ol>
<li>我想实现和现在VPS一样的功能；</li>
<li>改善邮件发送功能。以前是使用cron定时器，每隔一定时间的运行，被动检查是否有新博客。我希望改善博客的发布功能；</li>
<li>VPN，SSH功能正常。</li>
</ol>


<h4>服务器设置</h4>

<p>我从<a href="http://blog.s135.com/pptp_vpn/">这儿</a>可以设置好在CentOS上的VPN。</p>

<p>然后设置LNMP，因为我有了512MB的内存。</p>

<p>设置好新服务器的rvm环境和ruby。</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>
<span class='line-number'>55</span>
<span class='line-number'>56</span>
<span class='line-number'>57</span>
<span class='line-number'>58</span>
<span class='line-number'>59</span>
<span class='line-number'>60</span>
<span class='line-number'>61</span>
<span class='line-number'>62</span>
<span class='line-number'>63</span>
<span class='line-number'>64</span>
<span class='line-number'>65</span>
<span class='line-number'>66</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>#安装git
</span><span class='line'>yum install zlib-devel openssl-devel perl cpio
</span><span class='line'>expat-devel gettext-devel autoconf
</span><span class='line'>wget
</span><span class='line'>http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz
</span><span class='line'>tar xzvf git-latest.tar.gz
</span><span class='line'>cd git-{date}   #进入git的文件夹
</span><span class='line'>autoconf
</span><span class='line'>./configure --with-curl=/usr/local
</span><span class='line'>make & make install
</span><span class='line'>#安装RVM
</span><span class='line'>yum install git git-core git-gui git-doc curl gcc build-essential
</span><span class='line'>groupadd rvm
</span><span class='line'>useradd -g rvm rvm
</span><span class='line'>usermod -a -G rvm root
</span><span class='line'>bash &lt; &lt;(curl -Lk
</span><span class='line'>https://github.com/wayneeseguin/rvm/raw/1.3.0/contrib/install-system-wide)
</span><span class='line'>echo '[[ -s "/usr/local/rvm/scripts/rvm" ]] && .
</span><span class='line'>"/usr/local/rvm/scripts/rvm"' >> ~/.bash_profile
</span><span class='line'>source ~/.bash_profile
</span><span class='line'>rvm pkg install zlib openssl libcurl4-openssl-dev libssl-dev zlib1g-dev
</span><span class='line'>libreadline5-dev
</span><span class='line'>rvm install 1.9.2 -C --with-openssl-dir=$HOME/.rvm/usr
</span><span class='line'>rvm --default use 1.9.2
</span><span class='line'>gem install bundle
</span><span class='line'>#继续octopress的配置,从github上恢复
</span><span class='line'>cd /home/wwwroot
</span><span class='line'>mkdir blog
</span><span class='line'>cd blog
</span><span class='line'>git init
</span><span class='line'>git remote add origin.old git://github.com/linpengxuan/blog.git
</span><span class='line'>git pull origin.old master
</span><span class='line'>git remote add origin git@github.com:linpengxuan/xinboke.git ＃需要新建
</span><span class='line'>git remote add live /home/wwwroot/octopress_blog.git; git pull live master;
</span><span class='line'>git add .;git commit -m "aa";git push origin master
</span><span class='line'>#设置VPS端的另一个octopress环境，用于自动rake generate
</span><span class='line'>cd /home/wwwroot
</span><span class='line'>mkdir octopress_blog.git && cd octopress_blog.git
</span><span class='line'>git init --bare
</span><span class='line'>git config core.bare false
</span><span class='line'>git config core.worktree /home/wwwroot/blog
</span><span class='line'>git config receive.denycurrentbranch ignore
</span><span class='line'>vi hooks/post-receive
</span><span class='line'>/bin/sh
</span><span class='line'>GIT_WORK_TREE=/home/wwwroot/blog git checkout -f
</span><span class='line'>cd /home/wwwroot/blog
</span><span class='line'>bundle exec rake generate
</span><span class='line'>chmod 755 hooks/post-receive
</span><span class='line'>cd /home/wwwroot/blog
</span><span class='line'>git remote add live /home/wwwroot/octopress_blog.git
</span><span class='line'>
</span><span class='line'>#设置jekyllmail
</span><span class='line'>cd /home/wwwroot
</span><span class='line'>mkdir jekyllmail;cd jekyllmail
</span><span class='line'>git init
</span><span class='line'>git remote add origin.old git:github.com/linpengxuan/JekyllMail.git
</span><span class='line'>#设置脚本文件,设置根目录夹上aa.sh,内容如下
</span><span class='line'>/bin/sh
</span><span class='line'>cd /home/wwwroot/jekyllmail
</span><span class='line'>export LC_CTYPE=en_US.UTF-8
</span><span class='line'>export LANG=en_US.UTF-8
</span><span class='line'>ruby jekyllmail.rb
</span><span class='line'>cd /home/wwwroot/blog
</span><span class='line'>git add .
</span><span class='line'>git commit -m "aa"
</span><span class='line'>git push live master</span></code></pre></td></tr></table></div></figure>


<h4>实际操作</h4>

<p>每当我需要更新博文的时候，用邮件发送博文后，我会登录服务器运行<code>./aa.sh</code>,然后在有博文时，会自动<code>rake
generate</code>；在没有博文时，就保持原样。</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[搬家记2.0版]]></title>
    <link href="http://colors4.us/blog/2012/02/21/%E6%90%AC%E5%AE%B6%E8%AE%B02-0%E7%89%88/"/>
    <updated>2012-02-21T13:00:08+08:00</updated>
    <id>http://colors4.us/blog/2012/02/21/搬家记2-0版</id>
    <content type="html"><![CDATA[<p>关于搬家的故事，在上周五下午无心工作时就开了一个几百字的头，但越写越觉得像炫耀贴，最终还是删掉了。没想到竟然让林先生赶了个早，正好现在又干活干到脑筋抽搐，索性也来写一篇升级版本吧。</p>

<p>整个搬家过程可以用一句话来形容——钢铁就是这样炼成的。约好了搬家公司周六下午四点过来，基于对现实的错误估计和对自己的盲目自信，我们在周五晚上悠哉游哉地看了场电影，第二天还睡到自然醒。醒来后林先生就面如土色不停跑厕所了。刚开始我很豪迈地挽挽袖子说，你歇着吧，我一个人搞定。两个小时后，我开始腿软；再过两个小时，已经完全累到无语，只是在心里呐喊林先生竟然能在如此关键的时刻掉链子。在此对林先生发出强烈反驳，见过这么能干的黛玉吗，我搬箱子的英姿就快赶上鲁提辖倒拔垂杨柳了。<!--more--></p>

<p>下午3点时，两个韩国朋友过来帮忙，算是让我的小宇宙回光返照一把。林先生也在外援的刺激下挥别厕所，投入战斗，什么重搬什么，出了一身大汗后连烧也退了。我对此戏称，劳动的力量果然是无穷的，包治百病。</p>

<p>新家所在的大厦貌似是新盖的，一楼大厅很像酒店大堂，内置便利店和咖啡吧，每次进去都有想到前台check
in的冲动。电梯壁是淡淡的金色，镶着一圈一圈的水波纹，小浪漫，速度也很赞，上到17层最多也就咋两三次眼。出电梯左拐再左拐，就是我们的新家了。</p>

<p>记得当时东西还都没搬进去，我们站在空无一物的房间里，看窗外万家灯火，疲惫和兴奋都达到极限。就我来说，应该还有因为恐高而瞬间飞升的血压。林先生硬把我拽到窗边，拉着我的手向外望，第一秒的眩晕过后，唯余赞叹。那时是黄昏，天空是浓郁的墨蓝，一架飞机带着流星的尾巴划过，转瞬即逝。脚下火车轰隆隆驶过，一街之隔，排满了等待红灯的汽车。我们站在家里，看着外面那些要回家的人，心里很温暖。</p>

<p>我对建设的兴趣远大于破坏，在旧家整理一天已经想死，但对新家连续一周的整理都乐在其中。家里的整洁指数和林先生的健康指数同步增长，现在终于都达到了令人满意的程度。我每天整理完毕后，都会及时提醒林先生发表感叹“太干净了，你太贤惠了！”</p>

<p>上周末，林先生请我吃了披萨和炸鸡。作为回馈，我在家煮了一顿中国菜，红菇紫苏鱼汤、清炒西兰花、西芹腐竹，林先生吃得很酣畅。可惜照片忘记拍了，下次一定补上。</p>

<p><code>林先生语：我还是加上我请的饭吧</code></p>

<p><img src="http://farm8.staticflickr.com/7042/6915199729_284057ec1d.jpg" alt="" /></p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[搬家记]]></title>
    <link href="http://colors4.us/blog/2012/02/21/%E6%90%AC%E5%AE%B6%E8%AE%B0/"/>
    <updated>2012-02-21T05:00:07+08:00</updated>
    <id>http://colors4.us/blog/2012/02/21/搬家记</id>
    <content type="html"><![CDATA[<p>因工作地点协调的原因，我们两人决定找一个新住所。我对着地铁线路图比划好久，认为搬到구로역去是个不错的选择。好处不少，两人上班时间都减了不少时间；房间更大，还是小复式；层数高，南面的一堵玻璃墙景色没有任何阻拦；比现住的租金便宜。我简直找不到理由去拒绝。办好手续后，就预订了2月11日入住的搬家行程。</p>

<p>韩国搬家有两种，一种收费高些，一种收费低些。（这句向鲁迅先生的院子里两棵树，一棵是枣树，另一棵也是枣树致敬）前种呢，根据我房价的情况就是给30万韩币（约1800元），我静坐着看搬家公司打包，运送，于新居再解包，摆设等；我当然选择了第二种，自己打包，对方门到门送达，价格在周末时高些，10万韩币。<!--more--></p>

<p>这些都不难。难的是，我从周四晚上和离职的同事去吃中国东北菜被冷风吹到，持续低烧，肠炎也适时配合发作。一直到周日被迫去了医院急诊开药打针才好（大赞，几乎不用排队，当然这是为什么叫急诊的原因）。搬家一段时间，身体的状态是这样的，小便基本没有，口渴经常，喝进多少量的液体，身体就排出多少液体&#8230;&#8230;请自行想象。还不疼，就是没力气。</p>

<p>搬家有个定律，搬家前后，总会有些东西不见，有些东西多出来。对患有强迫症的我来说，要对消失了的东西放弃寻找的念头，基本有些难。所以预防工作得做特别好，所有东西都打包，每个包在新家整理好后才整理下一个。于是配合我的病情，整理过程就慢了。还好，因特网还未转入，有大把的时间集中精神指导和监督sourrabbit同学的整理工作。苦难二字是给sourrabbit写的。sourrabbit一直内心黛玉，哭花确实本事，当然孱弱的身体也没有白学到。（注：这里生病的人是我）。房间整理完了，干净亮堂了，sourrabbit腰也酸了，我个人要求其每晚补做20个仰卧起坐等。</p>

<p>对这房子相当满意。房间明净，阳光充足。大厦管理服务到位，入住后，还有入住意见跟进，询问是否不便等。网络转入更快，先是电话预约，择个午后的时间来家稍微10分钟设置就好。</p>

<p>我一直坚持认为在韩国生活很舒服的原因中，很重要的一个是，行业服务态度好，行动迅速。比如这次网络更换，电话确定好时间，时间一到准时访问，比如看病，时间预约好，直接看病，无需等待等。对顾客信任度高。买了手机，丢了，直接给补，坏了，直接给换。一些看起来本应就有的服务内容在国内被扭曲后，来这享受到果然有种很畅快的感觉。</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[稿子和兔子]]></title>
    <link href="http://colors4.us/blog/2012/02/09/%E7%A8%BF%E5%AD%90%E5%92%8C%E5%85%94%E5%AD%90/"/>
    <updated>2012-02-09T12:00:11+08:00</updated>
    <id>http://colors4.us/blog/2012/02/09/稿子和兔子</id>
    <content type="html"><![CDATA[<p>下午五点一刻。</p>

<p>连着几小时的韩翻中工作让我的脑袋充满浆糊，多看一眼稿子，脑仁儿就突突地疼。公司电脑是不知道多少寸的大宽屏，这意味着我即便想要劳逸结合一下，也不可能公然打开那些花里胡哨的小说或是视频网站。还好天无绝人之路，在这个除了我以外只有一个人勉强明白中文的所里，在翻译稿上写博客是个不错的选择。</p>

<p>就在这一刻，老板多次从我身后走过，我无动于衷，依旧一脸严肃地在大屏幕上写博客，享受语言垄断的优越性，类似于中石化那种“油价涨多少，大爷我说了算”的霸气。</p>

<!--more-->


<p>但其实我也不知道想要写些什么，只是随便敲击键盘，也许下次可以开始玩小说连载。胡言乱语的过程中，感觉头上好像裂开一条缝，里面的浆糊正变成气体，向外丝丝地冒出来，这应该就是传说中的轻松了。</p>

<p>所里的空调很暖和，感冒前我也就穿一件衬衫，这两天龙体抱恙，就重新启用了兔子热水袋。这还是前年生日时老公送的，我从国内千里迢迢背过来，两年里基本没太用，收藏价值远远大于实用价值。昨天用着还好，今天给它充电的时候，发现袋身膨胀得很厉害，里面的液体翻滚沸腾，发出惊悚的轰隆声。上网Google了一下，真是不看不知道，一看吓一大跳，这原来是个威力巨大的液体炸弹！当时后怕得都不觉得困了，这几天我一直都把它放在腿上充电，基本属于自杀。现在热水袋安静地躺在我手边，上面的兔子还在微笑，像在说我杞人忧天，但我实在Hold不住，始终无法消除这种恐惧，插上电之后它也许就会动如脱兔，让我一秒钟变水煮肉片？</p>

<p>老公在韩国版淘宝上又给我买了一个新的热水袋，下周会送到。这只碎花兔子还是继续发挥收藏价值吧。</p>

<p><img src="http://farm8.staticflickr.com/7209/6845415101_737c07e2c9.jpg" alt="" /></p>

<p>刚才去洗手间呼吸新鲜空气（很诡异的说法，原因是办公间没开窗户），用手机看到一个很好的菜谱（好像也不太符合这个区域的活动风格），周六搬家，周日就可以在我的新厨房里施展一下。写到这里，情不自禁地表扬下自己，咋这么贤惠呢！届时如果群众反响良好，我会再拍好照片发上来。当然，以我们家的情况，唯一的一位群众只有“好吃”和“真棒”两个表决项。</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[二月份杂记]]></title>
    <link href="http://colors4.us/blog/2012/02/09/%E4%BA%8C%E6%9C%88%E4%BB%BD%E6%9D%82%E8%AE%B0/"/>
    <updated>2012-02-09T12:00:10+08:00</updated>
    <id>http://colors4.us/blog/2012/02/09/二月份杂记</id>
    <content type="html"><![CDATA[<p>这个月事情还挺多。</p>

<p>月初过年的时候，我的痘子正是山花烂漫时（我就不上图了，大家回忆我大一到大四的时候），朋友的朋友有个公司想要和我们部门谈合作，家里酒足饭饱后就非常强烈要求让他的弟弟，厦门某律师事务所合伙人，西政毕业的哥们过来帮我看看皮肤。号称在中医上造指非常深厚，已经治好了上百人的皮肤问题。我是不信的，本着看看没坏处兼过年无聊就从了。这位同志过来一看就露出那种我一看就知道你他妈的这是什么病的表情。然后就背出一大段中医的学术名词，我妈妈在旁边也是不住地地点头，猛说，你看我就说你这是血热，痰湿之类的话。我越听越觉得像传销，结果我想错了。这就是传销。哥们边说边起身拿过随身带来的小包，打开说这东西叫松花粉，目前包括朱镕基同志都在服用的东西，肯定是便宜不了。哥直接怒了，转头看向他哥哥的眼神已经是在抗议，你还想合作吗？为了人情，我们还是掏出1400元钱买下，走后马上致电朋友让她将钱讨回来。</p>

<p>醉倒于如此狗血的剧情。当然这剧情还是不如昨天美使领馆发表的文字，<strong>left the consulate of his own
volition</strong>，我们敬爱的司马南同志对此发表的<code>在领事馆留下了他自己的意志</code>的精确翻译又一次提醒了我们他脑袋确实被电梯夹到过。</p>

<p><img src="http://farm8.staticflickr.com/7050/6845394903_9566b9e1ac.jpg" alt="" /></p>

<!--more-->


<p>2月12日我的工作签证到期，2月11日我要搬家。当这两个事情混在一起的时候，就会觉得人生的时间实在不够用。部门老板特别肝胆，既然带我进来，当然就一直带下去。为了平息他人的怨言，在他办公室好好的把我骂了一顿，叫我努力尽快提高韩语水平为公司作出应该有的贡献。我也砸巴着我患上干眼症的眼睛试图创造出一种我被你说的快哭下来的错觉之后，又非常顺利地把约给续了。然后就准备工作证明，税收证明等作为滞留延期申请的必要材料。间或每天要花上几个小时去背一段韩国新闻。有时早上起来，心里琢磨着要不拖些时间去公司背吧。然后就中枪了，领导早上来得竟然比我早&#8230;效果很明显，才背几份下来，我已经明显感觉到有提高了。这当然是我日以继夜努力奋斗的结。每天一份下来，果然是学习语言的好方法。就是脑袋觉得累些。</p>

<p><img src="http://farm8.staticflickr.com/7162/6845362281_aaa032db0f.jpg" alt="" /></p>

<p>见那位神医也不是完全没有好处。起码提醒了我，应该是身上不能制造出某些必须的物质。做了些研究，最后觉得我缺少的是维生素B，毅然从<a href="www.gnc.com">GNC</a>订了维生素，也给自己和老妈订了鱼肝油。吃了3,4天吧，确实好了，只是不知道是回到水土熟悉的首尔，还是维生素的原因。哥以30岁的低龄也开始了第一次实习时见到的老李律师般每天吃维生素片的生活。我每天只要有可能就去跑步机流流汗，可叹，已经不能叫运动了。身体却是因变缓的新陈代谢，代表混乱阙值的熵变大，我的脸变肥，肚腩出现。挺好，我这般年纪就开始注意自己的健康了。</p>

<p>这周末搬家。如果昨天致电的花样美男搬家公司的大叔在记下我号码后会在明天再次确认的话应该就没有问题了，同事的推荐和广告确实是有作用的，如是说，<code>你的东西就是我妈妈的东西，你的东西就是我女朋友的东西</code>，其时初看时，哥韩语不精，把这误认为推销男人的小广告的情况也不是没有。</p>

<p>都说新年新气象。我做的好像是新年继续忽悠。</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[新年愿望]]></title>
    <link href="http://colors4.us/blog/2012/01/30/%E6%96%B0%E5%B9%B4%E6%84%BF%E6%9C%9B/"/>
    <updated>2012-01-30T13:08:19+08:00</updated>
    <id>http://colors4.us/blog/2012/01/30/新年愿望</id>
    <content type="html"><![CDATA[<p><img class="left" src="http://farm8.staticflickr.com/7174/6788381367_9fe9eb2135_m.jpg"></p>

<p>今天是年后上班的第一天。</p>

<p>前阵子连假期、周末带请假一起，给自己攒出一个黄金周，回家过了个春节。上周这个时候，我应该是蜷在沙发上边吃零食边旁观爸爸和二叔下棋吧。中国人根深蒂固的习惯，赶到年根儿那几天，不管在多远的地方，都要背着大包小包千里迢迢奔回家去，只有在家里炕头上吃的那口饺子，才能品出年味儿。</p>

<p>今年过年的流程一如往昔，还是一大家人凑在一起，聊天、下棋、照顾爷爷、吃年夜饭、放鞭炮、包饺子、压岁钱。不一样的是，我发现爸妈老了，而这一发现让我惊恐不已。</p>

<p>给爸爸买了一块手表。他细看的时候，先扶着腰慢慢站起，然后眯起眼睛、脑袋后仰，标准的老花眼姿势。手也变得黑粗，隐着几点斑痕，不再是记忆里那双可以把我举得很高的白净有力的手，反而和爷爷的手越来越像。</p>

<!--more-->


<p>妈妈也一样。在家的几天她一直散着头发，送我去机场的时候扎了起来，发根处一片明晃晃的白，看得我直发晕，之前还和妈妈闹脾气，那一秒开始只剩下心疼。闭上眼睛，妈妈穿着白衬衫绿裙子，给我用凤仙花汁染指甲的场景好像就在昨天。更久远的，妈妈抱着我看电影，看到一半我发高烧，妈妈中途退场送我去医院，那次发烧我流了鼻血，看的电影主角是巩俐。</p>

<p>现在回想起来，80年代的代名词就是美好。</p>

<p>小时候总觉得爸爸没有爷爷耐心，爷爷每次带我出门，总不忘买一支糖葫芦，而爸爸就不会记得。这次回家，第二天就被爸爸带到超市大肆采购，要带走的，要送人的，要自己留着吃的，搬回三大袋。临回韩国的前一天，又被拽去超市继续采购，爸爸推着小车，弯着腰在货架前仔细挑选，我跟在后面想着朱自清的那篇背影。买锅巴时一个态度不太好的售货员呛了我一句，我还没反应过来，爸爸就生气地呛了回去，见不得我受一点委屈。买完东西回家路上，爸爸忽然想起，这次回来我还没吃着糖葫芦，满街看过去，年初四店家都关门，于是第二天爸爸起个大早跑去超市买回一大包山楂卷。</p>

<p>我不是个节约的人，不喜欢吃的东西一口都不会碰。这次爸妈给我和老公带了很多火腿香肠，周日在家切开一块猪肉的，老公不爱吃，我闻到肉味也有点怕，可就是舍不得扔，中午剩下的晚上加了点菜又继续炒，直到实在没人吃了，再想起周一开始就要上班不在家吃饭，留一周肯定要坏掉，才郁郁地倒了。</p>

<p>在某些事情上，我固执得近乎盲目，对不想见到的就视而不见。高一那年4月奶奶去世，我大哭一场，之后一直拒绝承认现实，每次和别人说起时，总说我家里有五口人。现在也是这样，我不愿意看到爸妈的苍老，可又无能为力。在某种心理上，我一直拒绝长大，在家人面前从来没个正形儿，似乎这样就能留住童年。脑海中有这样一幕，时间在身后疾奔，我在前面用力挡住，可再使劲都能感觉到那股巨大的推力，正在推动整个世界裹着我一点点前行。</p>

<p>回到韩国的那天晚上，蒙着被子哭了好久，现在敲字的时候眼睛也是一路湿下去，用掉一大堆纸巾，旁边的韩国同事以为我又感冒了。</p>

<p>今天收到了第一个月的工资。2月6日是爸爸生日，要好好想个生日礼物送给他。</p>

<p>新的一年许个愿望，我希望所有家人，我的爸爸妈妈爷爷，老公的爸爸妈妈，大家都能健康平安。</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[2012 新年愿望]]></title>
    <link href="http://colors4.us/blog/2012/01/30/2012-%E6%96%B0%E5%B9%B4%E6%84%BF%E6%9C%9B/"/>
    <updated>2012-01-30T12:52:34+08:00</updated>
    <id>http://colors4.us/blog/2012/01/30/2012-新年愿望</id>
    <content type="html"><![CDATA[<p>今天是年后上班的第一天。</p>

<p>前阵子连假期、周末带请假一起，给自己攒出一个黄金周，回家过了个春节。上周这个时候，我应该是蜷在沙发上边吃零食边旁观爸爸和二叔下棋吧。中国人根深蒂固的习惯，赶到年根儿那几天，不管在多远的地方，都要背着大包小包千里迢迢奔回家去，只有在家里炕头上吃的那口饺子，才能品出年味儿。</p>

<p>今年过年的流程一如往昔，还是一大家人凑在一起，聊天、下棋、照顾爷爷、吃年夜饭、放鞭炮、包饺子、压岁钱。不一样的是，我发现爸妈老了，而这一发现让我惊恐不已。</p>

<p>{% img right http://farm8.staticflickr.com/7174/6788381367_9fe9eb2135.jpg214
240 fu_char %}</p>

<!--more-->


<p>给爸爸买了一块手表。他细看的时候，先扶着腰慢慢站起，然后眯起眼睛、脑袋后仰，标准的老花眼姿势。手也变得黑粗，隐着几点斑痕，不再是记忆里那双可以把我举得很高的白净有力的手，反而和爷爷的手越来越像。</p>

<p>妈妈也一样。在家的几天她一直散着头发，送我去机场的时候扎了起来，发根处一片明晃晃的白，看得我直发晕，之前还和妈妈闹脾气，那一秒开始只剩下心疼。闭上眼睛，妈妈穿着白衬衫绿裙子，给我用凤仙花汁染指甲的场景好像就在昨天。更久远的，妈妈抱着我看电影，看到一半我发高烧，妈妈中途退场送我去医院，那次发烧我流了鼻血，看的电影主角是巩俐。</p>

<p>现在回想起来，80年代的代名词就是美好。</p>

<p>小时候总觉得爸爸没有爷爷耐心，爷爷每次带我出门，总不忘买一支糖葫芦，而爸爸就不会记得。这次回家，第二天就被爸爸带到超市大肆采购，要带走的，要送人的，要自己留着吃的，搬回三大袋。临回韩国的前一天，又被拽去超市继续采购，爸爸推着小车，弯着腰在货架前仔细挑选，我跟在后面想着朱自清的那篇背影。买锅巴时一个态度不太好的售货员呛了我一句，我还没反应过来，爸爸就生气地呛了回去，见不得我受一点委屈。买完东西回家路上，爸爸忽然想起，这次回来我还没吃着糖葫芦，满街看过去，年初四店家都关门，于是第二天爸爸起个大早跑去超市买回一大包山楂卷。</p>

<p>我不是个节约的人，不喜欢吃的东西一口都不会碰。这次爸妈给我和老公带了很多火腿香肠，周日在家切开一块猪肉的，老公不爱吃，我闻到肉味也有点怕，可就是舍不得扔，中午剩下的晚上加了点菜又继续炒，直到实在没人吃了，再想起周一开始就要上班不在家吃饭，留一周肯定要坏掉，才郁郁地倒了。</p>

<p>在某些事情上，我固执得近乎盲目，对不想见到的就视而不见。高一那年4月奶奶去世，我大哭一场，之后一直拒绝承认现实，每次和别人说起时，总说我家里有五口人。现在也是这样，我不愿意看到爸妈的苍老，可又无能为力。在某种心理上，我一直拒绝长大，在家人面前从来没个正形儿，似乎这样就能留住童年。脑海中有这样一幕，时间在身后疾奔，我在前面用力挡住，可再使劲都能感觉到那股巨大的推力，正在推动整个世界裹着我一点点前行。</p>

<p>回到韩国的那天晚上，蒙着被子哭了好久，现在敲字的时候眼睛也是一路湿下去，用掉一大堆纸巾，旁边的韩国同事以为我又感冒了。</p>

<p>今天收到了第一个月的工资。2月6日是爸爸生日，要好好想个生日礼物送给他。</p>

<p>新的一年许个愿望，我希望所有家人，我的爸爸妈妈爷爷，老公的爸爸妈妈，大家都能健康平安。</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[2012春节过后感]]></title>
    <link href="http://colors4.us/blog/2012/01/26/2012%E6%98%A5%E8%8A%82%E8%BF%87%E5%90%8E%E6%84%9F/"/>
    <updated>2012-01-26T17:00:07+08:00</updated>
    <id>http://colors4.us/blog/2012/01/26/2012春节过后感</id>
    <content type="html"><![CDATA[<p>以前过春节的时候，会非常期待。</p>

<p><img class="right" src="http://farm8.staticflickr.com/7149/6764103545_fc05e62c2d_z.jpg" width="214" height="240" title="fu_char" ></p>

<p>压岁钱超多，小时候每年基本不要零用钱，过年收的精打细算总是能刚好花上一年。我记得做过一个chart，标记上每年压岁钱的额度，于是就出来了一个斜率有45度的向上曲线。这待遇最终传给我妹妹，从二零某几年开始，在刚刚hit到万元大关后，我就收不到压岁钱了。</p>

<p>爆竹应该也是春节的象征吧。乡下地方，鞭炮放起来不要命。以年初一作为顶点，过年气氛可以按照前后的时间轴做个正态分布。烟雾也是类似，到那几天整个空气中总是弥漫着一股硫磺的味道，闭上眼睛二战老兵也仿佛回到了绞肉场上。我们家03年搬到厦门后，渐渐地，这个鞭炮也慢慢给文明城市给禁了。今年更夸张，如果我耳朵没有问题的话，我从来没有听到过声音。想我当年是10块钱买一串二踢脚，用手拿着，拿香点着，嗖一下飞出。好玩还能证明勇气，当然，我现在已经不敢了。我超级惜命。<!--more--></p>

<p>那过春节剩下的一个理由就是全家人聚在一起。确实都在厦门，无奈聚不到一起，前几篇有提到原因。于是春节对我来说，就变成一个很好的理由请假，回家躺在床上，从头到尾没出过门的经历了。没有任何经历的春节应该也是一个经历吧。</p>

<p>说说以前春节都会干的事情吧。我会拼命给所有的朋友发短信拜年，nokia手机以前的群发功能只有在春节时才会大派用场，我感觉这时候才有个很好的理由给即使只是见过一面的人发上一条短信，完了还不会觉得不好意思的机会。可惜哥现在不搞这个，原因简单，短信拜年没劲，不对，拜年本身就没劲。不给兄弟发短信的原因是，这么熟了不用发；不给普通朋友发短信的原因是，不是很熟不用发。这世界用如此简单的二分法分开的一个结果是，我开始感觉到我已经渐渐地和我以前熟悉的世界远离了。</p>

<p>过年还得狠吃狂喝。在沙县就是意味着有吃不完的板鸭和用脸盆端上的鸡肉。以前碰到好吃的东西，我会不停地吃，即使打到饱嗝也在所不惜，没事，不就小休息一下，肚子有点撑吗？套句话来说是肚子饱了，嘴巴没饱。而现在，完全没有欲望去吃了。我今年已算30，明显感觉到身体变差了。稍微多吃些，胃就撑得难受了。所以当我说，我吃饱了，还真吃不了更多，他们放佛看到了一个陌生人，毕竟我以前的名声已经留下了深深的烙印，那是在一个即使女生手里嵌着馅饼，我都能伸嘴过去吃一口的年代，果然时间改变一切。</p>

<p>春节有如例行公事般，公司配合，到这个时节催促我们请多两天假，我们照例无视狂涨的机票价格，将平常待的地方挪个窝，过着衣来伸手饭来张口的神仙日子。我心里知道不对，该做些什么，却无从下手。也许改变应该从下个春节做起，比如在地球某个角落facetime给家里拜年。我考虑过，只是这次还真来不及，去澳洲机票不对头，去台湾签证来不及。春节还是老样子，看现在的小孩的兴奋感，自己也曾走过来，现在人变了，没错，很明显的是人变胖了，感觉也就跟着变了。我的心态变了。已经开始自认有轻微抑郁症的人最近被朋友笑称也有强迫症，心态上已经完全。。。跟不上节奏，最重要的体现是对太多东西无所谓，大约中学阶段那几句对自己不停重复的话已经开始结果了，“不以物喜，不以己悲”；“无欲则刚”。就连春节都不期待，对和父母见面不期待，对购物没兴趣。我必须培养出兴趣，在无聊完全吞噬我之前。必须。</p>

<p>又是乱写了些文字，还是那句老话，博客基本是自言自语，也没打算坐到多少的PV，只是给自己一个素材，这样老了后还能看看，有点乐子，或是多些写回忆录的素材。</p>

<p>很开心这次老范全家过来厦门过年。他们家小狗精力旺盛，在过年期间，给我们留下了深刻的印象。</p>

<iframe src="http://player.vimeo.com/video/35949088?title=0&amp;byline=0&amp;portrait=0" width="400" height="225" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>


<p><a href="http://vimeo.com/35949088">flirting dogs</a> from <a href="http://vimeo.com/linpx">Pengxuan Lin</a> on <a href="http://vimeo.com">Vimeo</a>.</p>

]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[给octopress博客添加category列表]]></title>
    <link href="http://colors4.us/blog/2012/01/24/%E7%BB%99octopress%E5%8D%9A%E5%AE%A2%E6%B7%BB%E5%8A%A0category-list/"/>
    <updated>2012-01-24T04:46:39+08:00</updated>
    <id>http://colors4.us/blog/2012/01/24/给octopress博客添加category-list</id>
    <content type="html"><![CDATA[<p>在前几篇博客我有提到过，我还不大会设置category
list。博客有这功能后，当然会更好浏览了。作为一项任务，必须攻克。于是大年初二，家里也没啥亲戚可逛，也没有太多电话短信去发，又上google搜去了，闲着也是闲着，挺好不是？</p>

<h4>设置</h4>

<p>当然还是先得去GitHub上去找前人做好的程序了，这里采用了<a href="https://gist.github.com/nistude">nistude</a>写的<a href="https://gist.github.com/1144723">gist:1144723</a>。
下面贴出的是我fork后修改的内容。<!--more--></p>

<div><script src='https://gist.github.com/1661725.js?file='></script>
<noscript><pre><code># place this file in your plugins directory and add the tag to your sidebar
#$ cat source/_includes/asides/categories.html 
#&lt;section&gt;
#  &lt;h1&gt;Categories&lt;/h1&gt;
#  &lt;ul id=&quot;categories&quot;&gt;
#    {% category_list %}
#  &lt;/ul&gt;
#&lt;/section&gt;

module Jekyll
  class CategoryListTag &lt; Liquid::Tag
    def render(context)
      html = &quot;&quot;
      categories = context.registers[:site].categories.keys
      categories.sort.each do |category|
        posts_in_category = context.registers[:site].categories[category].size
        html &lt;&lt; &quot;&lt;li class='category'&gt;&lt;a href='http://colors4.us/blog/categories/#{category}/'&gt;#{category} (#{posts_in_category})&lt;/a&gt;&lt;/li&gt;\n&quot;
      end
      html
    end
  end
end

Liquid::Template.register_tag('category_list', Jekyll::CategoryListTag)</code></pre></noscript></div>


<p>我解释一下用法。gist下载后放到<code>octopress/plugins/</code>下即可。然后建立<code>source/_includes/asides/categories.html</code>文件。内容如下：</p>

<div><script src='https://gist.github.com/1667342.js?file='></script>
<noscript><pre><code>&lt;section&gt;
 &lt;h1&gt;Categories&lt;/h1&gt;
 &lt;ul id=&quot;categories&quot;&gt;
 {% category_list %}
 &lt;/ul&gt;
&lt;/section&gt;</code></pre></noscript></div>


<p>然后我们在<code>_config.yml</code>中的<code>default_asides</code>条目中仿照同类，中括号内加入<code>asides/categories.html</code>就设置完了。这时<code>rake
generate</code>一下就出来了。</p>

<h4>需要注意的地方</h4>

<ul>
<li> 第一个gist文件17行设置的为category的绝对路径，可按需进行修改。</li>
<li> 不完善的地方是，它无法辨识带有大写字母的category或是中间有空格的单词串category。所以我昨天花了不少时间进入原来的博文，修改原有的category。既然我需要的基本功能可以使用，就不多折腾啦。</li>
</ul>

]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Words written on Dec 29 of this Lunar Rabbit Year]]></title>
    <link href="http://colors4.us/blog/2012/01/21/words-written-on-dec-29-of-this-lunar-rabbit-year/"/>
    <updated>2012-01-21T21:00:07+08:00</updated>
    <id>http://colors4.us/blog/2012/01/21/words-written-on-dec-29-of-this-lunar-rabbit-year</id>
    <content type="html"><![CDATA[<p>I didn’t even remember when it was the last time I wrote the blog in
English. I would like to write on something about how I made it through
this awful 2011.</p>

<h4>what I did?</h4>

<ul>
<li>I didn’t attend language school for Korean improvement; and I didn&#8217;t work
hard at this. There is no such thing as if only I could turn back time.</li>
<li>Married on March 19, 2011.</li>
<li>Found a not-too-bad job in Korea. Frankly, I got paid handsomely at my
last job with less working pressure.</li>
<li>Read books. Well, not only from <a href="http://qidian.com">起点</a>. With my kindle,
I convinced myself that I like reading.</li>
<li>Proudly to open an <a href="http://octopress.org">Octopress</a>blog at <a href="http://colors4.us">colors4.us</a> along with my wife.</li>
<li>Get a job for wife. Serendipity.</li>
<li>Finally to receive my PHD degree, taking one year and a half more time,
expecting all the paperwork be done in coming two months.</li>
<li>We got baptized.<!--more--></li>
</ul>


<h4>some thoughts</h4>

<p>The good thing is I have plans, the bad thing is plenty of them. Certainly
life is too short for all of them.</p>

<p>Like Obama said, changes that we need. I think if I don&#8217;t do this in 2012,
I wouldn&#8217;t be able to do it at all for the rest of my life.</p>

<ul>
<li>Be able to stay focus.</li>
<li>Be stable, so I could have my desire for materials controlled.</li>
</ul>


<h4>letter from past</h4>

<p>I received a letter writing to future me exactly one year before.</p>

<blockquote><p>Dear Future Me,<br/><br/>Sitting at my girlfriend Dong Ping&#8217;s room, having done my nose<br/>surgery..seems good&#8230;might marry her..<br/><br/>What do you think? Still thinking of working together in Korea? Hope I<br/>could get well.</p></blockquote>


<p>turned out to me, so far so good, at least for my nose and the marriage.</p>

<h4>meeting with my father</h4>

<p>The first thing I have to do every time I reach home is to meet my father,
so I went to see my father on this Dec 29th of lunar calendar year of
Rabbit. He is doing his time for embezzling allegation; basically he still
has 2 more years ahead if the expecting parole goes well.</p>

<p>It is a funny feeling because for me it is a once per year event, with it
slots at spring festival annually, the only chance I am able to be home.</p>

<p>I don&#8217;t really have a lot to talk with my parents; I ascribe this to the
generation gap. We seldom talk in any time of my life; they seemed to be
busy all my life. So except the monetary support from them, which I feel so
grateful about, they don&#8217;t have words in any decisions I made. I think I am
still mad at him, not 100 percent sure though. It is not that his
imprisonment brings shame to our family, quite contrast, I found it a good
way to see what people would think of inmate when come to their own friends
or relatives. The reason is quite simple, I offered him an exit, he didn&#8217;t
take it and he didn&#8217;t take the responsibility as a father when family
needed him most, quite opposite by what his doing.</p>

<p>We stayed in the meeting room. My dad is eating foods we brought to him. My
mom has prepared a lot to eat. Father looked quite busy during the meeting,
he had to have the chicken soup and talked with us, with a Chunghwa
cigarette in his fingers. Everyone is sitting at the chair, except me
standing beside them. I explained to them that I don&#8217;t want to feel cold by
sitting down, it is not in fact, I tried to pose a stance to tell them, can
I leave first, I was quite sleepy (sorry to say this, but I had a red eye
flight last night).</p>

<p>He has not been in the family since Oct 2007. I felt that could be the
hardest time ever to me. For common practice, Chinese govt. tends to have
the couple of questioned official seizure at the same time. So my mom also
was gone for a 4 or 5 months time. My sister was 9 years old then; I just
started my PHD program in Xiamen University. It is in such moments that
Murphy&#8217;s Law works quite well. Couple months later, my grandmother has
realized that she was kept being told the forgery reason of the absence of
father. She refused to take on medical cares for her later period of
diabetes. She left with regret not being able to see his son. Trying to
prove its own mercy, Govt. arranged father to see her dead body before
cremation. I don&#8217;t quite understood what this was all about.</p>

<p>As inmate, Father has shaved his hair bold. I found him had adjusted quite
well, might even lost some weight, which is a lot better than before. When
meeting came end, he was escorted back by police. I can read his mind at
that time because he kept waving to us every two or three steps forward. He
tried to tell us we should be healthy and happy, he was quite sure about
the parole things too, we don&#8217;t need to be worried.</p>

<p>I read you, and I forgive you, Dad.</p>

<h4>last but not the least</h4>

<p>Every once a while, I would start pondering the meaning of life. Quite
sure, I am not satisfied with answers by Siri. I would ask myself why
people feel angry, scare or sad. Of course I don&#8217;t think I know it.
However, even by starting to question so, I was assured some edges. I
would&#8217;ve felt that I am not me anymore but someone else. All of sudden, I
would not fear death. Certainly I back to normal.</p>

<p>I am proudly to be what I am now. :)</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[利用邮件发表octopress博客]]></title>
    <link href="http://colors4.us/blog/2012/01/20/%E5%88%A9%E7%94%A8%E9%82%AE%E4%BB%B6%E5%8F%91%E8%A1%A8octopress%E5%8D%9A%E5%AE%A2/"/>
    <updated>2012-01-20T03:25:05+08:00</updated>
    <id>http://colors4.us/blog/2012/01/20/利用邮件发表octopress博客</id>
    <content type="html"><![CDATA[<p>看完这篇文章，我想大伙应该就可以实现通过email直接在octopress博客上进行发文。好处相当明显，你不可能永远带着你配置有octopress的电脑，只要手里有手机发邮件，就没有问题。真正做到<strong>anytime
anywhere</strong>.</p>

<p>写文章的初衷是，本<a href="http://colors4.us">网站</a>是<a href="http://twitter.com/linpx">我</a>和我<a href="http://twitter.com/sourrabbit">太太</a>
共同经营的博客。很多时候，她写好了文章，委托我发表时，苦于手中的工作windows电脑，发布相当不易。就开始设想有没有这么个功能，用email发布博客。答案是有。在和<a href="http://twitter.com/lucifr">@lucifr</a>交流后，发现<a href="http://twitter.com/masukomi">@masukomi</a>的方法很靠谱，可以使用，于是在不懂任何环境配置的情况下，瞎猫碰到死老鼠地运气和从<code>windows
95</code>就开始养成的反复安装，反复测试的精神的鼓励下，开始了摸索。</p>

<p>这篇文章适用于在自己域名上布置的octopuses博客，只需<code>rake
generate</code>就能在nginx上完全反映出内容的变化。如果是用github的朋友，还需多加上<code>rake deploy</code>和相应的<code>git
commit</code>。实际上从我之前所写的<a href="http://www.colors4.us/blog/2012/01/08/octopressbo-ke-cong-ling-kai-shi-i">Octopress博客从零开始</a>出发，到这篇文章为止，是可以做到零脑损建立octopress博客的。<!--more--></p>

<p>和原来发布方式有个不同的地方是，原来的博文地址都是中文拼音，这次更给力，地址用上中文了。另外，在windows远程登录ssh设置时看到的都是乱码，实际上不影响的，换台mac，就没有问题。</p>

<h4>jekymail配置</h4>

<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>
</pre></td><td class='code'><pre><code class=''><span class='line'>git clone git://github.com/masukomi/JekyllMail.git /home/wwwroot/jekyllmail
</span><span class='line'>cd /home/wwwroot/jekyllmail
</span><span class='line'>rvm --default use 1.9.2
</span><span class='line'>apt-get install libxslt-dev libxml2-dev
</span><span class='line'>gem install nokogiri
</span><span class='line'>bundle install</span></code></pre></td></tr></table></div></figure>


<p>进入jekyllmail文件夹，修改<code>_config.yml</code>,具体内容如下:</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>
</pre></td><td class='code'><pre><code class=''><span class='line'>blogs:
</span><span class='line'>- jekyll_repo: /home/wwwroot/blog     #这是我服务器上布置的octopress博客文件夹
</span><span class='line'>  source_dir: /home/wwwroot/blog/source   #这个文件夹下包括_posts, _includes等
</span><span class='line'>  pop_server: pop.gmail.com
</span><span class='line'>  pop_user: xxx  #自定义的邮件接收地址(也就是xxx@gmail.com)
</span><span class='line'>  pop_password: yyy  #自定义的邮件登录密码
</span><span class='line'>  secret: 123!  #secret作用为让jekyllmail区别邮件是否为你想要发送的博文，自己设个吧
</span><span class='line'>  markup: markdown
</span><span class='line'>  site_url: http://colors4.us  #这里是我的网址
</span><span class='line'>  commit_after_save: true</span></code></pre></td></tr></table></div></figure>


<p>邮件发送博文牵涉到两个邮件，发送的邮件和接收的邮件，jekyllmail会自己登录到接守的邮件上去检查是否有需要发送的博客。所以，我建议两个都用
gmail，确认设置中已经打开了pop3支持和utf-8发送。</p>

<p>是不是超级简单。我们现在可以测试一下是否有用。进入自己的gmail信箱给<code>xxx@gmail.com</code>发新邮件，邮件题目subject
如下，更详细的情况可参考程序作者<a href="http://twitter.com/masukomi">@masukomi</a>的<a href="https://github.com/masukomi/JekyllMail">git页面</a>:</p>

<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>这里是博文的题目中文亦可 || secret: 123! / author: linpx / categories: test ok /comments: true      #categories这里很特殊，各种目直接用空格隔开就行了，不要添逗号</span></code></pre></td></tr></table></div></figure>


<p>邮件的内容直接拷入已经写好的markdown格式的文章即可。我建议书写格式去除<code>rich formatting</code>，改用<code>plain text</code> (这是
gmail内置的功能)。然后点击发送。</p>

<figure class='code'><figcaption><span>jekyllmail folder </span></figcaption>
<div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>ruby jekyllmail.rb</span></code></pre></td></tr></table></div></figure>


<p>如果你能够在<code>/home/wwwroot/blog/source/_posts</code>中看到你刚才发过去的邮件，那么你的jekymail配置就是成功了。(这
里我首次测试是不成功的，百思不得其解，后来发现发的测试邮件在第一时间被我另一个设好crontab的服务器给接走鸟。-_-!!!)</p>

<h4>ubuntu下cron设置</h4>

<p>很明显，要让博文自动发送，必须有自动机制，程序作者程序作者<a href="http://twitter.com/masukomi">@masukomi</a>
也建议用cron。cron是linux下的定时器，定时运行程序。我在这里的设置相当乱，因为我对cron不熟悉，能用的原因是我一个一个试出来的，笨方法，大家别学。</p>

<ul>
<li>cron在运行的时候，是不会采用我们已经有的环境的。所以很多情况下，我们直接运行ruby
xxx.rb可以，但是在cron下是不行的，因为没有定义rubi环境。这个很重要，我花了3个小时才捉摸出来。</li>
<li> ubuntu下的cron设置很容易，在任何目录下运行<code>crontab -e</code>就行，存盘出来后应该就是已经放入到系统运行中去啦。</li>
<li> cron的语法必须要了解，大家可以看看这个<a href="https://help.ubuntu.com/community/CronHowto">页面</a>。</li>
</ul>


<p>我直接给出我可以用的设置，修改文件夹位置后，引用即可。输入<code>crontab
-e</code>,加到最后一行。内容中涉及到<code>gem</code>和<code>rvw</code>的地址，用<code>which gem</code>和<code>which rvm</code>来确定。</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'>* * * * * /bin/echo "check if cron works" >> /home/wwwroot/1.log #此命令为每隔一分钟写入log文件，目的用于测试cron是否正常工作，确认后可直接删除。
</span><span class='line'>*/5 * * * * cd /home/wwwroot/jekyllmail && ./run_jekyllmail.sh #每隔5分钟登录检查邮箱，是否有博文，强迫症轻度患者建议改为每一分钟。
</span><span class='line'>* */2 * * * cd /home/wwwroot/jekyllmail && ./build_site.sh   #每隔2小时做一次rake generate</span></code></pre></td></tr></table></div></figure>


<p>cron运行时时不带环境的，所以我们必须在<code>jekyllmail</code>下的两个文件<code>run_jekyllmail.sh</code>和<code>build_site.sh</code>定义环境。分别设定如下：</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>
</pre></td><td class='code'><pre><code class=''><span class='line'>#!/bin/sh
</span><span class='line'>
</span><span class='line'>[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
</span><span class='line'>export LANG=en_US.UTF-8
</span><span class='line'>export GEM_HOME=/usr/local/rvm/gems/ruby-1.9.2-p290
</span><span class='line'>export GEM_PATH=/usr/local/rvm/gems/ruby-1.9.2-p290:/usr/local/rvm/gems/ruby-1.9.2-p290@global
</span><span class='line'>export PATH=/usr/local/rvm/gems/ruby-1.9.2-p290/bin:/usr/local/rvm/gems/ruby-1.9.2-p290@global/bin:/usr/local/rvm/rubies/ruby-1.9.2-p290/bin:/usr/local/rvm/bin:$PATH #各机子环境有所不同，确认后代入
</span><span class='line'>
</span><span class='line'>bundle exec ruby jekyllmail.rb</span></code></pre></td></tr></table></div></figure>


<p>以及</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>
</pre></td><td class='code'><pre><code class=''><span class='line'>#!/bin/sh
</span><span class='line'>
</span><span class='line'>[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
</span><span class='line'>export LANG=en_US.UTF-8
</span><span class='line'>export GEM_HOME=/usr/local/rvm/gems/ruby-1.9.2-p290
</span><span class='line'>export GEM_PATH=/usr/local/rvm/gems/ruby-1.9.2-p290:/usr/local/rvm/gems/ruby-1.9.2-p290@global
</span><span class='line'>export PATH=/usr/local/rvm/gems/ruby-1.9.2-p290/bin:/usr/local/rvm/gems/ruby-1.9.2-p290@global/bin:/usr/local/rvm/rubies/ruby-1.9.2-p290/bin:/usr/local/rvm/bin:$PATH
</span><span class='line'>
</span><span class='line'>cd /home/wwwroot/blog/ ＃你的octopuses文件夹目录
</span><span class='line'>bundle exec rake generate</span></code></pre></td></tr></table></div></figure>


<p>通过cron定时进行<code>rake generate</code>必须补充一下，如果你的网页是放在github上，还需来个<code>rake deploy</code>。</p>

<h4>暂时结语</h4>

<p>上述方法不是最优的，其实我希望可以做到<a href="http://twitter.com/masukomi">@masukomi</a>所写的<a href="http://weblog.masukomi.org/2011/12/19/serving-octopress-from-a-self-hosted-git-repository/">Serving Octopress From a Self-hosted Git Repository</a>
（中文版可参考<a href="http://twitter.com/lucifr">@lucifr</a>所写博客<a href="http://lucifr.com/2011/12/21/octopress-on-server-and-portable-scheme/">服务器端 Octopress 搭建及移动方案</a>),文中的新博客文章放到特定文件夹后会主动触发<code>rake
generate</code>，在我看来，这远比用cron被动，反复rake来的即时和漂亮。我在做测试时，失败了，我会在以后继续跟进这个方向，有新的进展，肯定贴出。</p>

<p>如果对octopress这么多命令行没啥把握的话，不用怕。知难而上，做出来才爽啊。很多时候，在执行命令的时候，就直接给提示哪儿出错了。我们需要做得就是把错误信息google一下就行啦。因为出现的错误，肯定在别人处出现过，也肯定被解决过。而在寻找解决方法的过程，本身就是一种学习。另外，得有发散思维，一条程序线下来，出错了，有多种可能性，写下来，一个个设计试验来确定是否出错，排除。</p>

<p>博客整到现在还是很开心的。学到东西了，还能留下文字，如果帮助到大伙就更好了。这就是交流的好处吧。欢迎大伙在下面评论中留下各种问题，只要我知道的，会非常乐意互相沟通。</p>
]]></content>
  </entry>
  
</feed>

