Skip to content

Instantly share code, notes, and snippets.

View haydonryan's full-sized avatar

Haydon Ryan haydonryan

View GitHub Profile
@haydonryan
haydonryan / GPG Signed Commits
Last active February 17, 2018 16:42
Setting up Github GPG signing.
brew doctor
brew update
brew install -v gpg
gpg --full-generate-key
gpg --list-secret-keys --keyid-format LONG
# https://help.github.com/articles/generating-a-new-gpg-key/
#/bin/bash
newfile () {
fname=$1
count=0
while [ -e "$fname" ]
do
# fname="$1.$((++count)).mp4"
fname="$(basename $1 .mp4).$((++count)).mp4"
done
@haydonryan
haydonryan / download-releases.sh
Created September 17, 2024 16:39
Parse concourse deployment and download release blobs
#!/bin/bash
mkdir -p ../images/concourse
for i in {0..15} # Cap at 15 releases adjust as necessary
do
URL="$(bosh int \
-e bosh-1 \
-d concourse \
./concourse-bosh-deployment/cluster/concourse.yml \
-l ./concourse-bosh-deployment/versions.yml \