Skip to content

Instantly share code, notes, and snippets.

@embolalia
embolalia / script.rb
Last active March 29, 2019 16:32
Get rid of old ecr images
#!/usr/bin/env ruby
# this script will delete ECR images that are older than N days
require 'date'
require 'json'
# customize this script
repo = 'changeme'
delete_if_older_than = 180 # days
@embolalia
embolalia / keybase.md
Created October 11, 2016 19:40
keybase.md

Keybase proof

I hereby claim:

  • I am embolalia on github.
  • I am embolalia (https://keybase.io/embolalia) on keybase.
  • I have a public key whose fingerprint is 06E6 869C B529 3DFC 80A6 2163 8906 711B 8D79 7948

To claim this, I am signing this object:

@embolalia
embolalia / gist:5660363
Last active December 17, 2015 19:29
A quick script that makes my raspi light up for different ping times. It's a terrible hack, and was not written with the intent of making it public. Please don't hurt me.
#!/usr/bin/env python
import RPi.GPIO as gpio
from time import sleep
import re
import sys
gpio.setmode(gpio.BCM)
red = 23
yel = 24