Skip to content

Instantly share code, notes, and snippets.

View JKobyP's full-sized avatar

Koby Picker JKobyP

View GitHub Profile
import (
"net/http"
"log"
)
func main() {
http.Handle("/", reactServer())
http.Handle("/dist/", assetHandler())
http.HandleFunc("/api/", apiHandler)
api.Init()

Keybase proof

I hereby claim:

  • I am jkobyp on github.
  • I am jkobyp (https://keybase.io/jkobyp) on keybase.
  • I have a public key ASApL-orcsIzFdemMaacAeVBfuClXsk6jRyfRDLXi_n2tQo

To claim this, I am signing this object:

@JKobyP
JKobyP / setup.sh
Created August 27, 2016 19:04
A rough startup script for The Jolly Advisor - tested on a fresh ubuntu install, theoretically good for any debian system.
#!/bin/bash
# Check arguments
if [ $# -eq 0 ]; then
echo Error: Please include your github username as an argument
exit
fi
# Check package manager
which apt-get 2> /dev/null