This file contains 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 | |
# curl -s -L https://gist.githubusercontent.com/yurifrl/277f79904c78876c1786069cd67be7a6/raw/33b94b7099456560aeae46fcbaaef95abec88a2b/deploy-istio.sh | bash - | |
cd /root/ | |
/usr/bin/launch.sh>&2 | |
ISTIO_VERSION=1.0.0 | |
if [[ ! -d "/root/istio-$ISTIO_VERSION" ]]; then | |
echo "Downloading Istio... this may take a couple of moments">&2 | |
curl -s -L https://git.io/getLatestIstio | ISTIO_VERSION=1.0.0 sh - | |
echo "Download completed. Configuring Kubernetes.">&2 | |
else |
This file contains 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
# https://nix-dev.science.uu.narkive.com/gkWG24xs/error-cannot-auto-call-a-function-that-has-an-argument-without-a-default-value-stdenv | |
nix-build --no-out-link -E 'with import <nixpkgs> {}; callPackage ./default.nix {}' | |
# the --no-out-link will no create the @result link |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am yurifrl on github. | |
* I am yurifrl (https://keybase.io/yurifrl) on keybase. | |
* I have a public key ASAj1fSRWTEmpQnIkhQ718jSx-coloQ-OVDjVePSck4nIAo | |
To claim this, I am signing this object: |
This file contains 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
apiVersion: configuration.konghq.com/v1 | |
kind: KongIngress | |
metadata: | |
name: drone-drone | |
labels: | |
app: drone | |
component: server | |
release: drone | |
route: | |
preserve_host: true |
This file contains 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
#!/usr/bin/env sh | |
KEY=$1 | |
VALUE=$2 | |
INIT=$3 | |
: "${KEYRING:=global}" | |
: "${LOCATION:=global}" | |
: "${SERVICE_ACCOUNT:?Variable not set or empty}" | |
gcloud () { |
This file contains 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
#!/usr/bin/env sh | |
docker run --rm \ | |
-t $([[ -t 0 ]] && echo "-i") \ | |
-w /workspace \ | |
-v "$PWD:/workspace" \ | |
-v /usr/bin/docker:/usr/bin/docker \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-v kube-data:/root \ | |
gcr.io/cloud-builders/gcloud "$@" |
This file contains 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
{ | |
"name": "name", | |
"version": "1.0.0", | |
"main": "index.js", | |
"license": "MIT", | |
"scripts": { | |
"build": "babel src -d dist/ --ignore '**/*.test.js'", | |
"test": "ava", | |
"flow": "flow" | |
}, |
This file contains 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
#### Issue description | |
#### Steps to reproduce the issue | |
1. | |
2. | |
3. |
This file contains 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 | |
readonly PROGNAME=$(basename $0) | |
default_since="10s" | |
default_namespace="default" | |
default_line_buffered="" | |
default_colored_output="pod" | |
line_buffered="${default_line_buffered}" |
This file contains 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
import { concat, zipObj, keys, values, map, isEmpty, curry } from 'ramda' | |
const log = curry(console.log) | |
const snakeCaseObj = [{ | |
a_b: "asdasdasd", | |
c_a: "2018-02-20T18:43:17.104Z", | |
t_c: { | |
s_d: "2018-02-20", | |
e_d: "2018-02-20", | |
b_t: { | |
c_a: "2018-02-20T18:43:17.104Z" |
NewerOlder