Skip to content

Instantly share code, notes, and snippets.

View fizzwu's full-sized avatar

Fizz fizzwu

  • NextStage
  • Suzhou, China
View GitHub Profile
@fizzwu
fizzwu / default.conf
Created August 5, 2016 08:12
NGiNX Configuration for Vue-Router in HTML5 Mode
server {
listen 80 default_server;
listen [::]:80 default_server;
root /your/root/path;
index index.html;
server_name you.server.com;
@fizzwu
fizzwu / 0_reuse_code.js
Last active August 29, 2015 14:27
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#!/bin/sh
# Linux 自动备份 MySQL与网站并发邮件到自已邮箱
# 定义临时目录
BACKUP_PATH=/tmp/autobackups
# 定义日期字符串
DATE_NAME=`date +%y%m%d`
# 创建临时目录
mkdir $BACKUP_PATH
# 打包文件