- https://kodekloud.com/courses/kubernetes-certification-course/lectures/6743640
- https://killer.sh/faq
- https://github.com/dgkanatsios/CKAD-exercises/blob/master/b.multi_container_pods.md
- kubectl completion bash
kubectl auth can-i --list --as=system:serviceaccount:wcp-sampleapp-clsc:cf-wcp-sampleapp-clsc -n wcp-sampleapp-clsc |
package main | |
import ( | |
"regexp" | |
"fmt" | |
"strings" | |
) | |
func main() { | |
var re = regexp.MustCompile(`:\d`) |
from bitcoinlib.wallets import HDWallet | |
from bitcoinlib.wallets import HDWalletKey | |
from bitcoinlib.wallets import HDKey | |
from bitcoinlib.mnemonic import Mnemonic | |
# 11 word seed | |
seed = "please help hard puzzle will become crazy valid seed must sleep" | |
# here be gold | |
gold = "bc1qj7467e7r5pdfpypm03wyvguupdrld0ul2gcutg" |
" Yaml file handling | |
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab | |
filetype plugin indent on | |
autocmd FileType yaml setl indentkeys-=<:> | |
" Copy paste with ctr+c, ctr+v, etc | |
:behave mswin | |
:set clipboard=unnamedplus | |
:smap <Del> <C-g>"_d | |
:smap <C-c> <C-g>y |
{ | |
"name": "/projects/images/notes/rhel7_7.14", | |
"shortDescription": "Base image note for RHEL 7 7.14", | |
"longDescription": "", | |
"kind": "baseImage", | |
"relatedUrl": [ | |
{ | |
"url": "", | |
"label": "Artifactory URL", | |
} |
{ | |
"name": "projects/my-project/occurrences/randomID", | |
"noteName": "providers/verified-builder/notes/buildID", | |
"createTime": "2017-06-15T15:28:40.142107Z", | |
"updateTime": "2017-06-15T15:28:40.142107Z", | |
"kind": "BUILD", | |
"resourceUrl": { | |
"uri": "https://myregistry/image@sha256:hash", | |
}, | |
"build": { |
SELECT | |
o.data.noteName AS "note_name", | |
o.data AS "data", | |
o.data."resource".uri AS "image" | |
FROM OCCURRENCES o |
package main | |
import ( | |
"context" | |
"crypto/tls" | |
"crypto/x509" | |
"io/ioutil" | |
"log" | |
"fmt" |