- Open the run command dialog with "Windows Key+R"
- Paste the following string "rundll32.exe keymgr.dll,KRShowKeyMgr"
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
# show secrets | |
# from https://blog.zwindler.fr/2020/01/20/kubectl-tips-and-tricks-n2/ | |
kubectl get secret name-of-secret -o go-template=' | |
{{range $k,$v := .data}}{{printf "%s: " $k}}{{if not $v}}{{$v}}{{else}}{{$v | base64decode}}{{end}}{{"\n"}}{{end}}' |
Read: https://olm.operatorframework.io/docs/tasks/uninstall-operator/
To run before removing an operator, because operator's owned resources may not be removed to avoid data loss.
$ oc get csv cert-manager-operator.v0.15.3 \
-o=jsonpath='{"customresourcedefinitions: "}{.spec.customresourcedefinitions.owned[].name}{"\n"}{"apiservicedefinitions: "}{.spec.apiservicedefinitions.owned[].name}{"\n"}'
Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"
URLs that can be created is from:
https://github.com/*
https://*.github.com
https://*.github.com/*
https://*.github.io
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
curl https://raw.githubusercontent.com/powdahound/ec2instances.info/master/www/instances.json | jq -r ' .[] | [ .instance_type , .pricing."eu-west-1".linux.ondemand , .pricing."eu-west-1".linux.reserved."yrTerm1Convertible.noUpfront"] | @csv' > prices.csv | |
head prices.csv | |
"c5d.xlarge","0.218","0.173" | |
"m5a.2xlarge","0.384","0.311" | |
"c5.9xlarge","1.728","1.369" | |
"m5.24xlarge","5.136","4.147" | |
"i3en.12xlarge","6","4.721" | |
"m5d.12xlarge","3.024","2.445" | |
"c5.large","0.096","0.076" |
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
<!doctype html> | |
<html> | |
<head> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> | |
<script type="text/javascript"> | |
var spData = null; | |
function doData(json) { | |
spData = json.feed.entry; | |
} | |
I hereby claim:
- I am patlachance on github.
- I am lachance (https://keybase.io/lachance) on keybase.
- I have a public key ASDHkv3RdgZV1mhNtsVlnxoZ6ClNxUNSkA4il3oOKGihMAo
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
#!/bin/sh | |
export GIT_SSH_COMMAND='ssh -o ProxyCommand="connect -S 127.0.0.1:1080 %h %p"' | |
git config --global core.sshCommand 'ssh -o ProxyCommand="connect -S 127.0.0.1:1080 %h %p"' | |
git clone -c=core.sshCommand 'ssh -o ProxyCommand="connect -S 127.0.0.1:1080 %h %p"' git@github.com:larryli/ipv4.git | |
git config core.sshCommand 'ssh -o ProxyCommand="connect -S 127.0.0.1:1080 %h %p"' |
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
server { | |
listen 443 ssl http2; | |
listen [::]:443 ssl http2; | |
server_name yourdomain | |
ssl_certificate /etc/ssl/localcerts/yourdomain.crt; | |
ssl_certificate_key /etc/ssl/localcerts/yourdomain.key; | |
ssl_ecdh_curve prime256v1; | |
ssl_session_cache builtin:1000 shared:SSL:10m; |
NewerOlder