I’ve been running my personal blog with DigitalOcean’s ubuntu droplet (cloud server) for many years. Recently I needed to setup another. Since my existing site didn’t take up even 1/3 of the resource provided by a 1GB ubuntu droplet, I figured it’s worth trying to run both sites within a single droplet, with the help of Docker.
Greece is a dream destination for many. The birthplace of an ancient civilization, the beautiful shoreline of Aegean Sea, and the delicious tastes of Mediterranean food draw thousands to the country. With so many choices, so little time, we found it hard to decide where exactly to go. Since we’ve been there, this won’t a problem for you any more. Here’s our one week in Greece, and our recommendations.
Needed to fill this form for travelling to Vietnam by air, I found a few PDF and DOC version online, but needed one that can be filled in nicely. Hence creating this fillable PDF format. It will save your time at Vietnam Airport to declare it before you get visa stamp.
Download it here: Fillable PDF Form NA1 Vietnamese Visa Application Form
After a day struggling to make space for
/tmp just for installing a new system image for Android Virtual Device, right before I gave up, this magical thought came to my mind: why not change
/tmp mount to somewhere more spacious:
Make `jekyll serve` a systemd Service
Recently I have just started to try out Jekyll, but I realized
jekyll serve does not come with any script to allow me to run it on system startup. Thus, a simple script is written to make it a
systemd script. This script runs
jekyll serve on startup.
It annoys me that Ubuntu always dims and goes to blank screen whenever I lock my screen. To prevent this, I have written a script and now share it with all my readers.
The creation of the world and the human beings by God is His first act of love: thus establishing a vital and indissoluble link between God and men, which He invites us to love Him and love one another. In the Bible, love is not just a sentiment or an emotion, but rather a benevolent attitude and a concrete engagement.
Ubuntu 16.04 Chinese font has seemed a bit odd to me since Day 1, but I probably have got used to it. I didn’t quite realize it until Graham Ou’s answer on Quora pointed it out, that I have been reading the Japanese version of the same characters. Here’s how you should change it.
Have you ever shot a set of burst images that you want to convert it to Boomerang style? Playing forward and backward indefinitely? All you need is one line command, so long as you have ImageMagick installed.
Today the site was down for a few hours after upgrading from Ubuntu 14.04.5 LTS to 16.04.1 LTS. Ajenti-v was not able to work immediately, due to PHP version upgraded from 5.6 to 7.0. Here is the solution.