Skip to content

Instantly share code, notes, and snippets.

jhidalgo3 / deployment.yml
Created Jul 9, 2020 — forked from troyharvey/deployment.yml
Using Kubernetes envFrom for environment variables
View deployment.yml
# Use envFrom to load Secrets and ConfigMaps into environment variables
apiVersion: apps/v1beta2
kind: Deployment
name: mans-not-hot
app: mans-not-hot
replicas: 1
jhidalgo3 /
Created May 29, 2020 — forked from yokawasa/
Azure Kubernetes Services Cheat Sheet

Benchmark commands



bin/ \
  --zookeeper \
  --create \
jhidalgo3 /
Created Oct 13, 2019 — forked from ygotthilf/
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out
cat jwtRS256.key
jhidalgo3 /
Created Jul 23, 2019
What is my ip?
myip="$(dig +short"
echo "My WAN/Public IP address: ${myip}"
jhidalgo3 /
Created Jan 13, 2019 — forked from KartikTalwar/
Rsync over SSH - (40MB/s over 1GB NICs)

The fastest remote directory rsync over ssh archival I can muster (40MB/s over 1gb NICs)

This creates an archive that does the following:

rsync (Everyone seems to like -z, but it is much slower for me)

  • a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
  • H: preserves hard-links
  • A: preserves ACLs
View gist:9ccc941a3c32c24e6d57f442d263feb6
### Keybase proof
I hereby claim:
* I am jhidalgo3 on github.
* I am jhidalgo3 ( on keybase.
* I have a public key ASCNjRFDor_Qipm0n8Ik0cxS6B5FurcC0HyOL-rRhAvNpAo
To claim this, I am signing this object:

Delete all container status=exited

docker rm $(docker ps -a -q -f "status=exited")

Delete all untagged images

docker rmi $(docker images -q --filter "dangling=true")
jhidalgo3 /
Created Nov 22, 2015 — forked from DenisIzmaylov/
OS X 10.11 El Capitan: fresh install with Node.js (io.js) Developer Environment

OS X 10.11 (El Capitan) / Node.js and io.js Developer Environment

Custom recipe to get OS X 10.11 El Capitan running from scratch with useful applications and Node.js Developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after fresh install.


You can’t perform that action at this time.