Posts in 'Tech' – Page 2

Blogging On Pelican

I've come to really enjoy Pelican since moving my personal blog from wordpress to static site generator Pelican on a Github Page in 2014. It's not the easiest thing to set up in the beginning and it took me months in countless iterations to settle down a well-tuned configuration that met my needs. The end-game is very satisfying though.

How To Git Tag A Commit

Tagging helps to keep track of key versions of a codebase. During the last few frenzy days toward submission of a new app to iTunes Connect, I sometimes make 10~20 commits a day to clean up various small patches here and there. One month from now when memory becomes hazy, it's important to be able to identify exactly which version of the binary on the git server corresponds to the one that is currently available in App Store. I follow the below workflow to tag a particular commit.

My Git Work Flow

Here's the git flow I use while working on our latest iOS app Mirror Mirror

How to Serve Wordpress Site from Subdirectory

Wordpress by default is installed in the root directory var/www/ This causes a lot of inconvenience as often we need to install other files into separate subdirectories under root directory. A good installation practice should keep every project in its own subdirectory.

Set Up VPS on Linode - Part 3

Continuing from Part 1 and Part 2 about setting up VPS on Linode, here's the final episode on deployment from local repo to remote server with version control, and deploy on production instance.

Set Up VPS on Linode - Part 2

Continuing from Set Up VPS on Linode - Part 1, here's Part 2 on DNS (nameserver and IP address), Apache (folder structure, virtual hosts), and enabling HTTPS with SSL certificate from Let's Encrypt.

Set Up VPS on Linode - Part 1

Recently I had to set up virtual-private-server (VPS) for both my personal blog the Good, the Bad, and the Curious and Linkqlo's website. Here is my workflow to set up Ubuntu Linux, Apache server and the server environment on Linode, which is one of the more popular VPS service providers along with Digital Ocean. Linode's Getting Started Guide is a helpful reference for the basics.



How To Share Files and Photos Without Any Cloud Service


Change Syntax Highlights with Pygments CSS for Pelican Site

My workflow to change syntax highlight colors using Python-based pygments for my Pelican blog