Category | web

  1. Discourse Installation Notes

    Discourse is a new generation discussion forum. I found that Discourse is very suitable for personal note taking. One notable feature of Discourse is that the users can focus on conversations. Besides, it supports Markdown as the message markup language. This is the reason why I like it very much …

    More

  2. Waliki Installation

    Waliki is a simple wiki app for Django. We can write wiki contents with reStructuredText and the contents will be stored in a Git repository. In this post, I would like to introduce the instructions to install Waliki.

    Getting Started

    First, install the related Ubuntu packages:

    $ sudo apt-get install git …

    More

  3. Autossh and Ubuntu Upstart Daemon

    Since I am sharing the network without public IP, I would like to maintain a SSH tunnel so that I can connect to my desktop from the remote site. After searching the web, I found that Autossh fits my needs. Autossh is a utility that can start and monitor the …

    More

  4. Let's Encrypt

    According to the post by Andreas Gal, EFF, Mozilla, Cisco, Akamai, and IdenTrust are going to form Internet Security Research Group which will start the Let's Encrypt ceritificate authority service in 2015 Q2.

    Let's Encrypt is expected to become a free, automated, and open SSL sertificate authority which aims to …

    More

  5. GitHub Pages and HTTPS

    GitHub Pages supports HTTPS protocol. It will be good to prefer HTTPS to HTTP. However, I found that if the URLs are not written carefully, the user might be redirected to HTTP URLs.

    For unknown reason, GitHub Pages are redirecting the directories without trailing slash to the HTTP URLs. For …

    More

  6. Pelican and GitHub Pages

    Pelican has built-in support for GitHub Pages. However, I noticed that the ghp-import command might screw up the commit log if your GitHub Pages and your Pelican source code share the same branch name.

    According to the document of GitHub Pages, the user pages should be committed to master branch …

    More

  7. SSL Certificate

    I would like to run shellinabox and my private blog system through HTTPS protocol. However, an SSL certificate is really expensive, thus I decided to run our own certificate authority and distribute my cacert.pem through GitHub Pages.

    In general, running a certificate authority requires three steps:

    1. Create a RSA …

    More