I hereby claim:
- I am jengo on github.
- I am jolene (https://keybase.io/jolene) on keybase.
- I have a public key ASCSSTrkgLNhBdgTlWzbHylXSYhleFNOmKOUT5UN2ZcVKwo
To claim this, I am signing this object:
| # Run this on the remote | |
| export PROJECT=project | |
| export OWNER="jengo.dev" | |
| mkdir /git/$PROJECT.git | |
| cd /git/$PROJECT.git | |
| git init --bare | |
| chown $OWNER /git/$PROJECT.git -R | |
| git repo-config core.sharedRepository true |
| If you have docker installed, this is a simple command to load ffmpeg, link current directory and create a video from the output of blender. | |
| docker run -it --rm -v "`pwd`":/tmp/workdir jrottenberg/ffmpeg -r 24 -f image2 -pattern_type glob -i '*.png' -i %04d.png -s hd1080 -vcodec libx264 -pix_fmt yuv420p -y output.mp4 |
| #!/bin/bash | |
| KEY=$(basename $1) | |
| FILENAME=$1 | |
| if [ "${KEY}" == "" ]; then | |
| echo "Missing parameter SSH key" | |
| exit 1 | |
| fi |
I hereby claim:
To claim this, I am signing this object:
| export HOSTNAME=localhost | |
| export NAMESPACE=default | |
| export SECRET_NAME=test-ssl-secret | |
| openssl req -x509 -nodes -days 365 -sha256 -newkey rsa:2048 -keyout /tmp/tls.key -out /tmp/tls.crt -subj "/CN=${HOSTNAME}/" | |
| kubectl --namespace ${NAMESPACE} create secret tls ${SECRET_NAME} --key /tmp/tls.key --cert /tmp/tls.crt |
| export FILE=DJI_0027.MOV | |
| docker run -v `pwd`:/workspace jrottenberg/ffmpeg -i /workspace/$FILE -vcodec prores_ks -threads 4 -profile:v 3 -vcodec copy /workspace/prores422-$FILE |
kubectl -n kube-system create sa tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller --history-max 30
| #!/bin/bash | |
| # Written by Jolene Engo <[email protected]> | |
| # This script is useful for syncing files to an S3 bucket with a delay | |
| # Great for situations where a remote process is grabbing files after upload | |
| # and you don't want to overwhelm the remote system | |
| # The delay will slow the syncing | |
| # If the file already exists, it will be skippped. This allows a resume | |
| # that s3cmd wouldn't normally support for put |
| for f in $(kubectl get pv --no-headers -o custom-columns=NAME:.metadata.name); \ | |
| do kubectl patch pv $f -p '{"spec":{"persistentVolumeReclaimPolicy":"Retain"}}'; done |
| # This manifest written by Jolene Engo <[email protected]> | |
| apiVersion: argoproj.io/v1alpha1 | |
| kind: Application | |
| metadata: | |
| name: cert-manager | |
| namespace: argocd | |
| spec: | |
| destination: | |
| namespace: cert-manager | |
| server: https://kubernetes.default.svc |