I hereby claim:
- I am brianredbeard on github.
- I am brianredbeard (https://keybase.io/brianredbeard) on keybase.
- I have a public key whose fingerprint is 9244 6DEB CE08 9086 7E4C C634 933F 5408 3D6D F566
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # glance_load.sh | |
| # Brian "Redbeard" Harrington <brian@dead-city.org> | |
| # | |
| # This code is in the public domain. | |
| # | |
| # A tool for monitoring remote files and loading them into a glance image | |
| # store. This tool has been optimized for use on CoreOS but should work | |
| # for most files where an ETag is exposed. |
| # | |
| # Automatically generated file; DO NOT EDIT. | |
| # Buildroot 2014.08 Configuration | |
| # | |
| BR2_HAVE_DOT_CONFIG=y | |
| # | |
| # Target options | |
| # | |
| BR2_ARCH_IS_64=y |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| source .do | |
| output=$(curl -s -X GET "https://api.digitalocean.com/v2/droplets" -H "Authorization: Bearer $TOKEN") | |
| if [ "$1" == "-a" ]; then | |
| echo $output | jq -s '.[][][] | { name: .name?, id: .id?, ip_address: .networks.v4[].ip_address} | select(.name | contains("redbeard"))' | grep -v -f reserved | |
| else | |
| echo $output | jq -s '.[][][] | { name: .name?, id: .id?} | select(.name | contains("redbeard")) | .id' | grep -v -f reserved | |
| fi |
| [Match] | |
| Name=bond0 | |
| [Network] | |
| Address=192.168.1.111/24 | |
| Gateway=192.168.1.1 | |
| DNS=8.8.8.8 |
| alias passthing="curl -s -L 'https://secure.pctools.com/guides/password/?length=13&phonetic=on&alpha=on&mixedcase=on&numeric=on&nosimilar=on&quantity=20&generate=true#password_generator' | grep \"<tr><td valign=top nowrap style='border: 1px solid #c5c5c7;padding-top:3px;padding-bottom:3px'><b>\" | sed -r 's/<tr><td valign=top nowrap style=.border: 1px solid #c5c5c7;padding-top:3px;padding-bottom:3px.><b>([[:alnum:]]+)<.b><.td><td valign=top style=.border: 1px solid #c5c5c7;padding-top:3px;padding-bottom:3px.><i>([-a-zA-Z \(\)]+)<.i><.td><.tr>/\1 \2/g'" |
| #cloud-config | |
| coreos: | |
| units: | |
| - name: etcd.service | |
| command: restart | |
| - name: fleet.service | |
| command: restart | |
| etcd: |
| #!/usr/bin/env python | |
| # with help and inspiration from | |
| # * ASN1_generate_nconf(3) (specifically the SubjectPublicKeyInfo structure) | |
| # * http://www.sysmic.org/dotclear/index.php?post/2010/03/24/Convert-keys-betweens-GnuPG%2C-OpenSsh-and-OpenSSL | |
| # * http://blog.oddbit.com/2011/05/converting-openssh-public-keys.html | |
| import sys | |
| import base64 | |
| import struct |
| #!/bin/bash | |
| # | |
| # usage: ./generate_etcd.sh 10.240.0.14 10.240.0.12 10.240.0.13 | |
| # output is in /tmp | |
| for ipaddr in "$@" | |
| do | |
| let count+=1 | |
| peerlist="${peerlist},infra${count}=http://${ipaddr}:2380" | |
| done |
| #!/bin/bash | |
| # | |
| # logstash Startup script for logstash | |
| # chkconfig: 2345 20 80 | |
| # description: Logstash is a log shipping, indexing, and collocation tool. | |
| # processname: java | |
| ### BEGIN INIT INFO | |
| # Provides: logstash | |
| # Required-Start: $local_fs $remote_fs | |
| # Required-Stop: $local_fs $remote_fs |