Skip to content

Instantly share code, notes, and snippets.

@sethdmoore
sethdmoore / fix_namespace_alias_qualifiers.py
Last active July 6, 2020 17:57
Fix Godot's failed parsing of protobuf generated code.
#!/usr/bin/env python3
import os
import sys
import re
BIN_NAME = "fix_namespace_alias_qualifiers.py"
def print_help():
print("Supply path to *.cs as only argument")
@sethdmoore
sethdmoore / .c
Created September 22, 2018 08:19
const int redPin = 11;
const int greenPin = 10;
const int bluePin = 9;
// limit to 254 obviously
const int maxBrightness = 250;
// minimum 1 obviously
const int minBrightness = 1;
@sethdmoore
sethdmoore / insult.py
Created January 2, 2016 18:14 — forked from quandyfactory/insult.py
Generates an Elizabethan insult.
#!/usr/bin/env python
__version__ = '0.2'
__releasedate__ = '2009-12-23'
__author__ = 'Ryan McGreal <ryan@quandyfactory.com>'
__homepage__ = 'http://quandyfactory.com/insult'
__repository__ = 'http://gist.github.com/258915'
__copyright__ = 'Copyright (C) 2009 by Ryan McGreal. Licenced under GPL version 2. http://www.gnu.org/licenses/gpl-2.0.html'
def generate_insult():