Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: chrishan/chrishan.github.com
base: 2eb9389f07
...
head fork: chrishan/chrishan.github.com
compare: 58f83db6dc
Checking mergeability… Don't worry, you can still create the pull request.
  • 3 commits
  • 41 files changed
  • 0 commit comments
  • 1 contributor
Showing with 1,167 additions and 749 deletions.
  1. +0 −1  CNAME
  2. +25 −25 a-twitter-bot-for-programmingreddit.html
  3. +36 −34 archives.html
  4. +47 −58 author/han-xiaogang.html
  5. +40 −19 author/han-xiaogang2.html
  6. +63 −0 authors.html
  7. +27 −27 bash-cheetsheet.html
  8. +27 −26 categories.html
  9. +19 −19 category/{.html → .html.html}
  10. +21 −21 category/productivity.html
  11. +19 −19 category/python.html
  12. +74 −0 category/writing.html
  13. +25 −25 clustered-hacker-news.html
  14. +25 −25 contextual-subtitle-for-language-learning.html
  15. +4 −2 feeds/all.atom.xml
  16. +2 −2 feeds/productivity.atom.xml
  17. +4 −0 feeds/writing.atom.xml
  18. 0  {static → }/images/bashsheet.png
  19. +34 −45 index.html
  20. +43 −22 index2.html
  21. +19 −19 pages/about.html
  22. +19 −19 pages/project.html
  23. +19 −19 pages/research.html
  24. +25 −25 parsing-evernote-export-file-enex-using-python.html
  25. 0  {static → }/pdfs/bashsheet.pdf
  26. +25 −25 quora-ml-problem.html
  27. +25 −25 shouldinvent.html
  28. +25 −25 statistical-analysis-on-usethiscom-tool-usage-patterns.html
  29. +97 −0 style-check.html
  30. +19 −19 tag/{.html → .html.html}
  31. +21 −21 tag/bash.html
  32. +21 −21 tag/cheetsheet.html
  33. +19 −19 tag/machine-learning.html
  34. +29 −19 tag/python.html
  35. +19 −19 tag/scikit-learn.html
  36. +72 −0 tag/style-check.html
  37. +72 −0 tag/sublime-text.html
  38. +31 −29 tags.html
  39. +25 −25 the-setup-tools-usage-statistics.html
  40. +25 −25 tweet-length-distribution.html
  41. +25 −25 using-google-books-api-to-improve-ntu-library-book-search.html
View
1  CNAME
@@ -1 +0,0 @@
-blog.hanxiaogang.com
View
50 a-twitter-bot-for-programmingreddit.html
@@ -14,41 +14,41 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
- <meta name="keywords" content="[]">
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+<meta name="keywords" content="[]">
<title>
- A Twitter Bot for programming.reddit </title>
+A Twitter Bot for programming.reddit </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
- </a>
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
<h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
<p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
<ul>
- <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
- <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
- <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
- <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
- <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
</div>
</aside>
<main>
<header>
- <p>Posted on Sat 22 September 2012</p>
+<p>Posted on Sat 22 September 2012</p>
</header>
- <article>
+<article>
<div id="article_title">
<h3><a href="http://blog.hanxiaogang.com/a-twitter-bot-for-programmingreddit.html">A Twitter Bot for programming.reddit</a></h3>
</div>
@@ -81,12 +81,12 @@
</div>
<div id="article_meta">
<p>Category: <a href="http://blog.hanxiaogang.com/category/.html"></a></p>
- <p>Tags:
- <a href="http://blog.hanxiaogang.com/tag/.html">[]</a> </p>
- <p>Comments: <a href="#" onclick="javascript:toggleComments();return false;">toggle</a></p>
- </div>
+ <p>Tags:
+ <a href="http://blog.hanxiaogang.com/tag/.html">[]</a> </p>
+ <p>Comments: <a href="#" onclick="javascript:toggleComments();return false;">toggle</a></p>
+ </div>
- <div id="article_comments" style="display:block">
+ <div id="article_comments" style="display:block">
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_identifier = "a-twitter-bot-for-programmingreddit.html";
@@ -97,11 +97,11 @@
})();
</script>
</div>
-
+
</article>
<footer>
- <p><a href="http://blog.hanxiaogang.com/" class="button_accent">&larr; Back to Index</a></p>
+<p><a href="http://blog.hanxiaogang.com/" class="button_accent">&larr; Back to Index</a></p>
<script language="javascript">
function toggleComments() {
var commentDiv = document.getElementById("article_comments");
@@ -115,5 +115,5 @@
<p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
</div>
</main>
- </body>
+</body>
</html>
View
70 archives.html
@@ -14,77 +14,79 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
-
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+
<title>
- Archives </title>
+Archives </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
- </a>
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
<h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
<p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
<ul>
- <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
- <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
- <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
- <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
- <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
</div>
</aside>
<main>
<header>
- <p>
+ <p>
<a href="http://blog.hanxiaogang.com">Index</a> &#124; <a href="http://blog.hanxiaogang.com/archives.html">Archives</a>
- &#124; <a href="http://blog.hanxiaogang.com/feeds/all.atom.xml">Atom Feed</a>
- </p>
- </header>
+ &#124; <a href="http://blog.hanxiaogang.com/feeds/all.atom.xml">Atom Feed</a>
+ </p>
+ </header>
- <article>
+<article>
<div id="article_text">
<dl>
- <dt>Wed 11 September 2013</dt>
+ <dt>Sat 25 January 2014</dt>
+ <dd><a href="http://blog.hanxiaogang.com/style-check.html">style-check.py</a></dd>
+ <dt>Wed 11 September 2013</dt>
<dd><a href="http://blog.hanxiaogang.com/bash-cheetsheet.html">Printable Bash Shortcuts Cheat Sheet</a></dd>
- <dt>Thu 15 August 2013</dt>
+ <dt>Thu 15 August 2013</dt>
<dd><a href="http://blog.hanxiaogang.com/quora-ml-problem.html">My Solution to the Quora ML Problem (Predicting whether a question gets an upvoted answer)</a></dd>
- <dt>Sat 22 September 2012</dt>
+ <dt>Sat 22 September 2012</dt>
<dd><a href="http://blog.hanxiaogang.com/a-twitter-bot-for-programmingreddit.html">A Twitter Bot for programming.reddit</a></dd>
- <dt>Sat 22 September 2012</dt>
+ <dt>Sat 22 September 2012</dt>
<dd><a href="http://blog.hanxiaogang.com/clustered-hacker-news.html">Clustered Hacker News</a></dd>
- <dt>Sat 22 September 2012</dt>
+ <dt>Sat 22 September 2012</dt>
<dd><a href="http://blog.hanxiaogang.com/contextual-subtitle-for-language-learning.html">Contextual Subtitle for Language Learning</a></dd>
- <dt>Sat 22 September 2012</dt>
+ <dt>Sat 22 September 2012</dt>
<dd><a href="http://blog.hanxiaogang.com/parsing-evernote-export-file-enex-using-python.html">Parsing Evernote export file (.enex) using Python</a></dd>
- <dt>Sat 22 September 2012</dt>
+ <dt>Sat 22 September 2012</dt>
<dd><a href="http://blog.hanxiaogang.com/shouldinvent.html">shouldinvent</a></dd>
- <dt>Sat 22 September 2012</dt>
+ <dt>Sat 22 September 2012</dt>
<dd><a href="http://blog.hanxiaogang.com/statistical-analysis-on-usethiscom-tool-usage-patterns.html">Statistical analysis on usethis.com tool usage patterns</a></dd>
- <dt>Sat 22 September 2012</dt>
+ <dt>Sat 22 September 2012</dt>
<dd><a href="http://blog.hanxiaogang.com/the-setup-tools-usage-statistics.html">The Setup Tools Usage Statistics</a></dd>
- <dt>Sat 22 September 2012</dt>
+ <dt>Sat 22 September 2012</dt>
<dd><a href="http://blog.hanxiaogang.com/tweet-length-distribution.html">tweet length distribution</a></dd>
- <dt>Sat 22 September 2012</dt>
+ <dt>Sat 22 September 2012</dt>
<dd><a href="http://blog.hanxiaogang.com/using-google-books-api-to-improve-ntu-library-book-search.html">Using Google Books API to Improve NTU Library Book Search</a></dd>
- </dl>
+ </dl>
</div>
</article>
<footer>
- </footer>
+ </footer>
<div id="ending_message">
<p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
</div>
</main>
- </body>
+</body>
</html>
View
105 author/han-xiaogang.html
@@ -14,49 +14,46 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
-
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+
<title>
- Author: Han Xiaogang </title>
+Author: Han Xiaogang </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
- </a>
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
<h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
<p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
<ul>
- <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
- <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
- <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
- <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
- <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
</div>
</aside>
<main>
<header>
- <p>Author: Han Xiaogang</p>
+<p>Author: Han Xiaogang</p>
</header>
- <article>
+<article>
<div id="article_title">
- <h3><a href="http://blog.hanxiaogang.com/a-twitter-bot-for-programmingreddit.html">A Twitter Bot for programming.reddit</a></h3>
+ <h3><a href="http://blog.hanxiaogang.com/style-check.html">style-check.py</a></h3>
</div>
<div id="article_text">
- <p>Being a long-term programming.reddit reader, I have tried many ways (web
-browsing, GReader, and now by following @reddit_prog on twitter) to
-follow stories appearing there. Following @reddit_prog is very
-comfortable for me, because it saved me a lot of time and it is easy to
-skip irrelevant stories at ...</p>
+ <p>Writing readable scientific papers is hard, especially for beginners. Although books (<a href="http://www.amazon.com/The-Elements-Style-Fourth-Edition/dp/020530902X">e.g., The Elements of Style</a>) and guides are written to promote the best practices, it is still desired that such guides can be automatically applied to our writing in the form of concrete suggestions. </p>
+<p><a href="http://www.cs.umd.edu/~nspring/software/style-check-readme.html">style-check.rb</a> is such ...</p>
</div>
</article>
<hr />
@@ -65,9 +62,32 @@
<h3><a href="http://blog.hanxiaogang.com/bash-cheetsheet.html">Printable Bash Shortcuts Cheat Sheet</a></h3>
</div>
<div id="article_text">
- <p><a href="http://www.skorks.com">Alan Skorkin</a> wrote a great <a href="http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/">post</a> on bash shortcuts. I made a printable version using Latex to keep it on my desk. You can <a href="http://blog.hanxiaogang.com/static/pdfs/bashsheet.pdf">download the PDF here</a>.</p>
+ <p><a href="http://www.skorks.com">Alan Skorkin</a> wrote a great <a href="http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/">post</a> on bash shortcuts. I made a printable version using Latex to keep it on my desk. You can <a href="http://blog.hanxiaogang.com/pdfs/bashsheet.pdf">download the PDF here</a>.</p>
<p>Preview:
-<img alt="bash shortcuts" src="http://blog.hanxiaogang.com/static/images/bashsheet.png" /></p>
+<img alt="bash shortcuts" src="http://blog.hanxiaogang.com/images/bashsheet.png" /></p>
+ </div>
+</article>
+<hr />
+<article>
+ <div id="article_title">
+ <h3><a href="http://blog.hanxiaogang.com/quora-ml-problem.html">My Solution to the Quora ML Problem (Predicting whether a question gets an upvoted answer)</a></h3>
+ </div>
+ <div id="article_text">
+ <p>The <a href="https://www.hackerrank.com/contests/quora/challenges">Quora ML CodeSprint 2013</a> just finished on hackerrank.com. My entry for the first task - <a href="https://www.hackerrank.com/contests/quora/challenges/quora-ml-answered/leaderboard">Quora ML Problem: Answered</a>, was ranked 7th/71 on the dashboard.</p>
+<p>The objective of the task is to predict whether a question gets an upvoted answer within 1 day, given Quora question text and ...</p>
+ </div>
+</article>
+<hr />
+<article>
+ <div id="article_title">
+ <h3><a href="http://blog.hanxiaogang.com/a-twitter-bot-for-programmingreddit.html">A Twitter Bot for programming.reddit</a></h3>
+ </div>
+ <div id="article_text">
+ <p>Being a long-term programming.reddit reader, I have tried many ways (web
+browsing, GReader, and now by following @reddit_prog on twitter) to
+follow stories appearing there. Following @reddit_prog is very
+comfortable for me, because it saved me a lot of time and it is easy to
+skip irrelevant stories at ...</p>
</div>
</article>
<hr />
@@ -113,16 +133,6 @@
<hr />
<article>
<div id="article_title">
- <h3><a href="http://blog.hanxiaogang.com/quora-ml-problem.html">My Solution to the Quora ML Problem (Predicting whether a question gets an upvoted answer)</a></h3>
- </div>
- <div id="article_text">
- <p>The <a href="https://www.hackerrank.com/contests/quora/challenges">Quora ML CodeSprint 2013</a> just finished on hackerrank.com. My entry for the first task - <a href="https://www.hackerrank.com/contests/quora/challenges/quora-ml-answered/leaderboard">Quora ML Problem: Answered</a>, was ranked 7th/71 on the dashboard.</p>
-<p>The objective of the task is to predict whether a question gets an upvoted answer within 1 day, given Quora question text and ...</p>
- </div>
-</article>
-<hr />
-<article>
- <div id="article_title">
<h3><a href="http://blog.hanxiaogang.com/shouldinvent.html">shouldinvent</a></h3>
</div>
<div id="article_text">
@@ -165,30 +175,9 @@
mentioned by all people. Here is the ...</p>
</div>
</article>
-<hr />
-<article>
- <div id="article_title">
- <h3><a href="http://blog.hanxiaogang.com/tweet-length-distribution.html">tweet length distribution</a></h3>
- </div>
- <div id="article_text">
- <h3>My version</h3>
-<p>( 52,261,787.tweets from 20388 random users)</p>
-<p><img alt="image" src="http://hanxiaogang.com/site_media/static/images/posts/dist.png" /></p>
-<h3>Isaac Hepworth's.version</h3>
-<p>(1 million tweets, retweets included)
-<a href="https://twitter.com/#!/isaach/status/155437871149481984">link</a></p>
-<p><img alt="image" src="http://hanxiaogang.com/site_media/static/images/posts/isaac.png" /></p>
-<h3>Will Fitzgerald.'s version</h3>
-<p>(50k tweets)
-<a href="http://willwhim.wordpress.com/2012/01/07/distribution-of-tweet-lengths/">link</a></p>
-<p><img alt="image" src="http://hanxiaogang.com/site_media/static/images/posts/will.png" />
-Seems like the distribution in my statistics result is just between the
-other two curves. Is there really spikes in between 20-40 and ...</p>
- </div>
-</article>
<footer>
- <p id="paginator">
+<p id="paginator">
<a href="http://blog.hanxiaogang.com/author/han-xiaogang2.html" class="button_accent">&larr; Older Posts</a>
</p>
@@ -198,5 +187,5 @@
<p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
</div>
</main>
- </body>
+</body>
</html>
View
59 author/han-xiaogang2.html
@@ -14,40 +14,61 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
-
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+
<title>
- Author: Han Xiaogang </title>
+Author: Han Xiaogang </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
- </a>
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
<h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
<p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
<ul>
- <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
- <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
- <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
- <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
- <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
</div>
</aside>
<main>
<header>
- <p>Author: Han Xiaogang</p>
+<p>Author: Han Xiaogang</p>
</header>
- <article>
+<article>
+ <div id="article_title">
+ <h3><a href="http://blog.hanxiaogang.com/tweet-length-distribution.html">tweet length distribution</a></h3>
+ </div>
+ <div id="article_text">
+ <h3>My version</h3>
+<p>( 52,261,787.tweets from 20388 random users)</p>
+<p><img alt="image" src="http://hanxiaogang.com/site_media/static/images/posts/dist.png" /></p>
+<h3>Isaac Hepworth's.version</h3>
+<p>(1 million tweets, retweets included)
+<a href="https://twitter.com/#!/isaach/status/155437871149481984">link</a></p>
+<p><img alt="image" src="http://hanxiaogang.com/site_media/static/images/posts/isaac.png" /></p>
+<h3>Will Fitzgerald.'s version</h3>
+<p>(50k tweets)
+<a href="http://willwhim.wordpress.com/2012/01/07/distribution-of-tweet-lengths/">link</a></p>
+<p><img alt="image" src="http://hanxiaogang.com/site_media/static/images/posts/will.png" />
+Seems like the distribution in my statistics result is just between the
+other two curves. Is there really spikes in between 20-40 and ...</p>
+ </div>
+</article>
+<hr />
+<article>
<div id="article_title">
<h3><a href="http://blog.hanxiaogang.com/using-google-books-api-to-improve-ntu-library-book-search.html">Using Google Books API to Improve NTU Library Book Search</a></h3>
</div>
@@ -68,7 +89,7 @@
</article>
<footer>
- <p id="paginator">
+<p id="paginator">
<a href="http://blog.hanxiaogang.com/author/han-xiaogang.html" class="button_accent">Newer Posts &rarr;</a>
</p>
@@ -78,5 +99,5 @@
<p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
</div>
</main>
- </body>
+</body>
</html>
View
63 authors.html
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <link rel="stylesheet/less" type="text/css" href="http://blog.hanxiaogang.com/theme/css/style.less">
+ <script src="http://blog.hanxiaogang.com/theme/js/less-1.3.3.min.js" type="text/javascript"></script>
+ <!-- <link rel="stylesheet" type="text/css" href="http://blog.hanxiaogang.com/theme/css/style.css"> -->
+
+ <link rel="stylesheet" type="text/css" href="http://blog.hanxiaogang.com/theme/css/pygments.css">
+ <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=PT+Sans|PT+Serif|PT+Mono">
+
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width; initial-scale=1.0">
+ <meta name="author" content="Han Xiaogang">
+ <meta name="description" content="Posts and writings by Han Xiaogang">
+
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+
+ <title>
+Han Xiaogang's Blog - Authors </title>
+
+</head>
+
+<body>
+ <aside>
+ <div id="user_meta">
+ <a href="http://blog.hanxiaogang.com">
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
+ <h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
+ <p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
+ <ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
+ </div>
+ </aside>
+
+ <main>
+ <header>
+ <p>
+ <a href="http://blog.hanxiaogang.com">Index</a> &#124; <a href="http://blog.hanxiaogang.com/archives.html">Archives</a>
+ &#124; <a href="http://blog.hanxiaogang.com/feeds/all.atom.xml">Atom Feed</a>
+ </p>
+ </header>
+
+ <h1>Authors on Han Xiaogang's Blog</h1> <li><a href="http://blog.hanxiaogang.com/author/han-xiaogang.html">Han Xiaogang</a> (12)</li>
+
+ <footer>
+ </footer>
+
+ <div id="ending_message">
+ <p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
+ </div>
+ </main>
+</body>
+</html>
View
54 bash-cheetsheet.html
@@ -14,57 +14,57 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
- <meta name="keywords" content="bash, cheetsheet">
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+<meta name="keywords" content="bash, cheetsheet">
<title>
- Printable Bash Shortcuts Cheat Sheet </title>
+Printable Bash Shortcuts Cheat Sheet </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
- </a>
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
<h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
<p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
<ul>
- <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
- <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
- <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
- <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
- <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
</div>
</aside>
<main>
<header>
- <p>Posted on Wed 11 September 2013</p>
+<p>Posted on Wed 11 September 2013</p>
</header>
- <article>
+<article>
<div id="article_title">
<h3><a href="http://blog.hanxiaogang.com/bash-cheetsheet.html">Printable Bash Shortcuts Cheat Sheet</a></h3>
</div>
<div id="article_text">
- <p><a href="http://www.skorks.com">Alan Skorkin</a> wrote a great <a href="http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/">post</a> on bash shortcuts. I made a printable version using Latex to keep it on my desk. You can <a href="http://blog.hanxiaogang.com/static/pdfs/bashsheet.pdf">download the PDF here</a>.</p>
+ <p><a href="http://www.skorks.com">Alan Skorkin</a> wrote a great <a href="http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/">post</a> on bash shortcuts. I made a printable version using Latex to keep it on my desk. You can <a href="http://blog.hanxiaogang.com/pdfs/bashsheet.pdf">download the PDF here</a>.</p>
<p>Preview:
-<img alt="bash shortcuts" src="http://blog.hanxiaogang.com/static/images/bashsheet.png" /></p>
+<img alt="bash shortcuts" src="http://blog.hanxiaogang.com/images/bashsheet.png" /></p>
</div>
<div id="article_meta">
<p>Category: <a href="http://blog.hanxiaogang.com/category/productivity.html">Productivity</a></p>
- <p>Tags:
- <a href="http://blog.hanxiaogang.com/tag/bash.html">bash</a>, <a href="http://blog.hanxiaogang.com/tag/cheetsheet.html">cheetsheet</a> </p>
- <p>Comments: <a href="#" onclick="javascript:toggleComments();return false;">toggle</a></p>
- </div>
+ <p>Tags:
+ <a href="http://blog.hanxiaogang.com/tag/bash.html">bash</a>, <a href="http://blog.hanxiaogang.com/tag/cheetsheet.html">cheetsheet</a> </p>
+ <p>Comments: <a href="#" onclick="javascript:toggleComments();return false;">toggle</a></p>
+ </div>
- <div id="article_comments" style="display:block">
+ <div id="article_comments" style="display:block">
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_identifier = "bash-cheetsheet.html";
@@ -75,11 +75,11 @@
})();
</script>
</div>
-
+
</article>
<footer>
- <p><a href="http://blog.hanxiaogang.com/" class="button_accent">&larr; Back to Index</a></p>
+<p><a href="http://blog.hanxiaogang.com/" class="button_accent">&larr; Back to Index</a></p>
<script language="javascript">
function toggleComments() {
var commentDiv = document.getElementById("article_comments");
@@ -93,5 +93,5 @@
<p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
</div>
</main>
- </body>
+</body>
</html>
View
53 categories.html
@@ -14,58 +14,59 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
-
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+
<title>
- Categories </title>
+Categories </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
- </a>
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
<h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
<p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
<ul>
- <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
- <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
- <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
- <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
- <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
</div>
</aside>
<main>
<header>
- <p>
+ <p>
<a href="http://blog.hanxiaogang.com">Index</a> &#124; <a href="http://blog.hanxiaogang.com/archives.html">Archives</a>
- &#124; <a href="http://blog.hanxiaogang.com/feeds/all.atom.xml">Atom Feed</a>
- </p>
- </header>
+ &#124; <a href="http://blog.hanxiaogang.com/feeds/all.atom.xml">Atom Feed</a>
+ </p>
+ </header>
- <article>
+<article>
<div id="article_text">
<ul>
- <li><a href="http://blog.hanxiaogang.com/category/.html"></a></li>
- <li><a href="http://blog.hanxiaogang.com/category/productivity.html">Productivity</a></li>
- <li><a href="http://blog.hanxiaogang.com/category/python.html">Python</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/category/.html"></a></li>
+ <li><a href="http://blog.hanxiaogang.com/category/productivity.html">Productivity</a></li>
+ <li><a href="http://blog.hanxiaogang.com/category/python.html">Python</a></li>
+ <li><a href="http://blog.hanxiaogang.com/category/writing.html">Writing</a></li>
+ </ul>
</div>
</article>
<footer>
- </footer>
+ </footer>
<div id="ending_message">
<p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
</div>
</main>
- </body>
+</body>
</html>
View
38 category/.html → category/.html.html
@@ -14,43 +14,43 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
- <link href="http://blog.hanxiaogang.com/feeds/.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Category Atom Feed" />
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+<link href="http://blog.hanxiaogang.com/feeds/.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Category Atom Feed" />
<title>
- Category: </title>
+Category: </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
- </a>
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
<h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
<p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
<ul>
- <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
- <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
- <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
- <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
- <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
</div>
</aside>
<main>
<header>
- <p>Category:
+<p>Category:
&#124; <a href="http://blog.hanxiaogang.com/feeds/.atom.xml">Atom Feed</a>
</p>
</header>
- <article>
+<article>
<div id="article_title">
<h3><a href="http://blog.hanxiaogang.com/a-twitter-bot-for-programmingreddit.html">A Twitter Bot for programming.reddit</a></h3>
</div>
@@ -190,7 +190,7 @@
</article>
<footer>
- <p id="paginator">
+<p id="paginator">
</p>
</footer>
@@ -199,5 +199,5 @@
<p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
</div>
</main>
- </body>
+</body>
</html>
View
42 category/productivity.html
@@ -14,55 +14,55 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
- <link href="http://blog.hanxiaogang.com/feeds/Productivity.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Productivity Category Atom Feed" />
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+<link href="http://blog.hanxiaogang.com/feeds/Productivity.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Productivity Category Atom Feed" />
<title>
- Category: Productivity </title>
+Category: Productivity </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
- </a>
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
<h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
<p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
<ul>
- <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
- <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
- <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
- <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
- <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
</div>
</aside>
<main>
<header>
- <p>Category: Productivity
+<p>Category: Productivity
&#124; <a href="http://blog.hanxiaogang.com/feeds/Productivity.atom.xml">Atom Feed</a>
</p>
</header>
- <article>
+<article>
<div id="article_title">
<h3><a href="http://blog.hanxiaogang.com/bash-cheetsheet.html">Printable Bash Shortcuts Cheat Sheet</a></h3>
</div>
<div id="article_text">
- <p><a href="http://www.skorks.com">Alan Skorkin</a> wrote a great <a href="http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/">post</a> on bash shortcuts. I made a printable version using Latex to keep it on my desk. You can <a href="http://blog.hanxiaogang.com/static/pdfs/bashsheet.pdf">download the PDF here</a>.</p>
+ <p><a href="http://www.skorks.com">Alan Skorkin</a> wrote a great <a href="http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/">post</a> on bash shortcuts. I made a printable version using Latex to keep it on my desk. You can <a href="http://blog.hanxiaogang.com/pdfs/bashsheet.pdf">download the PDF here</a>.</p>
<p>Preview:
-<img alt="bash shortcuts" src="http://blog.hanxiaogang.com/static/images/bashsheet.png" /></p>
+<img alt="bash shortcuts" src="http://blog.hanxiaogang.com/images/bashsheet.png" /></p>
</div>
</article>
<footer>
- <p id="paginator">
+<p id="paginator">
</p>
</footer>
@@ -71,5 +71,5 @@
<p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
</div>
</main>
- </body>
+</body>
</html>
View
38 category/python.html
@@ -14,43 +14,43 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
- <link href="http://blog.hanxiaogang.com/feeds/Python.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Python Category Atom Feed" />
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+<link href="http://blog.hanxiaogang.com/feeds/Python.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Python Category Atom Feed" />
<title>
- Category: Python </title>
+Category: Python </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
- </a>
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
<h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
<p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
<ul>
- <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
- <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
- <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
- <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
- <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
</div>
</aside>
<main>
<header>
- <p>Category: Python
+<p>Category: Python
&#124; <a href="http://blog.hanxiaogang.com/feeds/Python.atom.xml">Atom Feed</a>
</p>
</header>
- <article>
+<article>
<div id="article_title">
<h3><a href="http://blog.hanxiaogang.com/quora-ml-problem.html">My Solution to the Quora ML Problem (Predicting whether a question gets an upvoted answer)</a></h3>
</div>
@@ -61,7 +61,7 @@
</article>
<footer>
- <p id="paginator">
+<p id="paginator">
</p>
</footer>
@@ -70,5 +70,5 @@
<p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
</div>
</main>
- </body>
+</body>
</html>
View
74 category/writing.html
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <link rel="stylesheet/less" type="text/css" href="http://blog.hanxiaogang.com/theme/css/style.less">
+ <script src="http://blog.hanxiaogang.com/theme/js/less-1.3.3.min.js" type="text/javascript"></script>
+ <!-- <link rel="stylesheet" type="text/css" href="http://blog.hanxiaogang.com/theme/css/style.css"> -->
+
+ <link rel="stylesheet" type="text/css" href="http://blog.hanxiaogang.com/theme/css/pygments.css">
+ <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=PT+Sans|PT+Serif|PT+Mono">
+
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width; initial-scale=1.0">
+ <meta name="author" content="Han Xiaogang">
+ <meta name="description" content="Posts and writings by Han Xiaogang">
+
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+<link href="http://blog.hanxiaogang.com/feeds/Writing.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Writing Category Atom Feed" />
+
+ <title>
+Category: Writing </title>
+
+</head>
+
+<body>
+ <aside>
+ <div id="user_meta">
+ <a href="http://blog.hanxiaogang.com">
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
+ <h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
+ <p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
+ <ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
+ </div>
+ </aside>
+
+ <main>
+ <header>
+<p>Category: Writing
+&#124; <a href="http://blog.hanxiaogang.com/feeds/Writing.atom.xml">Atom Feed</a>
+</p>
+ </header>
+
+<article>
+ <div id="article_title">
+ <h3><a href="http://blog.hanxiaogang.com/style-check.html">style-check.py</a></h3>
+ </div>
+ <div id="article_text">
+ <p>Writing readable scientific papers is hard, especially for beginners. Although books (<a href="http://www.amazon.com/The-Elements-Style-Fourth-Edition/dp/020530902X">e.g., The Elements of Style</a>) and guides are written to promote the best practices, it is still desired that such guides can be automatically applied to our writing in the form of concrete suggestions. </p>
+<p><a href="http://www.cs.umd.edu/~nspring/software/style-check-readme.html">style-check.rb</a> is such ...</p>
+ </div>
+</article>
+
+ <footer>
+<p id="paginator">
+
+</p>
+ </footer>
+
+ <div id="ending_message">
+ <p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
+ </div>
+ </main>
+</body>
+</html>
View
50 clustered-hacker-news.html
@@ -14,41 +14,41 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
- <meta name="keywords" content="[]">
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+<meta name="keywords" content="[]">
<title>
- Clustered Hacker News </title>
+Clustered Hacker News </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
- </a>
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
<h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
<p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
<ul>
- <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
- <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
- <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
- <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
- <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
</div>
</aside>
<main>
<header>
- <p>Posted on Sat 22 September 2012</p>
+<p>Posted on Sat 22 September 2012</p>
</header>
- <article>
+<article>
<div id="article_title">
<h3><a href="http://blog.hanxiaogang.com/clustered-hacker-news.html">Clustered Hacker News</a></h3>
</div>
@@ -94,12 +94,12 @@
</div>
<div id="article_meta">
<p>Category: <a href="http://blog.hanxiaogang.com/category/.html"></a></p>
- <p>Tags:
- <a href="http://blog.hanxiaogang.com/tag/.html">[]</a> </p>
- <p>Comments: <a href="#" onclick="javascript:toggleComments();return false;">toggle</a></p>
- </div>
+ <p>Tags:
+ <a href="http://blog.hanxiaogang.com/tag/.html">[]</a> </p>
+ <p>Comments: <a href="#" onclick="javascript:toggleComments();return false;">toggle</a></p>
+ </div>
- <div id="article_comments" style="display:block">
+ <div id="article_comments" style="display:block">
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_identifier = "clustered-hacker-news.html";
@@ -110,11 +110,11 @@
})();
</script>
</div>
-
+
</article>
<footer>
- <p><a href="http://blog.hanxiaogang.com/" class="button_accent">&larr; Back to Index</a></p>
+<p><a href="http://blog.hanxiaogang.com/" class="button_accent">&larr; Back to Index</a></p>
<script language="javascript">
function toggleComments() {
var commentDiv = document.getElementById("article_comments");
@@ -128,5 +128,5 @@
<p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
</div>
</main>
- </body>
+</body>
</html>
View
50 contextual-subtitle-for-language-learning.html
@@ -14,41 +14,41 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
- <meta name="keywords" content="[]">
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+<meta name="keywords" content="[]">
<title>
- Contextual Subtitle for Language Learning </title>
+Contextual Subtitle for Language Learning </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
- </a>
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
<h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
<p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
<ul>
- <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
- <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
- <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
- <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
- <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
</div>
</aside>
<main>
<header>
- <p>Posted on Sat 22 September 2012</p>
+<p>Posted on Sat 22 September 2012</p>
</header>
- <article>
+<article>
<div id="article_title">
<h3><a href="http://blog.hanxiaogang.com/contextual-subtitle-for-language-learning.html">Contextual Subtitle for Language Learning</a></h3>
</div>
@@ -103,12 +103,12 @@
</div>
<div id="article_meta">
<p>Category: <a href="http://blog.hanxiaogang.com/category/.html"></a></p>
- <p>Tags:
- <a href="http://blog.hanxiaogang.com/tag/.html">[]</a> </p>
- <p>Comments: <a href="#" onclick="javascript:toggleComments();return false;">toggle</a></p>
- </div>
+ <p>Tags:
+ <a href="http://blog.hanxiaogang.com/tag/.html">[]</a> </p>
+ <p>Comments: <a href="#" onclick="javascript:toggleComments();return false;">toggle</a></p>
+ </div>
- <div id="article_comments" style="display:block">
+ <div id="article_comments" style="display:block">
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_identifier = "contextual-subtitle-for-language-learning.html";
@@ -119,11 +119,11 @@
})();
</script>
</div>
-
+
</article>
<footer>
- <p><a href="http://blog.hanxiaogang.com/" class="button_accent">&larr; Back to Index</a></p>
+<p><a href="http://blog.hanxiaogang.com/" class="button_accent">&larr; Back to Index</a></p>
<script language="javascript">
function toggleComments() {
var commentDiv = document.getElementById("article_comments");
@@ -137,5 +137,5 @@
<p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
</div>
</main>
- </body>
+</body>
</html>
View
6 feeds/all.atom.xml
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
-<feed xmlns="http://www.w3.org/2005/Atom"><title>Han Xiaogang's Blog</title><link href="http://blog.hanxiaogang.com/" rel="alternate"></link><link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" rel="self"></link><id>http://blog.hanxiaogang.com/</id><updated>2013-09-11T17:16:00+08:00</updated><entry><title>Printable Bash Shortcuts Cheat Sheet</title><link href="http://blog.hanxiaogang.com/bash-cheetsheet.html" rel="alternate"></link><updated>2013-09-11T17:16:00+08:00</updated><author><name>Han Xiaogang</name></author><id>tag:blog.hanxiaogang.com,2013-09-11:bash-cheetsheet.html</id><summary type="html">&lt;p&gt;&lt;a href="http://www.skorks.com"&gt;Alan Skorkin&lt;/a&gt; wrote a great &lt;a href="http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/"&gt;post&lt;/a&gt; on bash shortcuts. I made a printable version using Latex to keep it on my desk. You can &lt;a href="http://blog.hanxiaogang.com/static/pdfs/bashsheet.pdf"&gt;download the PDF here&lt;/a&gt;.&lt;/p&gt;
+<feed xmlns="http://www.w3.org/2005/Atom"><title>Han Xiaogang's Blog</title><link href="http://blog.hanxiaogang.com/" rel="alternate"></link><link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" rel="self"></link><id>http://blog.hanxiaogang.com/</id><updated>2014-01-25T17:16:00+08:00</updated><entry><title>style-check.py</title><link href="http://blog.hanxiaogang.com/style-check.html" rel="alternate"></link><updated>2014-01-25T17:16:00+08:00</updated><author><name>Han Xiaogang</name></author><id>tag:blog.hanxiaogang.com,2014-01-25:style-check.html</id><summary type="html">&lt;p&gt;Writing readable scientific papers is hard, especially for beginners. Although books (&lt;a href="http://www.amazon.com/The-Elements-Style-Fourth-Edition/dp/020530902X"&gt;e.g., The Elements of Style&lt;/a&gt;) and guides are written to promote the best practices, it is still desired that such guides can be automatically applied to our writing in the form of concrete suggestions. &lt;/p&gt;
+&lt;p&gt;&lt;a href="http://www.cs.umd.edu/~nspring/software/style-check-readme.html"&gt;style-check.rb&lt;/a&gt; is such a commandline tool to check the grammar and style problems in Latex files. It comes with a predefined set of rules and uses regular expression to find the problems with your writing. It is so useful for me that I am wondering if it can be integrated into my favorate text editor - Sublime Text.&lt;/p&gt;
+&lt;p&gt;I rewrote style-check.rb with python and created a Sublime Text package &lt;a href="https://github.com/chrishan/style-check"&gt;style-check&lt;/a&gt;. Hope you find it useful.&lt;/p&gt;</summary><category term="style-check"></category><category term="python"></category><category term="sublime text"></category></entry><entry><title>Printable Bash Shortcuts Cheat Sheet</title><link href="http://blog.hanxiaogang.com/bash-cheetsheet.html" rel="alternate"></link><updated>2013-09-11T17:16:00+08:00</updated><author><name>Han Xiaogang</name></author><id>tag:blog.hanxiaogang.com,2013-09-11:bash-cheetsheet.html</id><summary type="html">&lt;p&gt;&lt;a href="http://www.skorks.com"&gt;Alan Skorkin&lt;/a&gt; wrote a great &lt;a href="http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/"&gt;post&lt;/a&gt; on bash shortcuts. I made a printable version using Latex to keep it on my desk. You can &lt;a href="http://blog.hanxiaogang.com/pdfs/bashsheet.pdf"&gt;download the PDF here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Preview:
-&lt;img alt="bash shortcuts" src="http://blog.hanxiaogang.com/static/images/bashsheet.png" /&gt;&lt;/p&gt;</summary><category term="bash"></category><category term="cheetsheet"></category></entry><entry><title>My Solution to the Quora ML Problem (Predicting whether a question gets an upvoted answer)</title><link href="http://blog.hanxiaogang.com/quora-ml-problem.html" rel="alternate"></link><updated>2013-08-15T22:16:00+08:00</updated><author><name>Han Xiaogang</name></author><id>tag:blog.hanxiaogang.com,2013-08-15:quora-ml-problem.html</id><summary type="html">&lt;p&gt;The &lt;a href="https://www.hackerrank.com/contests/quora/challenges"&gt;Quora ML CodeSprint 2013&lt;/a&gt; just finished on hackerrank.com. My entry for the first task - &lt;a href="https://www.hackerrank.com/contests/quora/challenges/quora-ml-answered/leaderboard"&gt;Quora ML Problem: Answered&lt;/a&gt;, was ranked 7th/71 on the dashboard.&lt;/p&gt;
+&lt;img alt="bash shortcuts" src="http://blog.hanxiaogang.com/images/bashsheet.png" /&gt;&lt;/p&gt;</summary><category term="bash"></category><category term="cheetsheet"></category></entry><entry><title>My Solution to the Quora ML Problem (Predicting whether a question gets an upvoted answer)</title><link href="http://blog.hanxiaogang.com/quora-ml-problem.html" rel="alternate"></link><updated>2013-08-15T22:16:00+08:00</updated><author><name>Han Xiaogang</name></author><id>tag:blog.hanxiaogang.com,2013-08-15:quora-ml-problem.html</id><summary type="html">&lt;p&gt;The &lt;a href="https://www.hackerrank.com/contests/quora/challenges"&gt;Quora ML CodeSprint 2013&lt;/a&gt; just finished on hackerrank.com. My entry for the first task - &lt;a href="https://www.hackerrank.com/contests/quora/challenges/quora-ml-answered/leaderboard"&gt;Quora ML Problem: Answered&lt;/a&gt;, was ranked 7th/71 on the dashboard.&lt;/p&gt;
&lt;p&gt;The objective of the task is to predict whether a question gets an upvoted answer within 1 day, given Quora question text and topic data.&lt;/p&gt;
&lt;p&gt;I built two classfiers - one based on text features and one based on categorical features, and then built a linear combinator based on the prob output from these two classifiers. The code:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;json&lt;/span&gt;
View
4 feeds/productivity.atom.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
-<feed xmlns="http://www.w3.org/2005/Atom"><title>Han Xiaogang's Blog</title><link href="http://blog.hanxiaogang.com/" rel="alternate"></link><link href="http://blog.hanxiaogang.com/feeds/productivity.atom.xml" rel="self"></link><id>http://blog.hanxiaogang.com/</id><updated>2013-09-11T17:16:00+08:00</updated><entry><title>Printable Bash Shortcuts Cheat Sheet</title><link href="http://blog.hanxiaogang.com/bash-cheetsheet.html" rel="alternate"></link><updated>2013-09-11T17:16:00+08:00</updated><author><name>Han Xiaogang</name></author><id>tag:blog.hanxiaogang.com,2013-09-11:bash-cheetsheet.html</id><summary type="html">&lt;p&gt;&lt;a href="http://www.skorks.com"&gt;Alan Skorkin&lt;/a&gt; wrote a great &lt;a href="http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/"&gt;post&lt;/a&gt; on bash shortcuts. I made a printable version using Latex to keep it on my desk. You can &lt;a href="http://blog.hanxiaogang.com/static/pdfs/bashsheet.pdf"&gt;download the PDF here&lt;/a&gt;.&lt;/p&gt;
+<feed xmlns="http://www.w3.org/2005/Atom"><title>Han Xiaogang's Blog</title><link href="http://blog.hanxiaogang.com/" rel="alternate"></link><link href="http://blog.hanxiaogang.com/feeds/productivity.atom.xml" rel="self"></link><id>http://blog.hanxiaogang.com/</id><updated>2013-09-11T17:16:00+08:00</updated><entry><title>Printable Bash Shortcuts Cheat Sheet</title><link href="http://blog.hanxiaogang.com/bash-cheetsheet.html" rel="alternate"></link><updated>2013-09-11T17:16:00+08:00</updated><author><name>Han Xiaogang</name></author><id>tag:blog.hanxiaogang.com,2013-09-11:bash-cheetsheet.html</id><summary type="html">&lt;p&gt;&lt;a href="http://www.skorks.com"&gt;Alan Skorkin&lt;/a&gt; wrote a great &lt;a href="http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/"&gt;post&lt;/a&gt; on bash shortcuts. I made a printable version using Latex to keep it on my desk. You can &lt;a href="http://blog.hanxiaogang.com/pdfs/bashsheet.pdf"&gt;download the PDF here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Preview:
-&lt;img alt="bash shortcuts" src="http://blog.hanxiaogang.com/static/images/bashsheet.png" /&gt;&lt;/p&gt;</summary><category term="bash"></category><category term="cheetsheet"></category></entry></feed>
+&lt;img alt="bash shortcuts" src="http://blog.hanxiaogang.com/images/bashsheet.png" /&gt;&lt;/p&gt;</summary><category term="bash"></category><category term="cheetsheet"></category></entry></feed>
View
4 feeds/writing.atom.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom"><title>Han Xiaogang's Blog</title><link href="http://blog.hanxiaogang.com/" rel="alternate"></link><link href="http://blog.hanxiaogang.com/feeds/writing.atom.xml" rel="self"></link><id>http://blog.hanxiaogang.com/</id><updated>2014-01-25T17:16:00+08:00</updated><entry><title>style-check.py</title><link href="http://blog.hanxiaogang.com/style-check.html" rel="alternate"></link><updated>2014-01-25T17:16:00+08:00</updated><author><name>Han Xiaogang</name></author><id>tag:blog.hanxiaogang.com,2014-01-25:style-check.html</id><summary type="html">&lt;p&gt;Writing readable scientific papers is hard, especially for beginners. Although books (&lt;a href="http://www.amazon.com/The-Elements-Style-Fourth-Edition/dp/020530902X"&gt;e.g., The Elements of Style&lt;/a&gt;) and guides are written to promote the best practices, it is still desired that such guides can be automatically applied to our writing in the form of concrete suggestions. &lt;/p&gt;
+&lt;p&gt;&lt;a href="http://www.cs.umd.edu/~nspring/software/style-check-readme.html"&gt;style-check.rb&lt;/a&gt; is such a commandline tool to check the grammar and style problems in Latex files. It comes with a predefined set of rules and uses regular expression to find the problems with your writing. It is so useful for me that I am wondering if it can be integrated into my favorate text editor - Sublime Text.&lt;/p&gt;
+&lt;p&gt;I rewrote style-check.rb with python and created a Sublime Text package &lt;a href="https://github.com/chrishan/style-check"&gt;style-check&lt;/a&gt;. Hope you find it useful.&lt;/p&gt;</summary><category term="style-check"></category><category term="python"></category><category term="sublime text"></category></entry></feed>
View
0  static/images/bashsheet.png → images/bashsheet.png
File renamed without changes
View
79 index.html
@@ -14,50 +14,60 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
-
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+
<title>
- Han Xiaogang's Blog </title>
+Han Xiaogang's Blog </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
- </a>
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
<h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
<p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
<ul>
- <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
- <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
- <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
- <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
- <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
</div>
</aside>
<main>
<header>
- <p>
+ <p>
<a href="http://blog.hanxiaogang.com">Index</a> &#124; <a href="http://blog.hanxiaogang.com/archives.html">Archives</a>
- &#124; <a href="http://blog.hanxiaogang.com/feeds/all.atom.xml">Atom Feed</a>
- </p>
- </header>
+ &#124; <a href="http://blog.hanxiaogang.com/feeds/all.atom.xml">Atom Feed</a>
+ </p>
+ </header>
- <article>
+<article>
+ <div id="article_title">
+ <h3><a href="http://blog.hanxiaogang.com/style-check.html">style-check.py</a></h3>
+ </div>
+ <div id="article_text">
+ <p>Writing readable scientific papers is hard, especially for beginners. Although books (<a href="http://www.amazon.com/The-Elements-Style-Fourth-Edition/dp/020530902X">e.g., The Elements of Style</a>) and guides are written to promote the best practices, it is still desired that such guides can be automatically applied to our writing in the form of concrete suggestions. </p>
+<p><a href="http://www.cs.umd.edu/~nspring/software/style-check-readme.html">style-check.rb</a> is such ...</p>
+ </div>
+</article>
+<hr />
+<article>
<div id="article_title">
<h3><a href="http://blog.hanxiaogang.com/bash-cheetsheet.html">Printable Bash Shortcuts Cheat Sheet</a></h3>
</div>
<div id="article_text">
- <p><a href="http://www.skorks.com">Alan Skorkin</a> wrote a great <a href="http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/">post</a> on bash shortcuts. I made a printable version using Latex to keep it on my desk. You can <a href="http://blog.hanxiaogang.com/static/pdfs/bashsheet.pdf">download the PDF here</a>.</p>
+ <p><a href="http://www.skorks.com">Alan Skorkin</a> wrote a great <a href="http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/">post</a> on bash shortcuts. I made a printable version using Latex to keep it on my desk. You can <a href="http://blog.hanxiaogang.com/pdfs/bashsheet.pdf">download the PDF here</a>.</p>
<p>Preview:
-<img alt="bash shortcuts" src="http://blog.hanxiaogang.com/static/images/bashsheet.png" /></p>
+<img alt="bash shortcuts" src="http://blog.hanxiaogang.com/images/bashsheet.png" /></p>
</div>
</article>
<hr />
@@ -168,30 +178,9 @@
mentioned by all people. Here is the ...</p>
</div>
</article>
-<hr />
-<article>
- <div id="article_title">
- <h3><a href="http://blog.hanxiaogang.com/tweet-length-distribution.html">tweet length distribution</a></h3>
- </div>
- <div id="article_text">
- <h3>My version</h3>
-<p>( 52,261,787.tweets from 20388 random users)</p>
-<p><img alt="image" src="http://hanxiaogang.com/site_media/static/images/posts/dist.png" /></p>
-<h3>Isaac Hepworth's.version</h3>
-<p>(1 million tweets, retweets included)
-<a href="https://twitter.com/#!/isaach/status/155437871149481984">link</a></p>
-<p><img alt="image" src="http://hanxiaogang.com/site_media/static/images/posts/isaac.png" /></p>
-<h3>Will Fitzgerald.'s version</h3>
-<p>(50k tweets)
-<a href="http://willwhim.wordpress.com/2012/01/07/distribution-of-tweet-lengths/">link</a></p>
-<p><img alt="image" src="http://hanxiaogang.com/site_media/static/images/posts/will.png" />
-Seems like the distribution in my statistics result is just between the
-other two curves. Is there really spikes in between 20-40 and ...</p>
- </div>
-</article>
<footer>
- <p id="paginator">
+<p id="paginator">
<a href="http://blog.hanxiaogang.com/index2.html" class="button_accent">&larr; Older Posts</a>
</p>
@@ -201,5 +190,5 @@
<p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
</div>
</main>
- </body>
+</body>
</html>
View
65 index2.html
@@ -14,43 +14,64 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
-
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+
<title>
- Han Xiaogang's Blog </title>
+Han Xiaogang's Blog </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
- </a>
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
<h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
<p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
<ul>
- <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
- <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
- <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
- <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
- <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
</div>
</aside>
<main>
<header>
- <p>
+ <p>
<a href="http://blog.hanxiaogang.com">Index</a> &#124; <a href="http://blog.hanxiaogang.com/archives.html">Archives</a>
- &#124; <a href="http://blog.hanxiaogang.com/feeds/all.atom.xml">Atom Feed</a>
- </p>
- </header>
+ &#124; <a href="http://blog.hanxiaogang.com/feeds/all.atom.xml">Atom Feed</a>
+ </p>
+ </header>
- <article>
+<article>
+ <div id="article_title">
+ <h3><a href="http://blog.hanxiaogang.com/tweet-length-distribution.html">tweet length distribution</a></h3>
+ </div>
+ <div id="article_text">
+ <h3>My version</h3>
+<p>( 52,261,787.tweets from 20388 random users)</p>
+<p><img alt="image" src="http://hanxiaogang.com/site_media/static/images/posts/dist.png" /></p>
+<h3>Isaac Hepworth's.version</h3>
+<p>(1 million tweets, retweets included)
+<a href="https://twitter.com/#!/isaach/status/155437871149481984">link</a></p>
+<p><img alt="image" src="http://hanxiaogang.com/site_media/static/images/posts/isaac.png" /></p>
+<h3>Will Fitzgerald.'s version</h3>
+<p>(50k tweets)
+<a href="http://willwhim.wordpress.com/2012/01/07/distribution-of-tweet-lengths/">link</a></p>
+<p><img alt="image" src="http://hanxiaogang.com/site_media/static/images/posts/will.png" />
+Seems like the distribution in my statistics result is just between the
+other two curves. Is there really spikes in between 20-40 and ...</p>
+ </div>
+</article>
+<hr />
+<article>
<div id="article_title">
<h3><a href="http://blog.hanxiaogang.com/using-google-books-api-to-improve-ntu-library-book-search.html">Using Google Books API to Improve NTU Library Book Search</a></h3>
</div>
@@ -71,7 +92,7 @@
</article>
<footer>
- <p id="paginator">
+<p id="paginator">
<a href="http://blog.hanxiaogang.com/index.html" class="button_accent">Newer Posts &rarr;</a>
</p>
@@ -81,5 +102,5 @@
<p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
</div>
</main>
- </body>
+</body>
</html>
View
38 pages/about.html
@@ -14,40 +14,40 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
-
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+
<title>
- About </title>
+About </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
- </a>
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
<h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
<p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
<ul>
- <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
- <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
- <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
- <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
- <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
</div>
</aside>
<main>
<header>
- <p>Updated on </p>
+<p>Updated on </p>
</header>
- <article>
+<article>
<div id="article_title">
<h3><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></h3>
</div>
@@ -59,12 +59,12 @@
</article>
<footer>
- <p><a href="http://blog.hanxiaogang.com/" class="button_accent">&larr; Back to Index</a></p>
+<p><a href="http://blog.hanxiaogang.com/" class="button_accent">&larr; Back to Index</a></p>
</footer>
<div id="ending_message">
<p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
</div>
</main>
- </body>
+</body>
</html>
View
38 pages/project.html
@@ -14,40 +14,40 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
-
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+
<title>
- Project </title>
+Project </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
- </a>
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
<h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
<p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
<ul>
- <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
- <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
- <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
- <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
- <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
</div>
</aside>
<main>
<header>
- <p>Updated on </p>
+<p>Updated on </p>
</header>
- <article>
+<article>
<div id="article_title">
<h3><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></h3>
</div>
@@ -86,12 +86,12 @@
</article>
<footer>
- <p><a href="http://blog.hanxiaogang.com/" class="button_accent">&larr; Back to Index</a></p>
+<p><a href="http://blog.hanxiaogang.com/" class="button_accent">&larr; Back to Index</a></p>
</footer>
<div id="ending_message">
<p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
</div>
</main>
- </body>
+</body>
</html>
View
38 pages/research.html
@@ -14,40 +14,40 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
-
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+
<title>
- Research </title>
+Research </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
- </a>
+ <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">
+ </a>
<h2><a href="http://blog.hanxiaogang.com">Han Xiaogang</a></h2>
<p>IR&DM researcher; Python programmer; Web developer; Growing toy ideas into next big things.</p>
<ul>
- <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
- <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
- <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
- <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
- <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
- <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
- </ul>
+ <li><a href="http://blog.hanxiaogang.com/pages/about.html">About</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/project.html">Project</a></li>
+ <li><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></li>
+ <li><a href="mailto:xganghanATgmailDOTcom" target="_blank">Email</a></li>
+ <li><a href="http://twitter.com/xiaoganghan" target="_blank">Twitter</a></li>
+ <li><a href="https://github.com/chrishan" target="_blank">GitHub</a></li>
+ <li><a href="http://sg.linkedin.com/in/xghan/" target="_blank">LinkedIn</a></li>
+ </ul>
</div>
</aside>
<main>
<header>
- <p>Updated on </p>
+<p>Updated on </p>
</header>
- <article>
+<article>
<div id="article_title">
<h3><a href="http://blog.hanxiaogang.com/pages/research.html">Research</a></h3>
</div>
@@ -91,12 +91,12 @@
</article>
<footer>
- <p><a href="http://blog.hanxiaogang.com/" class="button_accent">&larr; Back to Index</a></p>
+<p><a href="http://blog.hanxiaogang.com/" class="button_accent">&larr; Back to Index</a></p>
</footer>
<div id="ending_message">
<p>&copy Han Xiaogang. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Giulio Fidente on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">github</a>. .</p>
</div>
</main>
- </body>
+</body>
</html>
View
50 parsing-evernote-export-file-enex-using-python.html
@@ -14,41 +14,41 @@
<meta name="author" content="Han Xiaogang">
<meta name="description" content="Posts and writings by Han Xiaogang">
- <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
-
- <meta name="keywords" content="[]">
+ <link href="http://blog.hanxiaogang.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Han Xiaogang's Blog Full Atom Feed" />
+
+<meta name="keywords" content="[]">
<title>
- Parsing Evernote export file (.enex) using Python </title>
+Parsing Evernote export file (.enex) using Python </title>
- </head>
+</head>
<body>
<aside>
<div id="user_meta">
<a href="http://blog.hanxiaogang.com">
- <img src="https://si0.twimg.com/profile_images/1202954668/hxg_-_small.JPG" alt="logo">