inDev. journal

lifelong journey with

understanding and presenting

Sat, Mar 24, 2018
Contact form for a static site without a backend

by Frank Lin

Contact form for a static site without a backend

For a static site like those on GitHub Pages, everything is done in the frontend. The user just downloads a bunch of static files that execute in their browser. But for a "Contact" form, to deal with the submissions we typically need a backend service, either self hosted or a third a third-party service.

continue reading
Sat, Jan 27, 2018
Get your anaconda ready after brew install

by Frank Lin

Get your anaconda ready after brew install

Just add the anaconda into PATH after installing it with Homebrew. If no .bash_profile, you can append the "/usr/local/anaconda3/bin" to the paths file as well.

continue reading
Thu, Dec 14, 2017
In-place swap, in C

by Frank Lin

In-place swap, in C

In-place swap is just a logic trick used to swap a content of two distinct variables without any temporary storage variable.

continue reading
Tue, Nov 28, 2017
Testing Dialog in shell scripts

by Frank Lin

Testing Dialog in shell scripts

Dialog is an utility for creating professional-looking dialog boxes within shell scripts, this article just follow the tutorial and present the examples of how and where it can be used.

continue reading
Mon, Nov 06, 2017
Bootstrap cards for showing colors

by Frank Lin

Bootstrap cards for showing colors

A few days ago, I built a website for showing traditional Chinese colors with bootstrap cards. Several issues I encountered during this process, just write them down for records.

continue reading
Mon, Oct 30, 2017
Query Yahoo finance historical data via python requests

by Frank Lin

Query Yahoo finance historical data via python requests

It is said Yahoo finance closed the historical data api on May 18th 2017, but we can still download the data from the webpage. Here showing the way to download data using python request.

continue reading
Thu, Oct 26, 2017
Upgrade Ruby to the lastest version on Mac OSX with Homebrew

by Frank Lin

Upgrade Ruby to the lastest version on Mac OSX with Homebrew

Recently when installing some gems, it popped out errors that telling the Ruby version is lower than required... I have to upgrade the shipped Ruby, version 2.0.0p648 (2015-12-16 revision 53162), on my machine. There are a few methods dealing with this, but I found the easiest way is using Homebrew.

continue reading
twitter github weibo linkedin
to top