In-place swap is just a logic trick used to swap a content of two distinct variables without any temporary storage variable.
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.
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.
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.
Recently when installing some gems, they poped out errors that the Ruby version is lower than required... I have to upgrade the shipped Ruby and the easiest way is using Homebrew.
Just make the Markdown notebook on the cloud. Build for personal use.
Understand the common sorting algorithms, just because recent take CS50 course.
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.
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.