Skip to content

Instantly share code, notes, and snippets.

Avatar

Tyler Kerr tylerkerr

View GitHub Profile
View red-lentil-curry.md
View dhal-tarka.md

dhal tarka

ingredients

  • 2 cups green lentils - the big kind (split pea sized)
  • 1 large onion
  • 6 cloves garlic
  • a little ginger (2 tsp when grated)
  • a couple small fresh hot peppers, or cayenne pepper powder
  • brown sugar, 2 pinches
View 1.32.2 mappool.md

1v1

  • last refuge
  • nomad isles
  • concealed hill
  • northern isles
  • amazonia
  • dalaran
  • swamped temple
  • turtle rock
View war3-neutral-building-codes.md
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
tylerkerr / tft-map-list.md
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 1.32.0.6 (Reforged beta build 6103)
View tft-map-list.md
(2)Amazonia.w3x
(2)AncientIsles.w3x
(2)BanditRidge.w3x
(2)Circumvention.w3x
(2)ConcealedHill.w3x
(2)Dalaran.w3x
(2)EchoIsles.w3x
(2)GlacialThaw.w3x
(2)Justice.w3x
View Beta build 13991 mappool.md

1v1

  • last refuge
  • nomad isles
  • concealed hill
  • northern isles
  • amazonia
  • dalaran
  • swamped temple
  • turtle rock
@tylerkerr
tylerkerr / hibp.py
Created Jan 22, 2019
check haveibeenpwned's API for passwords
View hibp.py
#!/usr/bin/env python3
import hashlib
from getpass import getpass
from requests import get
'''troy hunt runs haveibeenpwned.com. 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.
View apple-battery-time-remaining.sh
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"
}
View onion-lentil-curry.md

Lentils My Wife

Ingredients

  • 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
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)\")'";
system(toprint);
}
You can’t perform that action at this time.