Skip to content

Instantly share code, notes, and snippets.

Chris Boulton chrisboulton

View GitHub Profile
View CB.terminal
<?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>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NGMSAx
IDEAEAGAAtIQERITWiRjbGFzc25hbWVYJGNsYXNzZXNXTlNDb2xvcqISFFhOU09iamVj
dF8QD05TS2V5ZWRBcmNoaXZlctEXGFRyb290gAEIERojLTI3O0FITltiaWttcn2GjpGa
View linkerd.yaml
admin:
port: 9990
ip: 0.0.0.0
routers:
# http 1.1: service -> [linkerd] -> linkerd -> service
# should lookup consul service then rewrite outgoing port to linkerd
- label: http1-out
protocol: http
servers:
View keybase.md

Keybase proof

I hereby claim:

  • I am chrisboulton on github.
  • I am chrisboulton (https://keybase.io/chrisboulton) on keybase.
  • I have a public key whose fingerprint is AFC0 D65B 0400 7402 1D15 3852 3DC3 08EE 762F 7CCF

To claim this, I am signing this object:

View neomatrix-demo.ino
#include <Adafruit_GFX.h>
#include <Adafruit_NeoMatrix.h>
#include <Adafruit_NeoPixel.h>
#ifndef PSTR
#define PSTR // Make Arduino Due happy
#endif
#define PIN 6
Adafruit_NeoMatrix matrix = Adafruit_NeoMatrix(1, 294, PIN,
View CB.temrinal
<?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>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NGMSAx
IDEAEAGAAtIQERITWiRjbGFzc25hbWVYJGNsYXNzZXNXTlNDb2xvcqISFFhOU09iamVj
dF8QD05TS2V5ZWRBcmNoaXZlctEXGFRyb290gAEIERojLTI3O0FITltiaWttcn2GjpGa
@chrisboulton
chrisboulton / gist:40ac2e5e9c688dabccb9
Created Aug 18, 2014
There's been a constant stream of crazy in my personal inbox as of late. I'm not quite sure what to make of the below, but someone seems to be seriously confused and assume I run/control all MyBB powered forums. How do I handle this?
View gist:40ac2e5e9c688dabccb9
Trolling on forums
------------------
Tracey Burt <****@outlook.com> Sat, Aug 16, 2014 at 11:08 PM
To: "chris@chrisboulton.com" <chris@chrisboulton.com>
Dear Chris
I have been subject to trolling for nearly three years now, among other
sinister things, on some of the forums you create the platform for. I am a bit
over it all.
View gist:6f1488eb04322ced434f
graphite::schema { 'collectd':
priority => 2,
pattern => '^collectd\.',
retentions => ['10s:3d', '60s:30d', '5m:1y' , '30m:2y'],
}
@chrisboulton
chrisboulton / check_sentinel
Created Apr 27, 2014
Awful Nagios plugins to monitor a Redis Sentinel environment
View check_sentinel
#!/usr/bin/env ruby
#
# Nagios plugin to monitor Redis sentinel
#
# Checks general connectivity to a Redis sentinel server and will go critical
# for any of the following conditions:
# * Inability to connect to the sentinel server
# * Sentinel reports it isn't monitoring any masters
# * Sentinel has entered TILT mode
#
You can’t perform that action at this time.