Skip to content

Instantly share code, notes, and snippets.

View captbunzo's full-sized avatar

Paul Thompson captbunzo

  • Oklahoma City, OK, USA, Earth
  • 02:33 (UTC -06:00)
  • LinkedIn in/paulthompson
View GitHub Profile
@captbunzo
captbunzo / gamemaster_extract_pokemon.sh
Created August 29, 2025 05:07
Extract Pokémon from the Game Master
#!/bin/bash
gamemaster=$1
if [[ -z $gamemaster ]]; then
echo "Usage: gamemaster_extract_pokemon.sh <game-master-file>"
exit
fi
cat $gamemaster | jq --raw-output 'map(select(.templateId | test("^V[0-9]{4}_POKEMON")))' > master_pokemon.json
@captbunzo
captbunzo / mons.v02-20180718.json
Created July 19, 2018 18:44
Memphis Raidmaker - Mons v02 [20180718]
[
{ "id" : "default", "name" : "-- choose a mon --", "level" : 0, "need" : 0, "active" : true },
{ "id" : "articuno", "name" : "Articuno", "level" : 5, "need" : 6, "active" : true },
{ "id" : "entei", "name" : "Entei", "level" : 5, "need" : 6, "active" : true },
{ "id" : "groudon", "name" : "Groudon", "level" : 5, "need" : 6, "active" : true },
{ "id" : "hooh", "name" : "Ho-Oh", "level" : 5, "need" : 6, "active" : true },
{ "id" : "kyogre", "name" : "Kyogre", "level" : 5, "need" : 6, "active" : true },
{ "id" : "latias", "name" : "Latias", "level" : 5, "need" : 6, "active" : true },
{ "id" : "latios", "name" : "Latios", "level" : 5, "need" : 6, "active" : true },
@captbunzo
captbunzo / custom.js
Last active December 6, 2017 08:02
custom.js for poke.farm
const BROWSER_ID_MSIE = 'MSIE';
const BROWSER_ID_EDGE = 'Edge';
const BROWSER_ID_CHROME = 'Chrome';
const BROWSER_ID_FIREFOX = 'Firefox';
const BROWSER_ID_SAFARI = 'Safari';
const BROWSER_ID_OPERA = 'Opera';
const BROWSER_ID_UNKNOWN = 'Unknown';
function getBrowserId() {
@captbunzo
captbunzo / rockethive.sh
Created September 30, 2017 19:59
RocketMap hive start/stop/status/attach script
#!/bin/bash
#
# rockethive.sh -- RocketMap hive start/stop/status/attach script
#
# CHANGELOG
#
# Date Author Description
# ---------------------------------------------------------------------------------------------------------
# 2017-09-01 captbunzo Initial version (again)
# 2017-09-12 captbunzo Modified to support multiple user region setup