In-place swap
In-place swap

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

Testing dialog in shell scripts
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 exa...

Query Yahoo finance historical data via python requests
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...

Common sorting algorithms, understand and implemention in C
Common sorting algorithms, understand and implemention in C

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

First taste of Heroku, h5ai for file indexer
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+, ...