I hereby claim:
- I am maxmcd on github.
- I am maxmcd (https://keybase.io/maxmcd) on keybase.
- I have a public key ASAaiTj7IljgqHFVFAAv8iKgaFZUkQ-A9vzCt_xxrkJnWgo
To claim this, I am signing this object:
# http://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html | |
# http://misc.flogisoft.com/bash/tip_colors_and_formatting | |
# http://stackoverflow.com/questions/17638311/terminal-input-does-not-start-new-line | |
POWDER_BLUE=$(tput setaf 153) | |
WEIRD_BLUE=$(tput setaf 30) | |
WHITE=$(tput setaf 7) | |
PS1="\[${WEIRD_BLUE}\]\\u:\\w $(__git_ps1 "\[${POWDER_BLUE}\](%s)\[${WEIRD_BLUE}\]")\$ \[${WHITE}\]" | |
# PS1="\r\n\e[1;32mdave:\w $\e[0;37m " | |
# PS1="\\u \\w\\$ " | |
# PS1="\[\e[2m\]\\u \\w $(__git_ps1 "\[${POWDER_BLUE}\](%s)\[\e[2m\]")\$ \[\e[22m\]" |
package main | |
import ( | |
"fmt" | |
"net/http" | |
"time" | |
) | |
func main() { | |
http.HandleFunc("/", |
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"text/template" | |
_ "github.com/gitbao/gitbao" |
# Bao admin app | |
# | |
PORT 8080 | |
package main | |
import ( | |
"fmt" | |
"net/http" | |
"time" | |
"github.com/maxmcd/baodata" | |
) |
package main | |
import ( | |
"github.com/gin-gonic/gin" | |
) | |
func main() { | |
r := gin.Default() | |
r.GET("/", func(c *gin.Context) { | |
c.String(200, "Welcome. This is a test.") | |
}) |
import boto3 | |
regions = [ | |
'us-east-2', | |
'us-east-1', | |
'us-west-1', | |
'us-west-2', | |
'ap-south-1', | |
'ap-northeast-2', | |
'ap-southeast-1', |
FROM python:2.7.14 | |
# cerbero needs python 2.7.* | |
RUN apt-get update && apt-get install -y \ | |
--no-install-recommends \ | |
git \ | |
software-properties-common \ | |
python-software-properties \ | |
yasm \ | |
python-setuptools \ |
static jmp_buf jmpEnv; | |
enum { | |
kPrepareBinaryAddress = 0x44dd, | |
kMutexBinaryAddress = 0x9090 | |
}; | |
void signal_handler(int n, siginfo_t *info, void *context) | |
{ | |
longjmp(jmpEnv, 1); |
I hereby claim:
To claim this, I am signing this object: