-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
234 lines (157 loc) · 9.83 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=http://songchenwen.github.io/">
<link rel="canonical" href="http://songchenwen.github.io/" />
<title>
Gary Blog
</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,maximum-scale=1.0,user-scalable=no">
<meta name="ujianVerification" content="0dfb3519c32c9f5c5622723c95fdb144" />
<link rel="stylesheet" href="/css/style.css" type="text/css">
<link rel="stylesheet" href="/css/syntax.css" type="text/css">
<link rel="alternate" type="application/rss+xml" title="feed" href="/feed.xml"/>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-53476461-1', 'auto');
ga('require', 'displayfeatures');
ga('send', 'pageview');
</script>
</head>
<body>
<div id="background"></div>
<div id="container">
<div id="header">
<a class="title" href="/" title="Gary Blog">
<span class="title">Gary</span><span class="title">Blog</span>
</a>
<div id="nav">
<ul>
<li class="menu-item"><a href="/read/" rel="category" >Read</a></li><li class="menu-item"><a href="/tech/" rel="category" >Tech</a></li><li class="menu-item"><a href="/life/" rel="category" >Life</a></li>
<li class="menu-item"><a href="/feed.xml" target="_blank">Feed</a></li>
</ul>
</div>
</div>
<div id="content">
<div class="post">
<h2><a href="/tech/2014/10/13/cross-fire-wall-on-ios8/" title="iOS8 不越狱翻墙方案">iOS8 不越狱翻墙方案</a></h2>
<div class="date" data-date="10/13/2014" >10/13/2014</div>
<div class="postContent">
<blockquote>
<p> iOS8为我们带来了第三方输入法和 App Extentions,越狱的需求越来越少。而且自从在 <a href="http://bither.net" target="_blank" rel="external">Bither</a> 里存了一些比特币之后,我就越来越关注手机系统的安全性。现在真的是能不越狱就尽量不越了。那么不越狱的话怎么满足我自由的访问互联网的需求呢?<br>OS X,PC 或者 Android 翻墙,请移步 <a href="http://github.com/clowwindy/shadowsocks" target="_blank" rel="external">Shadowsocks</a>。</p>
</blockquote>
<p>我目前在 iPhone 上所用的翻墙方案包含如下两部分 :</p>
<ul>
<li>自动连接并区分墙内外流量的IPsec VPN</li>
<li>避开GFW污染,并尽量就近解析域名的DNS</li>
</ul>
<blockquote>
<p>以下步骤需要你有自己的 VPS。<br>以下操作基于 Ubuntu,以非 root 用户 ssh 登录。其它发行版应该只有包管理和防火墙部分稍有不同。</p>
</blockquote>
</div>
<div class="postInfo">
<div class="postTags">
<a href="/tech/" rel="category" >Tech</a>
|
<a href="/tags/gfw/">GFW</a>, <a href="/tags/vpn/">VPN</a>, <a href="/tags/dns/">DNS</a>, <a href="/tags/ios/">iOS</a>, <a href="/tags/vps/">VPS</a>
</div>
<div class="postNotes"><a href="/tech/2014/10/13/cross-fire-wall-on-ios8/#disqus_thread">Loading...</a></div>
<div class="clear"></div>
</div>
</div>
<div class="post">
<h2><a href="/tech/2014/08/11/hexo-auto-publisher-on-heroku/" title="利用Github和Heroku远程发表Hexo文章">利用Github和Heroku远程发表Hexo文章</a></h2>
<div class="date" data-date="08/11/2014" >08/11/2014</div>
<div class="postContent">
<p>使用<a href="http://hexo.io" target="_blank" rel="external">Hexo</a>这种静态博客程序搭建博客时,始终会遇到一个问题,要写博客就必须有一台环境配置好的电脑才行。想用手机和平板发文章,就会遇到各种问题。</p>
<p>看到了<a href="http://kywk.github.io/" target="_blank" rel="external">Yu-Zhi Chen</a>的<a href="http://kywk.github.io/hexo-migrator-dropbox/" target="_blank" rel="external">hexo-migrator-dropbox</a>,但苦于地域限制,很难发挥它的作用。</p>
<p>于是开发了<a href="https://github.com/songchenwen/hexo-migrator-issue" target="_blank" rel="external">hexo-migrator-issue</a>和<a href="https://github.com/songchenwen/hexo-heroku-auto-publisher" target="_blank" rel="external">hexo-heroku-auto-publisher</a>,顺便为最近要开始的前端项目练练手。这两个插件配合<a href="http://heroku.com" target="_blank" rel="external">Heroku</a>和Github issues提供的免费服务,即可实现远程发表<a href="http://hexo.io" target="_blank" rel="external">Hexo</a>文章的功能。</p>
<p>以下步骤基于已搭建好<a href="http://hexo.io" target="_blank" rel="external">Hexo</a>环境并且有Github Pages项目的前提。</p>
</div>
<div class="postInfo">
<div class="postTags">
<a href="/tech/" rel="category" >Tech</a>
|
<a href="/tags/heroku/">Heroku</a>, <a href="/tags/hexo/">Hexo</a>
</div>
<div class="postNotes"><a href="/tech/2014/08/11/hexo-auto-publisher-on-heroku/#disqus_thread">Loading...</a></div>
<div class="clear"></div>
</div>
</div>
<div class="post">
<h2><a href="/tech/2013/11/24/way-beyond-instagram-preview-and-outline/" title="超越Instagram之路">超越Instagram之路</a></h2>
<div class="date" data-date="11/24/2013" >11/24/2013</div>
<div class="postContent">
<p>在过去一年多的时间里,我和团队受Instagram的激励一起做了一个图片分享社区。所以同时我也对iOS和Android上的相机开发做了很多研究。我们认为我们产品里的相机在很多方面达到了与Instagram类似的标准,甚至有些方面要更优于它。</p>
</div>
<div class="postInfo">
<div class="postTags">
<a href="/tech/" rel="category" >Tech</a>
|
<a href="/tags/android/">Android</a>, <a href="/tags/camera/">Camera</a>, <a href="/tags/instagram/">Instagram</a>
</div>
<div class="postNotes"><a href="/tech/2013/11/24/way-beyond-instagram-preview-and-outline/#disqus_thread">Loading...</a></div>
<div class="clear"></div>
</div>
</div>
<div class="post">
<h2><a href="/life/2013/11/18/tianliang-bad-dad/" title="田亮肯定不是好爸爸">田亮肯定不是好爸爸</a></h2>
<div class="date" data-date="11/18/2013" >11/18/2013</div>
<div class="postContent">
<p>周五陪女朋友又看了一集《爸爸去哪》。看到田亮鬼鬼祟祟的问别人:“哎,你平时打孩子吗?其实中国式的教育还是有必要的。”我就想起第一集里刚开始这家伙就表达了对于在镜头前不能打孩子的深深遗憾。没想到他之后还在一直叨逼这事。</p>
<p>人在做了亏心事的时候就总会找各种理由把它合理化,其实就是心虚。他也知道自己做得不对,但如果承认了,不就证明他是个坏爸爸了吗?所以他不能承认。但不说他又憋不住。于是他就一直说,想把黑的说成白的。不知道别的爸爸听他一直叨逼叨的会有什么想法。我是觉得搞体育的人智商真是让人捉急。</p>
</div>
<div class="postInfo">
<div class="postTags">
<a href="/life/" rel="category" >Life</a>
|
<a href="/tags/爸爸去哪/">爸爸去哪</a>, <a href="/tags/田亮/">田亮</a>, <a href="/tags/家庭暴力/">家庭暴力</a>
</div>
<div class="postNotes"><a href="/life/2013/11/18/tianliang-bad-dad/#disqus_thread">Loading...</a></div>
<div class="clear"></div>
</div>
</div>
<div class="post">
<h2><a href="/tech/2013/11/17/android-launch-camera-speed-up/" title="Android相机启动加速">Android相机启动加速</a></h2>
<div class="date" data-date="11/17/2013" >11/17/2013</div>
<div class="postContent">
<p>在Android上实现一个简单能用的相机其实挺容易。谷歌随便搜一搜就有很多能用的Sample。当然就像谷歌能搜到的其他代码一样,这些Sample虽然能用但离好用还很远。</p>
<p>这篇文章就只说说从用户点击启动按钮到用户能看到实时预览的这一小段时间内,我们所做的优化。</p>
</div>
<div class="postInfo">
<div class="postTags">
<a href="/tech/" rel="category" >Tech</a>
|
<a href="/tags/android/">Android</a>, <a href="/tags/camera/">Camera</a>
</div>
<div class="postNotes"><a href="/tech/2013/11/17/android-launch-camera-speed-up/#disqus_thread">Loading...</a></div>
<div class="clear"></div>
</div>
</div>
<div id="pagenavi">
<a class="page-numbers current">第 1 页</a>
<a class="page-numbers" href="/page/2/" >></a>
</div>
</div>
<div id="footer" class="clear">
<div class="credits">
Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>, Authored by <a href="mailto://[email protected]">Gary</a>
</div>
</div>
</div>
<script type="text/javascript">
var disqus_shortname = 'garyblog';
var ujian_uid = '97713'
</script>
<script src="/js/moment-with-locales.js" type="text/javascript"></script>
<script src="/js/jquery.min.js" type="text/javascript"></script>
<script src="/js/base.js" type="text/javascript"></script>
<script src="/js/sparkles.js" type="text/javascript"></script>
</body>
</html>