Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
import sys, os, re
from subprocess import check_output
from contextlib import closing
import urllib2
import json
commit_msg_filepath = sys.argv[1]
joke = ""
@loke-dev
loke-dev / default.conf
Created March 13, 2017 18:16
NGiNX Configuration for Vue-Router in HTML5 Mode
server {
listen 80;
root /your/root/path;
index index.html;
server_name you.server.com;
location / {