Skip to content

Instantly share code, notes, and snippets.

View yawn's full-sized avatar
🦙
もふもふ

Joern Barthel yawn

🦙
もふもふ
  • Tokio
View GitHub Profile
VARNISH_VERSION=3.0.3
VMOD_REPOSITORY=https://github.com/nand2/libvmod-throttle.git
VMOD_NAME=libvmod-throttle
VMOD_VERSION='0.1'
VMOD_LICENSE='Simplified BSD License'
VMOD_VENDOR='Nicolas Deschildre'
VMOD_DESCRIPTION='Rate limiting in Varnish, on different time windows and keys'
sudo yum install -y pcre-devel python-docutils
@yawn
yawn / s3policy-actions.txt
Last active January 4, 2016 08:19
List of all S3 bucket policy actions, taken from the S3 developer documentation 2006-03-01
Actions Related to Objects
"s3:GetObject",
"s3:GetObjectVersion",
"s3:PutObject",
"s3:GetObjectAcl",
"s3:GetObjectVersionAcl",
"s3:PutObjectAcl",
"s3:PutObjectVersionAcl",
"s3:DeleteObject",

Keybase proof

I hereby claim:

  • I am yawn on github.
  • I am yawn (https://keybase.io/yawn) on keybase.
  • I have a public key whose fingerprint is DC74 F59E D042 1ACA BBEF 000F DC6F F723 A19F 4686

To claim this, I am signing this object:

@yawn
yawn / encrypt.sh
Last active May 10, 2022 11:32
GPG encrypt to all recipients in security.txt
#!/bin/bash
set -euo pipefail
keys=$(sed -n 's/^Encryption: //p' security.txt)
declare -a receivers
for key in $keys
do
# fetch key manually (we can't using --auto-key-locate clear,local,wkd --locate-key since the recipients might be different from the security email address)
t=$(mktemp)