I hereby claim:
- I am kchristensen on github.
- I am kylec (https://keybase.io/kylec) on keybase.
- I have a public key whose fingerprint is D69C 60B1 60CD 91DB 81B3 5ACB 309D 52C6 A327 4B9A
To claim this, I am signing this object:
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadDisplayName</key> | |
<string>WireGuard</string> | |
<key>PayloadType</key> | |
<string>Configuration</string> | |
<key>PayloadDescription</key> | |
<string>Configures WireGuard VPN profiles</string> |
#!/usr/bin/env bash | |
CWD=$(dirname "$0") | |
# This file should contain: IDRAC_PASSWORD="YOUR_PASSWORD" | |
. ${CWD}/fancontrol.env | |
IDRAC_HOST="idrac.yourdomain.com" | |
IDRAC_USER="root" | |
IPMI_CMD="ipmitool -I lanplus -H ${IDRAC_HOST} -U ${IDRAC_USER} -P ${IDRAC_PASSWORD}" |
#!/bin/bash | |
INSTANCE=$(curl -s http://169.254.169.254/latest/meta-data/instance-id) | |
SLACK_CHANNEL='#ops-notifications' | |
SLACK_URL='<%= node['base']['slack']['hook'] %>' | |
SLACK_USERNAME='DockerBot' | |
for CONTAINER in $(docker ps -a|grep -v CONTAINER|awk '{print $1}') | |
do | |
STATE=$(docker inspect -f '{{.State.Running}}' ${CONTAINER}) |
#!/usr/bin/env python | |
import boto3 | |
import json | |
import requests | |
from datetime import datetime | |
filter = [{'Name': 'tag:Name', 'Values': ['test-kitchen', 'Packer']}] | |
boto3.setup_default_session(profile_name='prod') | |
ec2 = boto3.resource('ec2') |
#!/bin/env bash | |
function help() { | |
echo "Usage: $0 -d <DOMAIN> -e <EMAIL> -s <KEYSIZE>" | |
exit 1 | |
} | |
DAYS_TO_RENEW=35 | |
EMAIL="[email protected]" | |
KEY_SIZE=2048 |
#!/usr/bin/env python | |
""" | |
Nagios check to check RabbitMQ cluster for partitioning (split-brain) | |
""" | |
import json | |
import optparse | |
import logging | |
import requests | |
import sys |
I hereby claim:
To claim this, I am signing this object:
void knightRider(uint8_t wait) { | |
uint8_t i, j, x = 1, prev = 11; | |
for (j = 0; j < 256; j++) { | |
for (i = 0; i >= -1; i = i + x) { | |
if (i == 255) | |
return; | |
if (i > PIXEL_COUNT) | |
x = -1; |
#!/usr/bin/env python | |
# | |
# This script will uninstall kernels that are not | |
# current running, or one of the two latest available. | |
# | |
import apt | |
import optparse | |
import os | |
import re |
#!/bin/bash | |
POOL="zpool1" | |
DATASET="backup/nas" | |
DB=freenas-v1.db | |
DB_HOME="/data" | |
BACKUP_HOME="/mnt/$POOL/$DATASET" | |
VERSIONS=10 | |
exec 2> $BACKUP_HOME/backup.log |