Gist for https://youtu.be/admAfAYoVRo
/* | |
the twitter api is stupid. it is stupid and bad and expensive. hence, this. | |
Literally just paste this in the JS console on the bookmarks tab and the script will automatically scroll to the bottom of your bookmarks and keep a track of them as it goes. | |
When finished, it downloads a JSON file containing the raw text content of every bookmark. | |
for now it stores just the text inside the tweet itself, but if you're reading this why don't you go ahead and try to also store other information (author, tweetLink, pictures, everything). come on. do it. please? | |
*/ |
# Source: https://gist.github.com/vfarcic/c2927af7318bbdccdec62bf6577e0840 | |
############################################################## | |
# How to Apply GitOps on GitHub With Argo CD And Crossplane? # | |
# https://youtu.be/81IJYTWZAfM # | |
############################################################## | |
# Additional Info: | |
# - How To Create A Complete Internal Developer Platform (IDP)?: https://youtu.be/Rg98GoEHBd4 |
Gist for https://youtu.be/admAfAYoVRo
#!/bin/bash | |
# Log and graph peformance metrics on a single process | |
# Based on: http://brunogirin.blogspot.com.au/2010/09/memory-usage-graphs-with-ps-and-gnuplot.html | |
# | |
# Requires gnuplot to be installed and on your path. | |
# | |
# Run: ./process_graph [process name] [pid] | |
DEFAULT_PROCNAME="Xorg" |
#!/bin/bash | |
# | |
# download yq | |
# | |
curl -fsSL https://github.com/mikefarah/yq/releases/download/v4.43.1/yq_linux_amd64 -o /usr/local/bin/yq | |
chmod +x /usr/local/bin/yq | |
# |
#################################################################### | |
# Cloud-Native Apps With Open Application Model (OAM) And Kubevela # | |
# https://youtu.be/2CBu6sOTtwk # | |
#################################################################### | |
# Referenced videos: | |
# - K3d - How to run Kubernetes cluster locally using Rancher k3s: https://youtu.be/mCesuGk-Fks | |
# - Kustomize - How to Simplify Kubernetes Configuration Management: https://youtu.be/Twtbg6LFnAg | |
# - Crossplane - GitOps-based Infrastructure as Code through Kubernetes API: https://youtu.be/n8KjVmuHm7A | |
# - What Is GitOps And Why Do We Want It?: https://youtu.be/qwyRJlmG5ew |
# Source: https://gist.github.com/84324e2d6eb1e62e3569846a741cedea | |
#################### | |
# Create a Cluster # | |
#################### | |
minikube start | |
############################# | |
# Deploy Ingress Controller # |
#!/bin/bash | |
# example script to check existence of a user | |
## This value should be encrypted but test with an API Key | |
APIKEY="YOURAPIKEY" | |
id_type='"username"' | |
## This value would have to be scripted | |
# something like this: stat -f%Su /dev/console | |
# should get the current logged in user if someone is indeed logged in | |
username="CurrentLoggedInUserName" |
These instructions include running a local registry accessible from Kubernetes as well as from the
host development machine at registry.dev.svc.cluster.local:5000
.
registry:2
container from Docker, listening on port 5000
, and persisting images in the ~/.registry/storage
directory.