Skip to content

Instantly share code, notes, and snippets.

View jpittman's full-sized avatar

Johnnie Pittman jpittman

View GitHub Profile
@jpittman
jpittman / srd_5e_monsters.csv
Last active March 19, 2022 07:33 — forked from tkfu/srd_5e_monsters.json
A JSON file with all the D&D 5e SRD monster data. Updated to include a CSV file as well.
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 2.
"name","meta","Armor Class","Hit Points","Speed","STR","STR_mod","DEX","DEX_mod","CON","CON_mod","INT","INT_mod","WIS","WIS_mod","CHA","CHA_mod","Damage Vulnerabilities","Damage Resistances","Saving Throws","Skills","Damage Immunities","Condition Immunities","Senses","Languages","Challenge","Traits","Actions","Reactions","Legendary Actions","img_url"
"Aboleth","Large aberration, lawful evil","17 (Natural Armor)","135 (18d10 + 36)","10 ft., swim 40 ft. ","21","(+5)","9","(-1)","15","(+2)","18","(+4)","15","(+2)","18","(+4)","","","CON +6, INT +8, WIS +6","History +12, Perception +10","","","Darkvision 120 ft., Passive Perception 20","Deep Speech, Telepathy 120 ft.","10 (5,900 XP)","<p><em><strong>Amphibious.</strong></em> The aboleth can breathe air and water. </p><p><em><strong>Mucous Cloud.</strong></em> While underwater, the aboleth is surrounded by transformative mucus. A creature that touches the aboleth or that hits it with a melee attack while within 5 feet of it must make a DC 14 Constitution saving t
#!/bin/bash
# A simple script to backup an organization's GitHub repositories.
GHBU_BACKUP_DIR=${GHBU_BACKUP_DIR-"github-backups"} # where to place the backup files
GHBU_ORG=${GHBU_ORG-"<CHANGE-ME>"} # the GitHub organization whose repos will be backed up
# (if you're backing up a user's repos instead, this should be your GitHub username)
GHBU_UNAME=${GHBU_UNAME-"<CHANGE-ME>"} # the username of a GitHub account (to use with the GitHub API)
GHBU_PASSWD=${GHBU_PASSWD-"<CHANGE-ME>"} # the password for that account
GHBU_GITHOST=${GHBU_GITHOST-"github.com"} # the GitHub hostname (see comments)
GHBU_PRUNE_OLD=${GHBU_PRUNE_OLD-true} # when `true`, old backups will be deleted
@jpittman
jpittman / notify.py
Last active August 29, 2015 13:57 — forked from lukaszb/notify.py
#!/usr/bin/env python
from Foundation import NSUserNotification
from Foundation import NSUserNotificationCenter
from optparse import OptionParser
def main():
parser = OptionParser(usage='%prog -t TITLE -m MESSAGE')
parser.add_option('-t', '--title', action='store', default='A title')
@jpittman
jpittman / license.rb
Created December 2, 2012 22:03
Easily create License files for your projects
#!/usr/bin/env ruby
#
# A simple script for quickly adding preformatted licenses to projects
#
# Your name to go into the license
$NAME = "Keith Smiley"
# Your website for the license
@jpittman
jpittman / manifest.plist
Created November 8, 2012 00:16 — forked from hramos/manifest.plist
Sample manifest file for Over The Air iOS deployment
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>