-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
391 lines (213 loc) · 12 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
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Coding, Design and Agile Processes</title>
<meta name="author" content="Rendy Tan">
<meta name="description" content="Published on: Apr 4th, 2013 Tags: Crontab, Postgresql, Python I have been using Postgresql for a couple of years now and I am very happy with its …">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="/atom.xml" rel="alternate" title="Coding, Design and Agile Processes" type="application/atom+xml">
<link rel="canonical" href="">
<link href="/favicon.ico" rel="shortcut icon">
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
<link href='http://fonts.googleapis.com/css?family=Slackey' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Fjalla+One' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Amethysta' rel='stylesheet' type='text/css'>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<script type="text/javascript" src="/javascripts/jquery-tapir.js"></script>
<!-- remove or comment it to disable ajaxification -->
<script src="/javascripts/ajaxify.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'rendykstan']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div id="wrapper">
<header id="header" class="inner"><!-- for more effects see _animate.scss -->
<h1 class="animated bounceInDown">
<div id="headerbg">
Rendy Tan
</div>
</h1>
<br>
<ul id="social-links" style="text-align:center">
<!-- GitHub -->
<li>
<a href="https://github.com/rendykstan" class="github" title="Github"></a>
</li>
<!-- Twitter -->
<li>
<a href="http://www.twitter.com/rendykstan" class="twitter" title="Twitter"></a>
</li>
<!-- LinkedIn -->
<li>
<a href="http://www.linkedin.com/in/rendykstan" class="linkedin" title="LinkedIn"></a>
</li>
</ul>
<!-- use full url including 'index.html' for navigation bar if you are using ajax -->
<ul id="nav">
<li id="ajax"><a href="/index.html">Home</a></li>
<li id="ajax"><a href="/blog/archives/index.html">Archives</a></li>
<li><a href="/atom.xml">RSS</a></li>
<li>
<div id="dark">
<form method="get" action="/search.html" id="search">
<input name="query" type="text" placeholder="Search..." x-webkit-speech />
</form>
</div>
</li>
</ul>
</header>
<div id="toload">
<!-- begin toload -->
<div id="content" class="inner">
<article class="post">
<h2 class="title">
<a href="/blog/2013/04/04/postgresql-vacuum-and-analyze-maintenance-and-performance/">
Postgresql Vacuum and Analyze, Maintenance and Performance</a>
</h2>
<div class="entry-content">
<div class="meta">
<div class="date">Published on:
<time datetime="2013-04-04T23:18:00+08:00" pubdate data-updated="true">Apr 4<span>th</span>, 2013</time></div>
<div class="tags">Tags:
<a class='category' href='/blog/categories/crontab/'>Crontab</a>, <a class='category' href='/blog/categories/postgresql/'>Postgresql</a>, <a class='category' href='/blog/categories/python/'>Python</a>
</div>
</div>
<p>I have been using Postgresql for a couple of years now and I am very happy with its performance and growth as a open source relational database. Today I will like to share with you how Vacuum and Analyze can help your database perform better.</p>
<p><a href="http://www.postgresql.org/docs/9.1/static/sql-vacuum.html">VACUUM</a> frees the disk space occupied by your database deletes and updates. When you delete or update a record in your table, it does not get removed and it remains until a VACUUM is done. For frequently-updated tables, VACUUM is highly recommended.</p>
<p><a href="http://www.postgresql.org/docs/9.1/static/sql-analyze.html">ANALYZE</a> helps improve your queries by collecting statistics about the contents of tables in the database. The results of the analysis are stored in the <em>pg_statistic</em> system catalog. With these statistics, the query planner use it to determine the most efficient execution plans, thus improve the performance of your queries.</p>
<a href="/blog/2013/04/04/postgresql-vacuum-and-analyze-maintenance-and-performance/" class="more-link">Read on →</a>
</div>
<div class="meta">
</div>
</article>
<article class="post">
<h2 class="title">
<a href="/blog/2013/03/28/exploring-leveldb-embedded-database-with-python-part-1/">
Exploring Leveldb Embedded Database With Python Part 1</a>
</h2>
<div class="entry-content">
<div class="meta">
<div class="date">Published on:
<time datetime="2013-03-28T00:25:00+08:00" pubdate data-updated="true">Mar 28<span>th</span>, 2013</time></div>
<div class="tags">Tags:
<a class='category' href='/blog/categories/eleveldb/'>ElevelDB</a>, <a class='category' href='/blog/categories/leveldb/'>Leveldb</a>, <a class='category' href='/blog/categories/node-dot-js/'>Node.js</a>, <a class='category' href='/blog/categories/python/'>Python</a>, <a class='category' href='/blog/categories/riak/'>Riak</a>
</div>
</div>
<p>I got to know about <a href="https://code.google.com/p/leveldb/">LevelDB</a> from the guys of <a href="http://nodeup.com/">Nodeup</a>, a podcast program for node.js and they shared load of goodness about the project and it really got me excited to start exploring. You can heard the podcast <a href="http://nodeup.com/fortyone">here</a>. In short, <a href="http://google-opensource.blogspot.sg/2011/07/leveldb-fast-persistent-key-value-store.html">LevelDB</a> is an open source on-disk key-value store written by <a href="https://plus.google.com/118227548810368513262/about">Jeffrey Dean</a> and <a href="https://plus.google.com/105332691637769400620/about">Sanjay Ghemawat</a> of Google.</p>
<a href="/blog/2013/03/28/exploring-leveldb-embedded-database-with-python-part-1/" class="more-link">Read on →</a>
</div>
<div class="meta">
</div>
</article>
<article class="post">
<h2 class="title">
<a href="/blog/2013/03/20/install-android-usb-driver-on-windows-8/">
Install Android USB Driver on Windows 8</a>
</h2>
<div class="entry-content">
<div class="meta">
<div class="date">Published on:
<time datetime="2013-03-20T23:29:00+08:00" pubdate data-updated="true">Mar 20<span>th</span>, 2013</time></div>
<div class="tags">Tags:
<a class='category' href='/blog/categories/android/'>android</a>, <a class='category' href='/blog/categories/usb-driver/'>usb driver</a>, <a class='category' href='/blog/categories/windows-8/'>windows 8</a>
</div>
</div>
<p>With a broken power button on my Nexus S running Jelly Bean, the only way I can do a screen capture for the app we are releasing to the play store is to use Dalvik Debug Monitor Server (DDMS) tool in the Android SDK.</p>
<p>In the latest Android SDK, Google deprecated DDMS and introduced a new tool call Monitor as a replacement. Enabling “USB Debugging” on my Nexus S, it fails to show up on the device list.</p>
<a href="/blog/2013/03/20/install-android-usb-driver-on-windows-8/" class="more-link">Read on →</a>
</div>
<div class="meta">
</div>
</article>
<article class="post">
<h2 class="title">
<a href="/blog/2013/03/19/remove-trailing-dot-in-domain-name/">
Remove Trailing Dot in Domain Name</a>
</h2>
<div class="entry-content">
<div class="meta">
<div class="date">Published on:
<time datetime="2013-03-19T21:26:00+08:00" pubdate data-updated="true">Mar 19<span>th</span>, 2013</time></div>
<div class="tags">Tags:
<a class='category' href='/blog/categories/apache/'>apache</a>, <a class='category' href='/blog/categories/ubuntu/'>ubuntu</a>, <a class='category' href='/blog/categories/virtual-host/'>virtual host</a>
</div>
</div>
<p>Yesterday, I read an <a href="http://saynt2day.blogspot.ru/2013/03/danger-of-trailing-dot-in-domain-name.html">article</a> talking about <a href="http://en.wikipedia.org/wiki/Fully_qualified_domain_name">fully qualified domain names</a> and its possible issues. Each domain name in fact has a dot at the end. The internet browser can either load rendykstan.github.com or <a href="http://rendykstan.github.com.">rendykstan.github.com.</a>. As you can see rendykstan.github.com. loads a 404.</p>
<a href="/blog/2013/03/19/remove-trailing-dot-in-domain-name/" class="more-link">Read on →</a>
</div>
<div class="meta">
</div>
</article>
<article class="post">
<h2 class="title">
<a href="/blog/2013/03/16/running-rbenv-and-pythonbrew-side-by-side/">
Running Rbenv and Pythonbrew Side by Side</a>
</h2>
<div class="entry-content">
<div class="meta">
<div class="date">Published on:
<time datetime="2013-03-16T17:36:00+08:00" pubdate data-updated="true">Mar 16<span>th</span>, 2013</time></div>
<div class="tags">Tags:
<a class='category' href='/blog/categories/python/'>python</a>, <a class='category' href='/blog/categories/pythonbrew/'>pythonbrew</a>, <a class='category' href='/blog/categories/rbenv/'>rbenv</a>, <a class='category' href='/blog/categories/ruby/'>ruby</a>, <a class='category' href='/blog/categories/virtual-environments/'>virtual environments</a>
</div>
</div>
<p>Today, I went into a problem running pythonbrew after installing ruby using rbenv for setting up this blog last week. It took me awhile to figure out that rbenv was the problem. ~/.bashrc and ~/.profile were the only shell initialization files before rbenv came into the picture.</p>
<figure class='code'><figcaption><span>~/.profile</span></figcaption>
<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'>if [ -n "$BASH_VERSION" ]; then
</span><span class='line'> # include .bashrc if it exists
</span><span class='line'> if [ -f "$HOME/.bashrc" ]; then
</span><span class='line'> . "$HOME/.bashrc"
</span><span class='line'> fi
</span><span class='line'>fi</span></code></pre></td></tr></table></div></figure>
<a href="/blog/2013/03/16/running-rbenv-and-pythonbrew-side-by-side/" class="more-link">Read on →</a>
</div>
<div class="meta">
</div>
</article>
<nav id="pagenavi">
<a href="/blog/page/2/" class="next">Next</a>
<div class="center"><a href="/blog/archives">Blog Archives</a></div>
</nav>
</div>
<footer id="footer">
<div style="display:inline">
Copyright © 2013
Rendy Tan
. Powered by <a href="http://octopress.org">Octopress</a> |
Theme <a href="http://github.com/panks/fabric">fabric</a> by <a href="http://panks.me">Pankaj Kumar</a>
</div>
</footer>
<script src="/javascripts/fabric.js"></script>
<script src="/javascripts/jquery.fancybox.pack.js"></script>
<script type="text/javascript">
(function($){
$('.fancybox').fancybox();
})(jQuery);
</script> <!-- Delete or comment this line to disable Fancybox -->
<!-- end toload -->
</div>
</div>
<script src="/javascripts/jquery.ui.totop.js" type="text/javascript"></script>
<script type="text/javascript">
/*<![CDATA[*/
;(function($){$().UItoTop({easingType:'easeOutCirc'});})(jQuery);
/*]]>*/
</script><!-- remove it to remove the scroll to top button -->
</body>
</html>