This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import RPi.GPIO as GPIO | |
from time import sleep | |
GPIO.setmode(GPIO.BCM) | |
GPIO.setup(5,GPIO.OUT) | |
GPIO.setup(6,GPIO.OUT) | |
GPIO.setup(17,GPIO.OUT) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THE WINTER HAS COME CHALLENGE! | |
Map: | |
8887 seed | |
Coordinates: 55.47 E, 78.93 N | |
AI Storyteller: | |
Randy Random | |
Rough |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |