I hereby claim:
- I am torniker on github.
- I am torniker (https://keybase.io/torniker) on keybase.
- I have a public key ASBiauVMD38_Dea9T0D8SrO4IwARoEa04KbUi37RGUvpzQo
To claim this, I am signing this object:
#!/bin/bash | |
export DATE=$(date +%Y-%m-%d-%H-%M) | |
export CURDIR=$(readlink -f /home/user/current) | |
cd /home/user/deploy/files && wget -O projectmaster.zip -q https://github.com/username/repository/archive/master.zip | |
# Second, unzip it, if the zip file exists | |
if [ -f /home/user/deploy/files/projectmaster.zip ]; then | |
unzip -q /home/user/deploy/files/projectmaster.zip |
I hereby claim:
To claim this, I am signing this object:
func Start(name string, handler http.Handler, port string) { | |
if port == "" { | |
panic("port not provided") | |
} | |
srv := http.Server{ | |
Addr: ":" + port, | |
Handler: handler, | |
} | |
log.Printf("Listening on :%s", port) | |
go func() { |