View gist:3ab0c517b71b96cd9567098675dbc246
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
Helm Chart Hosting | |
Github Pages: | |
https://harness.io/blog/devops/helm-chart-repo/ | |
https://faun.pub/how-to-host-helm-chart-repository-on-github-b76c854e1462 | |
Private Github Repo (GITHUB_TOKEN): | |
https://blog.softwaremill.com/hosting-helm-private-repository-from-github-ff3fa940d0b7 |
View buildpack.diff
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
diff --git a/bin/test-compile b/bin/test-compile | |
index 219a688..0a21748 100755 | |
--- a/bin/test-compile | |
+++ b/bin/test-compile | |
@@ -24,5 +24,5 @@ if [ -f "${build}/.golangci.yml" -o -f "${build}/.golangci.toml" -o -f "${build} | |
step "/.golangci.{yml,toml,json} detected" | |
tmp="$(mktemp -d)" | |
mkdir -p "${build}/.heroku/golangci/bin" | |
- ensureFile "golangci-lint-1.16.0-linux-amd64.tar.gz" "${tmp}" "tar -C ${build}/.heroku/golangci/bin --strip-components=1 -zxf" | |
-fi |
View encrypted.yaml
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
kind: StorageClass | |
apiVersion: storage.k8s.io/v1beta1 | |
metadata: | |
name: encrypted | |
provisioner: kubernetes.io/aws-ebs | |
parameters: | |
type: gp2 | |
encrypted: "true" |
View gist:be4c7eb2daf32ba62b414118d5d73e9e
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
Verifying my Blockstack ID is secured with the address 1AWSQztDoP2MnV78edrypjpGV9suHEsuwd https://explorer.blockstack.org/address/1AWSQztDoP2MnV78edrypjpGV9suHEsuwd |
View rando.go
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
package main | |
import ( | |
"fmt" | |
"net/http" | |
"math/rand" | |
) | |
func handler(w http.ResponseWriter, r *http.Request) { | |
fmt.Fprintf(w, "%d", rand.Intn(9999)) |
View 01lego.yaml
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
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: kube-lego | |
--- | |
apiVersion: v1 | |
metadata: | |
name: kube-lego | |
namespace: kube-lego | |
data: |
View ecr-empty-repos.sh
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
export REPOS=$(aws ecr describe-repositories | jq '.repositories | .[].repositoryName' | cut -d'"' -f 2) | |
for repo in $REPOS; | |
do | |
IMAGES=$(aws ecr list-images --repository-name $repo | grep imageDigest) | |
if [[ "$?" -eq "1" ]] | |
then | |
echo "$repo: empty" | |
fi | |
done |
View darron.keys
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDbU5HNPsAXa09LT7CdLneuX7VcGqr5AhWo/ADi7zH0J574+dHo/66BuvY3s6/Ea3Tqy3LTAGKpKGJYEEmlsyrPTyissx+YZ1jS2idwj1YxYLzivLsV3GTIfbcA3UrfoZQEqhjrEA+p7TXQMtHwK5yVaMzA+dubJNQhxBo/Bc0SVhFFXr3Vf7brLe78/yDAulMwtLd3HgYj6RVRpzDImE76R2D9pfr2n3eTzR+iCnCRSXEmyJdyTM4535x0pMre2FVp87S4F09Y3l8sZ52coReUNCVOApKVoqyNxEuoFsXeeeZRUdjHWEXHPFEE57Z5LstsOJW53qVaLX+d0qhFbg4KczCqtUZJPkptxoq+FoUNe5lX90Gq8H4rCmsx31dcdy5DF7a4UBpN0kkkjgjAAoZnRvQRyQqiMGE6WD9SvHxkTopQga5zIstTeAyZJUKzK8xAkCCMtJiVBSy5VNUBy77skyaASEo8JvBRVFEnV151vQei2uPeEcWNYEeJo1ch8UuMzOtR49qsiOTNcUfTmTHJ4sB2500wQH1CfTDyJuK59XYBxMmGbhSk/BkTfFdHn6mnpDMmqOmupaeUp2PLWZFGRJIi8xiXxufMf8kZE1TaJKc/C9KU7QxY7csRy84VA885vtpT8Cu42LTRbj2gFqfF02sVIXHQ/NGa2XEOuk1TZQ== | |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCVcjo7fd9Zu0PFxJGyfv787cWOea4FPXvBAw/9JEhAhN14EJqtYAvZAprKXbZhaf9uXeb5phED4mDFPgLzROtzIq9xzWl4a4AFCb6QlPhVoSOKUeJdXxCN3cVMUJ4spGe3iW24HohUHhGdzAA1+6Fd0yi4hyxlY7Mpp/27iqkQBFY6rCOFr2rHFOJvRcURssPlJLXSf/xHWehbqSpNic41yayRbhY+X1a9lFSl+MXDtDcGAUC1cr7pp1+uvOrsNoJH+BG |
View rename.go
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
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"os" | |
"strings" | |
) |
View main.go
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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"os" | |
) |
NewerOlder