Skip to content

Instantly share code, notes, and snippets.

Sean Feng sefeng211

Block or report user

Report or block sefeng211

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
from __future__ import print_function
import json
import os.path
import glob
import math
import statistics
from shutil import copyfile
from operator import itemgetter
sefeng211 /
Created Aug 3, 2019
This is the script that I used to setup a server block for Nginx. Please make sure you have change $DOMAIN to your site and double check the $ROOT_LOCATION
# This script used as the reference
DOMAIN="" # Change it to the domain you want to add
ROOT_LOCATION=/var/www # Make sure it is your root location
View gist:1c026df5d440bd56a7698f2e0d3d7de4
<!DOCTYPE html>
<meta charset="utf-8"/>
<iframe width="400" height="500" src=""></iframe>
View slow_response.html
<!DOCTYPE html>
<h1>My First Heading</h1>
<iframe width="400" height="500" src=""></iframe>
window.onload = function() {
let onloadStart =;
You can’t perform that action at this time.