Skip to content

Instantly share code, notes, and snippets.

View joejenniges's full-sized avatar

Joe Jenniges joejenniges

View GitHub Profile
@joejenniges
joejenniges / gist:bfa707cd41fdd1077488
Created February 22, 2016 23:39
Project Mayhem Alts
<?php
header('content-type: text/plain');
$allyId = 99005015;
$data = file_get_contents('https://zkillboard.com/api/kills/allianceID/99005015');
$data = json_decode($data, true);
$alts = array();

Keybase proof

I hereby claim:

  • I am GunfighterJ on github.
  • I am gunfighterj (https://keybase.io/gunfighterj) on keybase.
  • I have a public key whose fingerprint is CEE8 353D 2AF5 9C95 22FF 31D2 D940 02EB 6115 0119

To claim this, I am signing this object:

@joejenniges
joejenniges / gist:3e239856ad32d45d9d0d
Last active August 29, 2015 14:02
ChatPipe, I disregard ever creating this
import hexchat
import subprocess
import os.path
__module_name__ = "ChatPipe"
__module_version__ = "1.0"
__module_description__ = "Use /chatpipe <file> to toggle all messages you send being piped through said program before going to your chat"
enabled = False
hooks = list()
@joejenniges
joejenniges / gist:b9ad94e2e4c5da7b6470
Last active August 29, 2015 14:02
ChatBash - So you can bash while you chat
import hexchat
import subprocess
__module_name__ = "ChatBash"
__module_version__ = "1.0"
__module_description__ = "Use /chatbash to toggle all messages you send being piped to bash"
enabled = False
hooks = list()
@joejenniges
joejenniges / gist:11388032
Last active August 29, 2015 14:00
Essentials Userdata UUID=>NAME converter.
for f in *.yml; do mv "$f" `grep lastAccountName $f | cut -d: -f2 | tr -d " "`.yml ; done
@joejenniges
joejenniges / Tempban.py
Last active January 30, 2016 11:04
Tempban script for hexchat, works with Inspircd based IRC networks if the m_timedbans module is loaded.
import hexchat
import re
__module_name__ = "Temp Ban"
__module_version__ = "1.0"
__module_description__ = "Easy command to tempban someone and kick them, requires InspIRCd and the m_timedbans module"
def formatTime(timestamp):
multipliers = {"y": "year", "w": "week", "h": "hour", "d": "day", "m": "minute", "s": "second"}