- Do you have an Github account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "net/http" | |
| ) | |
| type Middleware func(http.Handler) http.Handler |
| package main | |
| import ( | |
| "errors" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "time" | |
| ) |
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "time" | |
| "golang.org/x/net/context" | |
| "github.com/husobee/backdrop" |
| package config | |
| import ( | |
| "crypto/rand" | |
| "crypto/rsa" | |
| "crypto/x509" | |
| "encoding/pem" | |
| "io/ioutil" | |
| "github.com/CodeCollaborate/Server/utils" |
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
| # Download the file manually from here https://launchpad.net/gcc-arm-embedded | |
| # Note: `curl` command doesn't work | |
| # I downloaded this one: "gcc-arm-none-eabi-4_7-2013q3-20130916-mac.tar.bz2" | |
| # double click it to unzip it | |
| # Make a place to install it to | |
| mkdir /usr/local/gcc_arm | |
| # Move the unzipped stuff there. |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |