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:
input { | |
tcp { | |
port => 19532 | |
type => journald | |
} | |
} | |
filter { | |
if [type] == "journald" { | |
multiline { |
[Match] | |
Name=bond0 | |
[Network] | |
Address=192.168.1.111/24 | |
Gateway=192.168.1.1 | |
DNS=8.8.8.8 |
#!/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 |
BR2_HAVE_DOT_CONFIG=y | |
BR2_ARCH_IS_64=y | |
BR2_x86_64=y | |
BR2_ARCH="x86_64" | |
BR2_ENDIAN="LITTLE" | |
BR2_GCC_TARGET_ARCH="nocona" | |
BR2_ARCH_HAS_ATOMICS=y | |
BR2_X86_CPU_HAS_MMX=y | |
BR2_X86_CPU_HAS_SSE=y | |
BR2_X86_CPU_HAS_SSE2=y |
I hereby claim:
To claim this, I am signing this object:
# | |
# Automatically generated file; DO NOT EDIT. | |
# Buildroot 2014.08 Configuration | |
# | |
BR2_HAVE_DOT_CONFIG=y | |
# | |
# Target options | |
# | |
BR2_ARCH_IS_64=y |
#!/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. |
# make CTRL+a the 'prefix' ala screen. | |
bind C-a send-prefix | |
set -g prefix C-a | |
# get rid of the tmux standard of CTRL+b | |
unbind C-b | |
set -s escape-time 1 | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
# make it easy to reload the config (CTRL+r) |
#!/bin/bash | |
# Simple script to dump the contents of a database into separate files in the directory "/backups/" | |
# Symlink into /etc/cron.daily/ or add to crontab | |
# Originally from: https://gist.github.com/brianredbeard | |
# /usr/local/scripts/db_dump | |
#mysqldump -x --add-drop-table --all-databases > /backups/mysqldb-`date +%F-%I%p`.sql | |
/usr/bin/mysql --defaults-extra-file=/root/.my.cnf -e 'show databases' | /bin/awk '{print $1}' | /bin/grep -v "^Database$" | /usr/bin/xargs -i{} /usr/bin/mysqldump --defaults-extra-file=/root/.my.cnf --opt -Q -r /backups/{}-`date +%F-%I%p`.sql {} |
#!/bin/bash | |
# hubot | |
# chkconfig: 345 20 80 | |
# description: hubot | |
# processname: hubot | |
# This script assumes you have a user called "hubot" on your system and that hubot is installed in /opt/hubot | |
# | |
# Fore more info on this craziness - | |
# http://thejacklawson.com/how-to-hubot/ |