Skip to content

Instantly share code, notes, and snippets.

Noon - 3.PM.

  • Portfolio
  • Code Snippets
  • Ruby Lesson
  • Repair Linux Parition
  • The Ponies svg tilemap
  • Github Markdown Wiki Link compatability with gollum
thorsummoner /
Created May 5, 2014 04:11
A Post-Install software configuration script of my preferred LinuxMint Desktop Settings
# Lets get the apt stuff taken care of first.
sudo add-apt-repository -y ppa:webupd8team/sublime-text-3
sudo add-apt-repository -y ppa:numix/ppa
sudo apt-get update
sudo apt-get install --yes \
sublime-text-installer \
numix-gtk-theme \
numix-icon-theme-circle \
curl \

Mexican Spoon Bread

  1. Get the bacon pieces fried, about 10 slices. Save the grease, set it aside.
  2. Beat two eggs till frothy
  3. To the eggs, add:
    • 1 cup yellow cornmeal
    • 1 can creamed corn
    • 1/2 teaspoon baking soda plus 3/4 cup milk ( this helps to dissolve the soda so you wont get lumps(yuk) poor milk slowly into soda, just enough to dissolve it, then use rest of milk to clean extra that may sit on the bottom of the cup.
thorsummoner /
Created August 7, 2014 05:52
PyGtk3 Populate ComboBox from Glade in Python
<?xml version="1.0" encoding="UTF-8"?>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkListStore" id="myliststore">
<!-- column-name code -->
<column type="gchararray"/>
<!-- column-name legible -->
<column type="gchararray"/>
thorsummoner / radio-button.htm
Created August 13, 2014 16:45
Radio Buttons - On hover test
<!DOCTYPE html>
<title>Radio Button Test</title>
<!-- Css Credit: -->
<style type="text/css">
.radio-toolbar input[type="radio"] {
from itertools import izip, product, tee
# Logic functions: take and return iterators of truth values
def AND(a, b):
for p, q in izip(a, b):
yield p and q
def OR(a, b):
for p, q in izip(a, b):
.git/objects/pack$ PACKFILE=pack-<...>.pack ; mv $PACKFILE $PACKFILE.repack; git unpack-objects -r < $PACKFILE.repack
import argparse
import multiprocessing
import signal
import subprocess
from pprint import pprint
globallock = multiprocessing.Lock()
class BatchSubprocess(object):
thorsummoner /
Created January 5, 2015 08:57
Python Double Linked List
# Original Source:
class Node(object):
def __init__(self, data, prev, next): = data
self.prev = prev = next
thorsummoner /
Created January 17, 2015 00:18
Overloading the modulo operator to calculate percent.
from percent import Percent
from pprint import pprint
def main():
# Ten Percent
Percent(5) % 50