Skip to content

Instantly share code, notes, and snippets.

🐺
Awoooooooooo!

Frank Slezak KazWolfe

🐺
Awoooooooooo!
Block or report user

Report or block KazWolfe

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
@KazWolfe
KazWolfe / openpgp.txt
Created Oct 2, 2018
OpenKeychain Linked Identity
View openpgp.txt
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:14c529ad4bace342f2e1aa5d258813f53a16ebb4]
@KazWolfe
KazWolfe / yk-sc_reset.sh
Last active Oct 24, 2017
GPG Dynamic Smartcard Script
View yk-sc_reset.sh
#!/bin/bash
# This script exists to solve a problem with GPG2's current smartcard system. Turns out there can only be
# one smart card (yubikey) attached to any public key at a time. This makes using your backup/spare keys
# very difficult. However, we can just automate the entire key registration procedure!
#
# Author: Kaz Wolfe (https://kazwolfe.io), 2017-10-23
# License: MIT
# INSTALL INSTRUCTIONS
@KazWolfe
KazWolfe / simple-echo.py
Created Mar 29, 2017
Simple echo script that does cool things.
View simple-echo.py
#!/usr/bin/env python
# Echoes the URL back, replacing / with spaces.
# Based off Nathan Hamiel's Reflect script (https://gist.github.com/huyng/814831)
# By Kaz Wolfe, 2017. No rights reserved.
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
from optparse import OptionParser
class RequestHandler(BaseHTTPRequestHandler):
@KazWolfe
KazWolfe / Recurse.java
Last active Jan 24, 2017
Recursively list directories/files through Java
View Recurse.java
/*
* Recursively list directories/files through Java, akin to Linux's `ls -R` command.
* (c) 2017, KazWolfe. Under MIT license.
*
* To use, save to `Recurse.java` and compile with `javac Recurse.java`.
* Run with `java -cp . Recurse /path/to/operate/on`. Be sure you are passing in a folder.
*/
import java.io.File;
import java.lang.String;
@KazWolfe
KazWolfe / Pokemon GO Data Dump.txt
Last active Sep 4, 2018
A data dump of a lot of cool Pokemon GO facts
View Pokemon GO Data Dump.txt
###########
# Pokemon GO Data Dump (in no order)
# By Kaz Wolfe (@KazWolfe on gaming.stackexhange.com)
# Dump version 3.3, pulled from 0.29.0
#
# Feel free to use this dump in anything, but please link back to it!
# This ensures that people can see and use the source of the data
# (which updates regularly), and find out new things.
#
# Thanks Anonymous for some data: https://gist.github.com/anonymous/077d6dea82d58b8febde54ae9729b1bf
View ProgrammerMilk.java
// Inspired by the joke:
// "A programmer was walking out the door for work when
// his wife said, 'While you're out, buy some milk.'
// The programmer never came home.
programmer.getToDoList().getLocationList().addItem(Location.ANYWHERE, () -> {programmer.moveTo(Location.SUPERMARKET);});
programmer.getToDoList().getLocationList().addItem(Location.SUPERMARKET, (neededAmount) -> {
// Get the price and inventory from the Economy.
double price = Economy.getStore(Store.SUPERMARKET).getInventory().getItemClass(ItemClass.MILK).getPrice();
@KazWolfe
KazWolfe / noaccess.c
Created Jun 29, 2016
A No Access Shell
View noaccess.c
// Compile using `gcc noaccess.c -o noaccess`
//
// Move to /usr/bin, and set as a shell for any deserving users
#include<stdio.h>
int main() {
printf("Shell access is denied. \nConnect using -N, or keep this window open to use your tunnel.\n");
while(1==1);
View keybase.md

Keybase proof

I hereby claim:

  • I am KazWolfe on github.
  • I am kazwolfe (https://keybase.io/kazwolfe) on keybase.
  • I have a public key whose fingerprint is 14C5 29AD 4BAC E342 F2E1 AA5D 2588 13F5 3A16 EBB4

To claim this, I am signing this object:

You can’t perform that action at this time.