Skip to content

Instantly share code, notes, and snippets.

View nicklaw5's full-sized avatar
🏠
Working from home

Nick Law nicklaw5

🏠
Working from home
View GitHub Profile
@nicklaw5
nicklaw5 / flag.go
Last active October 14, 2016 22:28
Go question
// file exists in go-ku/flag/flag.go
package flag
import "flag"
// Flagset inherits the default FlagSet
type Flagset struct {
*flag.FlagSet
}
@nicklaw5
nicklaw5 / laravel-nginx-server-block
Last active May 22, 2016 06:35
A default server block for configuring a host or domain in NGINX
server {
listen 80;
listen 443 ssl;
server_name api.exampel.com;
root "/home/vagrant/Code/stryve-api/public";
index index.html index.htm index.php;
charset utf-8;