Skip to content

Instantly share code, notes, and snippets.

View testeddoughnut's full-sized avatar

M. David Bennett testeddoughnut

View GitHub Profile
@testeddoughnut
testeddoughnut / megamangler.py
Last active October 1, 2020 05:05
megamangler.py
#!/usr/bin/env python
from __future__ import print_function
from argparse import ArgumentParser
from collections import namedtuple
import re
import subprocess
import sys
if sys.version_info[0] < 3:
@testeddoughnut
testeddoughnut / blink_the_lights.py
Created February 19, 2016 03:57
blink the lights on the pi
@testeddoughnut
testeddoughnut / eventcmd.py
Created February 7, 2016 09:54
Libnotify eventcmd for pianobar
#!/usr/bin/env python
from gi.repository import Notify
from urllib.parse import urlparse
import os
import requests
import sys
TMP_DIR = os.path.expanduser("~/.config/pianobar/tmp/")
DEFAULT_ICON = os.path.expanduser("~/.config/pianobar/pandora-transparent.png")
THE WINTER HAS COME CHALLENGE!
Map:
8887 seed
Coordinates: 55.47 E, 78.93 N
AI Storyteller:
Randy Random
Rough
david@foobar:~/Development/KerbalStuff/KerbalStuff > curl -s "http://localhost:5000/api/search/user?query=test" | python -m json.tool
[
{
"description": "blashlvbsfsd",
"forumUsername": "",
"ircNick": "",
"mods": [
{
"author": "testeddoughnut",
"default_version_id": 1,