flinhong logo

a lifelong journal with

undertanding and presenting

Mon, Apr 24, 2017
Common sorting algorithms, understand and implemention in C

by Frank Lin

Common sorting algorithms, understand and implemention in C

Understand the common sorting algorithms, just because recent take CS50 course.

read more
Thu, Apr 20, 2017
First taste of Heroku, h5ai for file indexer

by Frank Lin

First taste of Heroku, h5ai for file indexer

I've known Heroku for a long time, but never have a try to build with it. This time, I found a beautiful file indexer h5ai that requires PHP 5.5+, and Heroku is a perfect platform to build and host it.

read more
Sat, Mar 25, 2017
Self-host comments in Jekyll, powered by Firebase real-time database

by Frank Lin

Self-host comments in Jekyll, powered by Firebase real-time database

It's convenient to set up a comment system in Jekyll site with external social comment systems like Disqus or Duoshuo (多说). However, as you all know, Disqus was blocked in China and Duoshuo is going to shutdown. It's the time to rethink about the comment system (although I didn't get too many comments →_→), simple and controllable. And it becomes true with Firebase database.

read more
Sat, Mar 18, 2017
Syntax highlight with Rouge in Jekyll

by Frank Lin

Syntax highlight with Rouge in Jekyll

By default, Jekyll 3 and above comes with Rouge, a pure Ruby syntax highlighter which supports 98 languages. Since Rouge themes are compatible with Pygments’s stylesheets, it’s nice for us to choose the favourable styles.

read more
Mon, Oct 03, 2016
Save script bookmarklets in Microsoft Edge

by Frank Lin

Save script bookmarklets in Microsoft Edge

Bookmarklets are shortcuts that actually run javascript snippets, usually to add a page to a service. But saving a bookmarklet was trickier than I thought in Edge.

read more
twitter github weibo
to top