Skip to content

Instantly share code, notes, and snippets.

Tyler Kerr tylerkerr

Block or report user

Report or block tylerkerr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ngol -- Gold Mine
ntav -- Tavern
ngme -- Goblin Merchant
ngad -- Goblin Laboratory
nmrk -- Marketplace
nfoh -- Fountain of Health
nmoo -- Fountain of Mana
nwgt -- Way Gate
nshp -- Goblin Shipyard
tylerkerr /
Created Jan 24, 2020
Non-dupe TFT melee maps (no non-LV maps where LV exists, no ROC w3ms, no scenarios) included with War3 version (Reforged beta build 6103)
View Beta build 13991


  • last refuge
  • nomad isles
  • concealed hill
  • northern isles
  • amazonia
  • dalaran
  • swamped temple
  • turtle rock
tylerkerr /
Created Jan 22, 2019
check haveibeenpwned's API for passwords
#!/usr/bin/env python3
import hashlib
from getpass import getpass
from requests import get
'''troy hunt runs he collects huge dumps of breached passwords,
and has made them available. you can download the entire dump of hashes (annoying),
or you can query his API directly. doing this on his website involves typing in the
actual candidate password you want to check and assuming nothing untoward happens.
function battime()
minutes=$(/usr/sbin/ioreg -r -n AppleSmartBattery | grep InstantTimeToEmpty | \grep -Eo "\d+")
hours=$(echo "$minutes / 60" | bc)
remainder=$(echo "$minutes - (60 * $hours)" | bc)
echo "[+] battery time remaining : ${hours}h ${remainder}m"

Lentils My Wife


  • 2 cups red lentils
  • 4 cups water
  • 1.5 veggie bouillon cubes
  • 1.5 cups chopped sauteed onion
  • 1 tablespoon butter
  • 2 tablespoons yellow curry powder
  • 0.5 tablespoon dried hot pepper flakes
tylerkerr / print.c
Created Feb 15, 2018
normal printing to stdout
View print.c
#include <stdlib.h>
int main(void)
char toprint[56] = "python -c 'import os; os.system(\"echo $(printf howdy)\")'";
View how to get Cisco ASDM-IDM Launcher to run on

inside the application package, open and change the line reading VMOPTIONS="`/usr/libexec/PlistBuddy -c "Print :VMOptions" "$PINFO_PLIST_FILE"`"


VMOPTIONS="-Dhttps.protocols=TLSv1.1 -Dhttps.cipherSuites=TLS_RSA_WITH_AES_128_CBC_SHA -Xms64m -Xmx512m"

from flask import Flask
from flask import request
from requests import post
from slackclient import SlackClient
from datetime import datetime
import re
import os
import json
app = Flask(__name__)
tylerkerr /
Last active May 16, 2018
quick MAC address formatter. it's really annoying to manually insert/remove colons
#!/usr/bin/env python3
import sys
import argparse
import subprocess
import re
def cleanmac(mac):
return re.sub('[^0-9a-f]', '', mac.lower())
You can’t perform that action at this time.