I hereby claim:
- I am brennovich on github.
- I am brennovich (https://keybase.io/brennovich) on keybase.
- I have a public key whose fingerprint is E6C7 B01C C850 A7D9 9EB0 969E 21DA 987A 821E 84FB
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
We conceptualize risk as a continuum
Which is worse for the service: a constant low rate of failures, or an occasional full-site outage? Both types of failure may result in the same absolute number of errors, but may have vastly different impacts on the business.
#!/bin/bash | |
# Works for /16 CIDR Blocks, change / upgrade the script if you need | |
CIDR_PREFIX="172.20" | |
for oct1 in {128..255}; do | |
# Generate a new list of used IPs on every block | |
calicoctl get wep --all-namespaces | awk '{print $4}' |cut -d "/" -f1 > valid_ips.txt | |
for oct2 in {1..254}; do | |
if grep "${CIDR_BLOCK}.$oct1.$oct2" ./valid_ips.txt; then |
#!/bin/bash | |
# | |
# Simple wrapper of Redis' SCAN command. It can control batch size, patterns and cursors. | |
if [ $# -ne 3 ] | |
then | |
echo "Find matching a pattern using SCAN " | |
echo "Usage: $0 <host> <port> <pattern>" | |
exit 1 | |
fi |
require 'date' | |
require 'json' | |
require 'net/http' | |
# non-stdlib dependencies | |
require 'signet/oauth_2/client' | |
# First we need to fetch our access token | |
pkc12_key = File.read('./legato-development-8b36edf27344.p12') |
Section "InputClass" | |
Identifier "libinput" | |
Driver "libinput" | |
MatchDevicePath "/dev/input/event*" | |
EndSection |
# i3status configuration file. | |
# see "man i3status" for documentation. | |
# It is important that this file is edited as UTF-8. | |
# The following line should contain a sharp s: | |
# ß | |
# If the above line is not correctly displayed, fix your editor first! | |
general { | |
output_format = "i3bar" |
function! SelectaCommand(choice_command, selecta_args, vim_command) | |
let dict = { 'buf': bufnr('%'), 'vim_command': a:vim_command, 'temps': { 'result': tempname() }, 'name': 'SelectaCommand' } | |
function! dict.on_exit(id, code) | |
bd! | |
if a:code != 0 | |
return 1 | |
endif |