View fortune-1000-github-repos.json
This file has been truncated, but you can view the full file.
{"name":"github","url":"https://github.com/walmartlabs","timestamp":"2018-03-23T21:58:13.542Z","data":{"description":"Example source code for the Lacinia tutorial","forked from":"","forks":"4","language":"Clojure","name":"clojure-game-geek","stars":"6","updated at":"2018-03-23T17:10:33Z","url":"https://github.com/walmartlabs/clojure-game-geek"}}
{"name":"github","url":"https://github.com/walmartlabs","timestamp":"2018-03-23T21:58:13.542Z","data":{"description":"GraphQL implementation in pure Clojure","forked from":"","forks":"59","language":"Clojure","name":"lacinia","stars":"841","updated at":"2018-03-23T00:48:51Z","url":"https://github.com/walmartlabs/lacinia"}}
{"name":"github","url":"https://github.com/walmartlabs","timestamp":"2018-03-23T21:58:13.542Z","data":{"description":"","forked from":"","forks":"","language":"Clojure","name":"schematic","stars":"2","updated at":"2018-03-22T21:29:36Z","url":"https://github.com/walmartlabs/schematic"}}
View gist:aa992e3a137a78333d67da98c644f696
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA PUBLIC TO XXX;
GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA PUBLIC TO XXX;
ALTER DEFAULT PRIVILEGES IN SCHEMA PUBLIC GRANT ALL PRIVILEGES ON TABLES TO XXX;
ALTER DEFAULT PRIVILEGES IN SCHEMA PUBLIC GRANT ALL PRIVILEGES ON SEQUENCES TO XXX;
\du
\dp
View main.go
package test
import (
"regexp"
guuid "github.com/google/uuid"
suuid "github.com/satori/go.uuid"
)
var re = regexp.MustCompile("^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[8|9|aA|bB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$")
View gist:d2a6e227a488e308831d126688d0659b
iptables -A OUTPUT -d 127.0.0.0/8 -j ACCEPT
iptables -A OUTPUT --dst redis -j ACCEPT
iptables -A OUTPUT --dst postgres -j ACCEPT
iptables -P OUTPUT DROP
iptables -L
View Dockerfile
FROM debian:stretch
RUN apt-get update && \
apt-get install -y \
git \
build-essential \
python3 \
python3-pip \
pkg-config \
libsystemd-dev \
View gist:06d40238ea65070d565c0eb054c32836
2017-11-22T16:57:07.259-0800 [DEBUGgoogle_bigquery_table.csp_reports: Importing from ID "reports"...
google_bigquery_table.csp_reports: Import complete!
] plugin.terraform-provider-google_v1.2.0_x4: 2017/11/22 16:57:07 [INFO] Instantiating Google Cloud Dataproc Client...
2017/11/22 16:57:07 [TRACE] root: eval: *terraform.EvalSequence
Imported google_bigquery_table (ID: reports)
google_bigquery_table.csp_reports: Refreshing state... (ID: reports)
2017-11-22T16:57:07.261-0800 [DEBUG] plugin.terraform-provider-google_v1.2.0_x4: 2017/11/22 16:57:07 [INFO] Reading BigQuery table: reports
2017-11-22T16:57:07.264-0800 [DEBUG] plugin.terraform-provider-google_v1.2.0_x4: panic: runtime error: index out of range
2017-11-22T16:57:07.264-0800 [DEBUG] plugin.terraform-provider-google_v1.2.0_x4:
2017-11-22T16:57:07.264-0800 [DEBUG] plugin.terraform-provider-google_v1.2.0_x4: goroutine 51 [running]:
View postico.md
cat client-key.pem <(echo) client-cert.pem <(echo) server-ca.pem > postico.pem
View readme.md
  1. Format SD card FAT32
  2. Download and copy files from https://www.raspberrypi.org/documentation/installation/noobs.md to SD card
  3. Plug Raspberry into TV with HDMI, and Ethernet cable to router, use Keyboard/Mouse to install.
  4. Run passwd to change the default password combination (pi:rasbperry)
  5. Finish configuration with sudo raspi-config:
    • Update
    • Hostname
    • Advanced Options > Overscan > Disable
    • Interfacing Options > SSH > Enable
  6. Connect to Wifi
View gist:760133261d7367e2be7d238f72550259
DOMAIN=example.com
openssl req -new -newkey rsa:2048 -nodes -keyout $DOMAIN.key -out $DOMAIN.csr
cat STAR_$DOMAIN.crt COMODORSADomainValidationSecureServerCA.crt  COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt > $DOMAIN.crt
openssl rsa -in $DOMAIN.key -text > $DOMAIN.pem

Ref: https://gist.github.com/bradmontgomery/6487319