This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"net/http" | |
"net/http/httputil" | |
"net/url" | |
"github.com/gin-gonic/gin" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"github.com/golang-commonmark/markdown" | |
"fmt" | |
"net/http" | |
"io/ioutil" | |
"log" | |
"flag" | |
"net/url" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Username and e-mail | |
[user] | |
name = "" | |
email = "" | |
[color] | |
ui = true | |
[core] | |
autocrlf = input | |
# Disable git indexing change on file mode | |
filemode = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# variables | |
dockerMachineVersion=0.5.0 | |
aptbin=apt-get | |
# install requirements | |
sudo $aptbin -y install apt-transport-https curl ca-certificates wget lsb-release | |
os_distrib=`lsb_release -s -i | tr '[:upper:]' '[:lower:]'` | |
os_codename=`lsb_release -s -c | tr '[:upper:]' '[:lower:]'` |