SPC hSPC ?: search keybindingSPC f e h: help about current layerSPC T h: themesSPC m g g: go to definitionSPC m t [p|P|s|t]: run testsSPC a k: launch paradox (package manager)SPC t -: lock the cursor at the center of the screenSPC SPC a: avy word searchSPC w =: balance split windows
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
| export NEO4J_HOME=${NEO4J_HOME-~/Downloads/neo4j-community-3.0.1} | |
| if [ ! -f data-csv.zip ]; then | |
| curl -OL https://cloudfront-files-1.publicintegrity.org/offshoreleaks/data-csv.zip | |
| fi | |
| export DATA=${PWD}/import | |
| rm -rf $DATA |
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 -x | |
| set -euo pipefail |
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 ( | |
| "flag" | |
| "fmt" | |
| "log" | |
| "k8s.io/client-go/kubernetes" | |
| "k8s.io/client-go/pkg/api/v1" | |
| "k8s.io/client-go/pkg/watch" |
Links were sourced from:
- http://kube.news/
- http://golangweekly.com/
- https://elixirweekly.net/
- & from twitter of course :)
And they are sorted by my own rating (~ fun at reading it & things I've learnt). Some of the links have auto explainable urls, to the ones that not I added the title to save you a click.
Go
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 ( | |
| "bytes" | |
| "fmt" | |
| "os" | |
| "github.com/fsouza/go-dockerclient" | |
| ) |
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 | |
| image=$(mktemp) | |
| gophers=$(http http://gopherize.me/gophers/recent/json|jq '.gophers') | |
| length=$(echo $gophers|jq '. | length') | |
| random=$(jot -r 1 1 $(($length-1))) | |
| url=$(echo $gophers|jq ".[$random].url"|tr -d \") | |
| http --output $image $url | |
| convert $image -background white -flatten gopher.jpeg |
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
| hash: 26d5b8a8318cdb9b411e542057344c2142c5bd93d2a9b8962fb49188a5db0b65 | |
| updated: 2017-10-01T19:57:23.106136898+02:00 | |
| imports: | |
| - name: github.com/gorilla/mux | |
| version: 24fca303ac6da784b9e8269f724ddeb0b2eea5e7 | |
| - name: github.com/stretchr/testify | |
| version: 69483b4bd14f5845b5a1e55bca19e954e827f1d0 | |
| testImports: [] |