Skip to content

Instantly share code, notes, and snippets.

View nharasym's full-sized avatar

Nick Harasym nharasym

  • Vancouver, WA
  • 21:12 (UTC -07:00)
View GitHub Profile
#!/bin/python3
import math
import os
import random
import re
import sys
#
# Complete the 'kangaroo' function below.

Keybase proof

I hereby claim:

  • I am nharasym on github.
  • I am icebox3d (https://keybase.io/icebox3d) on keybase.
  • I have a public key ASCUYRyDzOSif6HCUwfJI6SMmr-RYUmri6bwa8DEPvyG8wo

To claim this, I am signing this object:

@nharasym
nharasym / haconfig.sh
Last active December 25, 2015 04:03 — forked from jlazic/haconfig.sh
Split monolithic HAProxy configuration
#!/bin/bash
#Requirements: etckeeper, diffcolor
#This script concatenates multiple files of haproxy configuration into
#one file, and than checks if monolithic config contains errors. If everything is
#OK with new config script will write new config to $CURRENTCFG and reload haproxy
#Also, script will commit changes to etckeeper, if you don't use etckeeper you
#should start using it.
#Script assumes following directory structure:
#/etc/haproxy/conf.d/