-
Notifications
You must be signed in to change notification settings - Fork 1
/
index8.html
754 lines (657 loc) · 32.5 KB
/
index8.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
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
<!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml">
<head>
<title>Pearls in Life</title>
<!-- Using the latest rendering mode for IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="http://jhshi.me/images/favicon.ico" rel="icon">
<link rel="canonical" href="http://jhshi.me">
<meta name="author" content="Jinghao Shi" />
<!-- Open Graph tags -->
<meta property="fb:app_id" content="156751911645324"/>
<meta property="og:site_name" content="Pearls in Life" />
<meta property="og:type" content="website"/>
<meta property="og:title" content="Pearls in Life"/>
<meta property="og:url" content="http://jhshi.me"/>
<meta property="og:description" content="Pearls in Life"/>
<!-- Bootstrap -->
<link rel="stylesheet" href="http://jhshi.me/theme/css/bootstrap.readable.min.css" type="text/css"/>
<link href="http://jhshi.me/theme/css/font-awesome.min.css" rel="stylesheet">
<link href="http://jhshi.me/theme/css/pygments/friendly.css" rel="stylesheet">
<link href="http://jhshi.me/theme/tipuesearch/tipuesearch.css" rel="stylesheet">
<link rel="stylesheet" href="http://jhshi.me/theme/css/style.css" type="text/css"/>
<link href="http://jhshi.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate"
title="Pearls in Life ATOM Feed"/>
</head>
<body>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : "156751911645324",
xfbml : true,
version : 'v2.11'
});
FB.AppEvents.logPageView();
};
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "https://connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="http://jhshi.me/" class="navbar-brand">
Pearls in Life </a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li><a href="/home">Home</a></li>
<li><a href="/">Blog</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><span>
<form class="navbar-search" action="/search.html">
<input type="text" class="search-query" placeholder="Search" name="q" id="tipue_search_input" required>
</form></span>
</li>
<li><a href="http://jhshi.me/blog/archives/index.html"><i class="fa fa-th-list"></i><span class="icon-label">Archives</span></a></li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
</div> <!-- /.navbar -->
<!-- Banner -->
<!-- End Banner -->
<div class="container">
<div class="row">
<div class="col-sm-9">
<article>
<h2><a href="http://jhshi.me/2013/12/02/command-dispatching/index.html">Command Dispatching</a></h2>
<div class="well well-sm">
<footer class="post-info">
<span class="label label-default">Date</span>
<span class="published">
<i class="fa fa-calendar"></i><time datetime="2013-12-02T12:52:00-05:00"> Mon 02 December 2013</time>
</span>
<span class="label label-default">Category</span>
<a href="http://jhshi.me/blog/category/network/index.html">network</a>
<span class="label label-default">Tags</span>
<a href="http://jhshi.me/blog/tag/c/index.html">C</a>
/
<a href="http://jhshi.me/blog/tag/dispatch/index.html">dispatch</a>
/
<a href="http://jhshi.me/blog/tag/readline/index.html">readline</a>
</footer><!-- /.post-info --> </div>
<div class="summary"><p>In a few network projects, we're asked to write an interactive shell, to receive
command from user input. Here is the general pattern I used. The example I used
here is from the <a href="https://github.com/jhshi/course.network.p2p">P2P network project</a>, and you can find my earlier post
about <a href="/2013/11/02/use-select-to-monitor-multiple-file-descriptors/">use select to monitor user input and socket at the same time</a>.</p>
<a class="btn btn-default btn-xs" href="http://jhshi.me/2013/12/02/command-dispatching/index.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://jhshi.me/2013/11/17/post-revision-plugin-for-octopress/index.html">Post Revision Plugin For Octopress</a></h2>
<div class="well well-sm">
<footer class="post-info">
<span class="label label-default">Date</span>
<span class="published">
<i class="fa fa-calendar"></i><time datetime="2013-11-17T16:39:00-05:00"> Sun 17 November 2013</time>
</span>
<span class="label label-default">Category</span>
<a href="http://jhshi.me/blog/category/octopress/index.html">octopress</a>
<span class="label label-default">Tags</span>
<a href="http://jhshi.me/blog/tag/plugin/index.html">plugin</a>
/
<a href="http://jhshi.me/blog/tag/revision/index.html">revision</a>
/
<a href="http://jhshi.me/blog/tag/git/index.html">git</a>
/
<a href="http://jhshi.me/blog/tag/ruby/index.html">ruby</a>
/
<a href="http://jhshi.me/blog/tag/jekyll/index.html">jekyll</a>
/
<a href="http://jhshi.me/blog/tag/liquid/index.html">Liquid</a>
</footer><!-- /.post-info --> </div>
<div class="summary"><p>Writing blogs is not a one-time thing. Maybe sometime after you posted a blog,
you find a typo, or you get some feedback from your readers and want to further
elaborate on some paragraph in your blog, and so on. So keep a revision history
for each post is a good idea, not only for you, but also for your readers, to
let them know that you're keep polishing your blogs.</p>
<a class="btn btn-default btn-xs" href="http://jhshi.me/2013/11/17/post-revision-plugin-for-octopress/index.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://jhshi.me/2013/11/10/popular-posts-plugin-for-octopress/index.html">Popular Posts Plugin for Octopress</a></h2>
<div class="well well-sm">
<footer class="post-info">
<span class="label label-default">Date</span>
<span class="published">
<i class="fa fa-calendar"></i><time datetime="2013-11-10T20:08:00-05:00"> Sun 10 November 2013</time>
</span>
<span class="label label-default">Category</span>
<a href="http://jhshi.me/blog/category/octopress/index.html">octopress</a>
<span class="label label-default">Tags</span>
<a href="http://jhshi.me/blog/tag/popular-posts/index.html">popular posts</a>
/
<a href="http://jhshi.me/blog/tag/jekyll/index.html">jekyll</a>
/
<a href="http://jhshi.me/blog/tag/plugin/index.html">plugin</a>
/
<a href="http://jhshi.me/blog/tag/ruby/index.html">ruby</a>
</footer><!-- /.post-info --> </div>
<div class="summary"><p>This post describes the <a href="https://github.com/jhshi/octopress-popular-posts">octopress-popular-posts</a> for Octopress. Although
there is <a href="https://github.com/octopress-themes/popular-posts">one plugin</a> that does the job, it used Google Page Rank to
determine if a post is popular or not. I'd like to, however, use the page view
of the post as metric.</p>
<a class="btn btn-default btn-xs" href="http://jhshi.me/2013/11/10/popular-posts-plugin-for-octopress/index.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://jhshi.me/2013/11/10/page-view-plugin-for-octopress/index.html">Page View Plugin for Octopress</a></h2>
<div class="well well-sm">
<footer class="post-info">
<span class="label label-default">Date</span>
<span class="published">
<i class="fa fa-calendar"></i><time datetime="2013-11-10T18:21:00-05:00"> Sun 10 November 2013</time>
</span>
<span class="label label-default">Category</span>
<a href="http://jhshi.me/blog/category/octopress/index.html">octopress</a>
<span class="label label-default">Tags</span>
<a href="http://jhshi.me/blog/tag/plugin/index.html">plugin</a>
/
<a href="http://jhshi.me/blog/tag/jekyll/index.html">jekyll</a>
/
<a href="http://jhshi.me/blog/tag/octopress/index.html">octopress</a>
/
<a href="http://jhshi.me/blog/tag/ruby/index.html">ruby</a>
</footer><!-- /.post-info --> </div>
<div class="summary"><p>It's always nice to display some blog stats, such as page view count, to give
readers an sense how <em>popular</em> some site/posts are. Unfortunately, there is (or
should I say 'was'?) no such plugin that does this job nicely for
<a href="http://octopress.org/">Octopress</a>, so I decided to write one myself. And here comes the
plugin called <a href="https://github.com/jhshi/octopress-page-view">octopress-page-view</a>.</p>
<a class="btn btn-default btn-xs" href="http://jhshi.me/2013/11/10/page-view-plugin-for-octopress/index.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://jhshi.me/2013/11/03/pop-up-alertdialog-in-system-service/index.html">Pop Up AlertDialog in System Service</a></h2>
<div class="well well-sm">
<footer class="post-info">
<span class="label label-default">Date</span>
<span class="published">
<i class="fa fa-calendar"></i><time datetime="2013-11-03T23:28:00-05:00"> Sun 03 November 2013</time>
</span>
<span class="label label-default">Category</span>
<a href="http://jhshi.me/blog/category/android/index.html">Android</a>
<span class="label label-default">Tags</span>
<a href="http://jhshi.me/blog/tag/alertdialog/index.html">AlertDialog</a>
/
<a href="http://jhshi.me/blog/tag/service/index.html">service</a>
</footer><!-- /.post-info --> </div>
<div class="summary"><p>I've been working on OTA support for <a href="http://www.phone-lab.org">PhoneLab testbed</a>. And one
problem I encountered is that, when I tried to pop out an
<a href="http://developer.android.com/reference/android/app/AlertDialog.html">AlertDialog</a> to let user confirm update, I get this error that
saied something like this:</p>
<div class="highlight"><pre><span class="x">android.view.WindowManager</span><span class="p">$</span><span class="nv">BadTokenException</span><span class="x">: Unable to add window -- token null</span>
<span class="x">is not for an application</span>
</pre></div>
<a class="btn btn-default btn-xs" href="http://jhshi.me/2013/11/03/pop-up-alertdialog-in-system-service/index.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://jhshi.me/2013/11/02/fight-against-the-address-alrady-in-use-error/index.html">Fight Against the 'Address alrady in use' Error</a></h2>
<div class="well well-sm">
<footer class="post-info">
<span class="label label-default">Date</span>
<span class="published">
<i class="fa fa-calendar"></i><time datetime="2013-11-02T22:36:00-04:00"> Sat 02 November 2013</time>
</span>
<span class="label label-default">Category</span>
<a href="http://jhshi.me/blog/category/network/index.html">network</a>
<span class="label label-default">Tags</span>
<a href="http://jhshi.me/blog/tag/bind/index.html">bind</a>
/
<a href="http://jhshi.me/blog/tag/so_reuseaddr/index.html">SO_REUSEADDR</a>
/
<a href="http://jhshi.me/blog/tag/socket/index.html">socket</a>
</footer><!-- /.post-info --> </div>
<div class="summary"><p>You have probably seen this error quite often. The detailed reason why this
error occurs is explained in detail <a href="http://www.serverframework.com/asynchronousevents/2011/01/time-wait-and-its-design-implications-for-protocols-and-scalable-servers.html">here</a>. </p>
<!--more -->
<p>In short, if a TCP socket is
not closed properly when the program exits, the OS will put that socket in a <code>TIME_WAIT</code>
state for a period of time (<a href="http://www.borella.net/content/MITP432/TCP/text26.html"><code>2MSL ...</code></a></p></!--more>
<a class="btn btn-default btn-xs" href="http://jhshi.me/2013/11/02/fight-against-the-address-alrady-in-use-error/index.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://jhshi.me/2013/11/02/use-select-to-monitor-multiple-file-descriptors/index.html">Use Select to Monitor Multiple File Descriptors</a></h2>
<div class="well well-sm">
<footer class="post-info">
<span class="label label-default">Date</span>
<span class="published">
<i class="fa fa-calendar"></i><time datetime="2013-11-02T21:44:00-04:00"> Sat 02 November 2013</time>
</span>
<span class="label label-default">Category</span>
<a href="http://jhshi.me/blog/category/network/index.html">network</a>
<span class="label label-default">Tags</span>
<a href="http://jhshi.me/blog/tag/select/index.html">select</a>
/
<a href="http://jhshi.me/blog/tag/fd_set/index.html">fd_set</a>
</footer><!-- /.post-info --> </div>
<div class="summary"><p>In the <a href="https://github.com/jhshi/course.network.p2p">P2P network project</a>, we were asked to simultaneously monitor user input
and also potential in-coming messages, yet we're not supposed to use multiple
threads or processes. That leaves us no choice but the <a href="http://man7.org/linux/man-pages/man2/pselect.2.html"><code>select</code></a> function.</p>
<a class="btn btn-default btn-xs" href="http://jhshi.me/2013/11/02/use-select-to-monitor-multiple-file-descriptors/index.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://jhshi.me/2013/11/02/how-to-get-hosts-ip-address/index.html">How to Get Local Host's Real IP Address</a></h2>
<div class="well well-sm">
<footer class="post-info">
<span class="label label-default">Date</span>
<span class="published">
<i class="fa fa-calendar"></i><time datetime="2013-11-02T20:20:00-04:00"> Sat 02 November 2013</time>
</span>
<span class="label label-default">Category</span>
<a href="http://jhshi.me/blog/category/network/index.html">network</a>
<span class="label label-default">Tags</span>
<a href="http://jhshi.me/blog/tag/ip/index.html">ip</a>
/
<a href="http://jhshi.me/blog/tag/getsockname/index.html">getsockname</a>
/
<a href="http://jhshi.me/blog/tag/gethostbyname/index.html">gethostbyname</a>
/
<a href="http://jhshi.me/blog/tag/getifaddrs/index.html">getifaddrs</a>
</footer><!-- /.post-info --> </div>
<div class="summary"><p>I encounter this problem while doing an <a href="https://github.com/jhshi/course.network.p2p">network course project</a>. Easy
as it sounds, it's actually not a trivial task.</p>
<a class="btn btn-default btn-xs" href="http://jhshi.me/2013/11/02/how-to-get-hosts-ip-address/index.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://jhshi.me/2013/10/02/persist-and-synchroize-vim-undo-history-using-dropbox/index.html">Persist and Synchroize VIM undo History using Dropbox</a></h2>
<div class="well well-sm">
<footer class="post-info">
<span class="label label-default">Date</span>
<span class="published">
<i class="fa fa-calendar"></i><time datetime="2013-10-02T10:59:00-04:00"> Wed 02 October 2013</time>
</span>
<span class="label label-default">Category</span>
<a href="http://jhshi.me/blog/category/vim/index.html">vim</a>
<span class="label label-default">Tags</span>
<a href="http://jhshi.me/blog/tag/vimrc/index.html">vimrc</a>
/
<a href="http://jhshi.me/blog/tag/dropbox/index.html">dropbox</a>
/
<a href="http://jhshi.me/blog/tag/undodir/index.html">undodir</a>
</footer><!-- /.post-info --> </div>
<div class="summary"><p>It's extremely useful to
- Have a <em>virtually</em> unlimited undo history, and
- Have it persisted even after exiting VIM, and
- Better, even have it synchronized across all your working machines using Dropbox.</p>
<a class="btn btn-default btn-xs" href="http://jhshi.me/2013/10/02/persist-and-synchroize-vim-undo-history-using-dropbox/index.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://jhshi.me/2013/09/03/importerror-cannot-import-name-compare-xml/index.html">ImportError: cannot import name compare_xml</a></h2>
<div class="well well-sm">
<footer class="post-info">
<span class="label label-default">Date</span>
<span class="published">
<i class="fa fa-calendar"></i><time datetime="2013-09-03T11:23:00-04:00"> Tue 03 September 2013</time>
</span>
<span class="label label-default">Category</span>
<a href="http://jhshi.me/blog/category/errors/index.html">errors</a>
<span class="label label-default">Tags</span>
<a href="http://jhshi.me/blog/tag/django/index.html">django</a>
/
<a href="http://jhshi.me/blog/tag/python/index.html">python</a>
/
<a href="http://jhshi.me/blog/tag/compare_xml/index.html">compare_xml</a>
</footer><!-- /.post-info --> </div>
<div class="summary"><p>When I tried to fire up Django server using <code>manage.py</code>, I kept getting this
error,which is cause by <code>from django.test.utils import compare_xml</code>. It turns
out that I'm using the wrong Django version (1.4), and I should
upgrade to 1.5.</p>
<a class="btn btn-default btn-xs" href="http://jhshi.me/2013/09/03/importerror-cannot-import-name-compare-xml/index.html">more ...</a>
</div>
</article>
<hr/>
<ul class="pagination">
<li class="prev"><a href="http://jhshi.me/index7.html">«</a>
</li>
<li class=""><a
href="http://jhshi.me/index.html">1</a></li>
<li class=""><a
href="http://jhshi.me/index2.html">2</a></li>
<li class=""><a
href="http://jhshi.me/index3.html">3</a></li>
<li class=""><a
href="http://jhshi.me/index4.html">4</a></li>
<li class=""><a
href="http://jhshi.me/index5.html">5</a></li>
<li class=""><a
href="http://jhshi.me/index6.html">6</a></li>
<li class=""><a
href="http://jhshi.me/index7.html">7</a></li>
<li class="active"><a
href="http://jhshi.me/index8.html">8</a></li>
<li class=""><a
href="http://jhshi.me/index9.html">9</a></li>
<li class=""><a
href="http://jhshi.me/index10.html">10</a></li>
<li class=""><a
href="http://jhshi.me/index11.html">11</a></li>
<li class=""><a
href="http://jhshi.me/index12.html">12</a></li>
<li class=""><a
href="http://jhshi.me/index13.html">13</a></li>
<li class="next"><a
href="http://jhshi.me/index9.html">»</a></li>
</ul>
</div>
<div class="col-sm-3" id="sidebar">
<aside>
<section class="well well-sm">
<ul class="list-group list-group-flush">
<li class="list-group-item"><h4><i class="fa fa-eye"></i><span class="icon-label">0 Hits</span></h4>
<li class="list-group-item"><h4><i class="fa fa-fire fa-lg"></i><span class="icon-label">Popular Posts</span></h4>
<ul class="list-group" id="recentposts">
<li class="list-group-item">
<a href="http://jhshi.me/2018/02/11/opengl-over-vnc/index.html">
OpenGL over VNC
</a>
</li>
<li class="list-group-item">
<a href="http://jhshi.me/2018/01/23/fix-vmware-player-3d-support-issue/index.html">
Fix VMWare Player 3D Support Issue
</a>
</li>
<li class="list-group-item">
<a href="http://jhshi.me/2017/09/29/google-dns-configuration-on-ubuntu-1604/index.html">
Google DNS Configuration on Ubuntu 16.04
</a>
</li>
<li class="list-group-item">
<a href="http://jhshi.me/2017/09/21/fix-touchpad-natual-scrolling-of-ubuntu-1604-on-thinkpad-x1/index.html">
Fix Touchpad Natual Scrolling of Ubuntu 16.04 on Thinkpad X1
</a>
</li>
<li class="list-group-item">
<a href="http://jhshi.me/2017/03/06/backing-up-files-using-amazon-glacier/index.html">
Backing Up Files Using Amazon Glacier
</a>
</li>
</ul>
</li>
<li class="list-group-item"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">Recent Posts</span></h4>
<ul class="list-group" id="recentposts">
<li class="list-group-item">
<a href="http://jhshi.me/2018/02/11/opengl-over-vnc/index.html">
OpenGL over VNC
</a>
</li>
<li class="list-group-item">
<a href="http://jhshi.me/2018/01/23/fix-vmware-player-3d-support-issue/index.html">
Fix VMWare Player 3D Support Issue
</a>
</li>
<li class="list-group-item">
<a href="http://jhshi.me/2017/09/29/google-dns-configuration-on-ubuntu-1604/index.html">
Google DNS Configuration on Ubuntu 16.04
</a>
</li>
<li class="list-group-item">
<a href="http://jhshi.me/2017/09/21/fix-touchpad-natual-scrolling-of-ubuntu-1604-on-thinkpad-x1/index.html">
Fix Touchpad Natual Scrolling of Ubuntu 16.04 on Thinkpad X1
</a>
</li>
<li class="list-group-item">
<a href="http://jhshi.me/2017/03/06/backing-up-files-using-amazon-glacier/index.html">
Backing Up Files Using Amazon Glacier
</a>
</li>
</ul>
</li>
<li class="list-group-item"><a href="http://jhshi.me/blog/categories/index.html"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">Categories</span></h4></a>
<ul class="list-group" id="categories">
<li class="list-group-item">
<a href="http://jhshi.me/blog/category/os161/index.html">
<i class="fa fa-folder-open fa-lg"></i> os161 [27]
</a>
</li>
<li class="list-group-item">
<a href="http://jhshi.me/blog/category/linux/index.html">
<i class="fa fa-folder-open fa-lg"></i> linux [24]
</a>
</li>
<li class="list-group-item">
<a href="http://jhshi.me/blog/category/android/index.html">
<i class="fa fa-folder-open fa-lg"></i> android [20]
</a>
</li>
<li class="list-group-item">
<a href="http://jhshi.me/blog/category/errors/index.html">
<i class="fa fa-folder-open fa-lg"></i> errors [14]
</a>
</li>
<li class="list-group-item">
<a href="http://jhshi.me/blog/category/network/index.html">
<i class="fa fa-folder-open fa-lg"></i> network [11]
</a>
</li>
</ul>
</li>
<li class="list-group-item"><a href="http://jhshi.me/blog/tags/index.html"><h4><i class="fa fa-tags fa-lg"></i><span class="icon-label">Tags</span></h4></a>
<ul class="list-group list-inline tagcloud" id="tags">
<li class="list-group-item tag-2">
<a href="http://jhshi.me/blog/tag/aosp/index.html">
AOSP
</a>
</li>
<li class="list-group-item tag-6">
<a href="http://jhshi.me/blog/tag/backup/index.html">
backup
</a>
</li>
<li class="list-group-item tag-6">
<a href="http://jhshi.me/blog/tag/beamer/index.html">
beamer
</a>
</li>
<li class="list-group-item tag-7">
<a href="http://jhshi.me/blog/tag/blog/index.html">
blog
</a>
</li>
<li class="list-group-item tag-4">
<a href="http://jhshi.me/blog/tag/c/index.html">
c
</a>
</li>
<li class="list-group-item tag-6">
<a href="http://jhshi.me/blog/tag/gdb/index.html">
gdb
</a>
</li>
<li class="list-group-item tag-6">
<a href="http://jhshi.me/blog/tag/hammerhead/index.html">
hammerhead
</a>
</li>
<li class="list-group-item tag-6">
<a href="http://jhshi.me/blog/tag/jekyll/index.html">
jekyll
</a>
</li>
<li class="list-group-item tag-6">
<a href="http://jhshi.me/blog/tag/mac/index.html">
mac
</a>
</li>
<li class="list-group-item tag-4">
<a href="http://jhshi.me/blog/tag/ns2/index.html">
ns2
</a>
</li>
<li class="list-group-item tag-4">
<a href="http://jhshi.me/blog/tag/ota/index.html">
OTA
</a>
</li>
<li class="list-group-item tag-4">
<a href="http://jhshi.me/blog/tag/plugin/index.html">
plugin
</a>
</li>
<li class="list-group-item tag-4">
<a href="http://jhshi.me/blog/tag/python/index.html">
python
</a>
</li>
<li class="list-group-item tag-4">
<a href="http://jhshi.me/blog/tag/ruby/index.html">
ruby
</a>
</li>
<li class="list-group-item tag-6">
<a href="http://jhshi.me/blog/tag/ssh/index.html">
ssh
</a>
</li>
<li class="list-group-item tag-4">
<a href="http://jhshi.me/blog/tag/synchronization/index.html">
synchronization
</a>
</li>
<li class="list-group-item tag-1">
<a href="http://jhshi.me/blog/tag/syscall/index.html">
syscall
</a>
</li>
<li class="list-group-item tag-6">
<a href="http://jhshi.me/blog/tag/travis/index.html">
travis
</a>
</li>
<li class="list-group-item tag-6">
<a href="http://jhshi.me/blog/tag/ubuntu/index.html">
ubuntu
</a>
</li>
<li class="list-group-item tag-2">
<a href="http://jhshi.me/blog/tag/vm/index.html">
vm
</a>
</li>
</ul>
</li>
<li class="list-group-item"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">Social</span></h4>
<ul class="list-group" id="social">
<li class="list-group-item"><a href="https://github.com/jhshi"><i class="fa fa-github-square fa-lg"></i> github</a></li>
<li class="list-group-item"><a href="http://stackoverflow.com/users/963538/jinghao-shi"><i class="fa fa-stack-overflow fa-lg"></i> stack-overflow</a></li>
</ul>
</li>
<li class="list-group-item"><h4><i class="fa fa-github fa-lg"></i><span class="icon-label">GitHub Repos</span></h4>
<div id="gh_repos">
<p class="list-group-item">Status updating...</p>
</div>
<a href="https://github.com/jhshi">@jhshi</a> on GitHub
</li>
<li class="list-group-item"><h4><i class="fa fa-external-link-square fa-lg"></i><span class="icon-label">Links</span></h4>
<ul class="list-group" id="links">
<li class="list-group-item">
<a href="http://blue.cse.buffalo.edu" target="_blank">
blue Systems Group
</a>
</li>
<li class="list-group-item">
<a href="http://www.buffalo.edu" target="_blank">
University at Buffalo
</a>
</li>
</ul>
</li>
</ul>
</section> </aside>
</div>
</div>
</div>
<footer>
<div class="container">
<hr>
<div class="row">
<div class="col-xs-10">© 2018 Jinghao Shi
·
Updated on 2020-04-02
· Powered by <a href="https://github.com/jhshi/pelican-bootstrap3" target="_blank">pelican-bootstrap3</a>,
<a href="http://docs.getpelican.com/" target="_blank">Pelican</a>,
<a href="http://getbootstrap.com" target="_blank">Bootstrap</a> </div>
<div class="col-xs-2"><p class="pull-right"><i class="fa fa-arrow-up"></i> <a href="#">Back to top</a></p></div>
</div>
</div>
</footer>
<script src="http://jhshi.me/theme/js/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="http://jhshi.me/theme/js/bootstrap.min.js"></script>
<!-- Enable responsive features in IE8 with Respond.js (https://github.com/scottjehl/Respond) -->
<script src="http://jhshi.me/theme/js/respond.min.js"></script>
<!-- GitHub JS -->
<script type="text/javascript">
$(document).ready(function () {
if (!window.jXHR) {
var jxhr = document.createElement('script');
jxhr.type = 'text/javascript';
jxhr.src = 'http://jhshi.me/theme/js/jXHR.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(jxhr, s);
}
github.showRepos({
user: 'jhshi',
count: 5,
skip_forks: true,
target: '#gh_repos'
});
});
</script>
<script src="http://jhshi.me/theme/js/github.js" type="text/javascript"></script>
<!-- End GitHub JS Code -->
<!-- Google Analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-39842003-1']);
_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>
<!-- End Google Analytics Code -->
</body>
</html>