- Open emacs, Use terminal with tmux for shell things, use emacs to file processing
- `C-x`, `SPC` Shortcuts
- `M-x`, `S-:` Commands
# 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 |
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" |
#!/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 |
### 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: |
#!/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 "$@" |
apiVersion: configuration.konghq.com/v1 | |
kind: KongIngress | |
metadata: | |
name: drone-drone | |
labels: | |
app: drone | |
component: server | |
release: drone | |
route: | |
preserve_host: true |
#!/usr/bin/env sh | |
KEY=$1 | |
VALUE=$2 | |
INIT=$3 | |
: "${KEYRING:=global}" | |
: "${LOCATION:=global}" | |
: "${SERVICE_ACCOUNT:?Variable not set or empty}" | |
gcloud () { |
{ | |
"name": "name", | |
"version": "1.0.0", | |
"main": "index.js", | |
"license": "MIT", | |
"scripts": { | |
"build": "babel src -d dist/ --ignore '**/*.test.js'", | |
"test": "ava", | |
"flow": "flow" | |
}, |
#### Issue description | |
#### Steps to reproduce the issue | |
1. | |
2. | |
3. |