Skip to content

Instantly share code, notes, and snippets.

@TomA-R
TomA-R / clean-beanstalkd.sh
Created July 16, 2018 23:59
Purge beanstalkd tubes
# clean-beanstalkd.sh
#!/bin/bash
echo "list-tubes" | nc -C beanstalkd.host.example 11300 | grep pattern-example[0-9]-xyz | awk '{ print $2 }' > process-tubes.txt
while [ -s process-tubes.txt ]
do
while read line; do ./beanstalk-purge beanstalkd.ec2.edminfra.com 11300 $line 2; done < process-tubes.txt
echo "list-tubes" | nc -C beanstalkd.ec2.edminfra.com 11300 | grep [0-9].ssm-i | awk '{print $2}' > process-tubes.txt
done;
@TomA-R
TomA-R / keybase.md
Last active April 2, 2022 07:22
keybase.md

Keybase proof

I hereby claim:

  • I am toma-r on github.
  • I am tomarbesser (https://keybase.io/tomarbesser) on keybase.
  • I have a public key ASC2l4pX-nlJPpg7V8_SERnbsAGBZC8HwVK1Qvwe2S2i6Ao

To claim this, I am signing this object:

@TomA-R
TomA-R / poolMetadata.json
Created July 8, 2021 11:22
poolMetadata.json
{ "name": "Sunshine Stake Pool", "description": "Bringing sunshine to your ADA", "ticker": "SHINE", "homepage": "https://sunshinestake.com" }
@TomA-R
TomA-R / temp.css
Created June 25, 2022 08:02
temp.css
@charset "UTF-8";[contenteditable=true]:focus,[href]:focus,[tabindex]:not([tabindex="-1"]):focus,button:focus,details:focus,input:focus,select:focus,textarea:focus{outline:2px solid #0f7fff!important;outline-offset:1px!important}input:focus+label{outline:2px solid #0f7fff!important;outline-offset:1px!important}meta.foundation-version{font-family:"/5.5.3/"}meta.foundation-mq-small{font-family:"/only screen/";width:0}meta.foundation-mq-small-only{font-family:"/only screen and (max-width: 551px)/";width:0}meta.foundation-mq-medium{font-family:"/only screen and (min-width:551px)/";width:551px}meta.foundation-mq-medium-only{font-family:"/only screen and (min-width:551px) and (max-width:801px)/";width:551px}meta.foundation-mq-large{font-family:"/only screen and (min-width:801px)/";width:801px}meta.foundation-mq-large-only{font-family:"/only screen and (min-width:801px) and (max-width:1261px)/";width:801px}meta.foundation-mq-xlarge{font-family:"/only screen and (min-width:1261px)/";width:1261px}meta.foundation-mq-xl