I hereby claim:
- I am montanaflynn on github.
- I am anonfunction (https://keybase.io/anonfunction) on keybase.
- I have a public key ASDJ7jbNBlgbTot_HP-YBGppD9JHv0Mt0yV7jxoTTUE3Zwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"encoding/json" | |
"io/ioutil" | |
"os" | |
) | |
type User struct { | |
Username string `json:"username"` |
package main | |
import ( | |
"encoding/json" | |
"io/ioutil" | |
"os" | |
) | |
type User struct { | |
Username string `json:"username"` |
curl "https://api.github.com/users/montanaflynn/repos?page=1&per_page=100" | | |
grep -e 'git_url*' | | |
cut -d \" -f 4 | | |
xargs -L1 git clone |
LOAD CSV WITH HEADERS FROM "https://gist.githubusercontent.com/montanaflynn/3a0da14d17d8ec19b3363551118a96c6/raw/81518288f40d342499dc862ceb94b193c81c1f8c/addresses-sample.csv" AS csvLine | |
CREATE (a:Address { address: csvLine.address, amount: 0}); | |
LOAD CSV WITH HEADERS FROM "https://gist.githubusercontent.com/montanaflynn/3a0da14d17d8ec19b3363551118a96c6/raw/81518288f40d342499dc862ceb94b193c81c1f8c/transactions-sample.csv" AS csvLine | |
CREATE (t:Transaction { transaction: csvLine.transaction, from: csvLine.from, to: csvLine.to, amount: toInteger(csvLine.amount)}); | |
CREATE INDEX ON :Transaction(from); | |
CREATE INDEX ON :Transaction(to); | |
MATCH (a1:Address), (a2:Address), (t:Transaction) |
package main | |
import ( | |
"crypto/md5" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"os" | |
"path/filepath" |
var a = 100 | |
var b = 3 | |
function divideWithRemainder(a, b){ | |
return { | |
quotient: ~~(a / b), | |
remainder: a % b | |
}; | |
} |
FROM golang:1.10 as builder | |
WORKDIR /workplace/ | |
COPY src . | |
RUN go get gopkg.in/redis.v3 | |
RUN CGO_ENABLED=0 GOOS=linux go build -o ./server | |
FROM node:6-alpine as minifier | |
WORKDIR /workplace/ | |
COPY assets . | |
RUN npm install -g minifier |
package main | |
import ( | |
"flag" | |
"net/http" | |
"time" | |
"github.com/fogleman/gg" | |
"github.com/golang/freetype/truetype" | |
"golang.org/x/image/font/gofont/goregular" |
package main | |
import ( | |
"crypto/sha256" | |
"fmt" | |
"strings" | |
"time" | |
) | |
type block struct { |