Skip to content

Instantly share code, notes, and snippets.

View Xe's full-sized avatar

Xe Iaso Xe

View GitHub Profile
Xe / dark-compact.css
Last active September 17, 2015 22:23 — forked from acous/dark-compact.css
early dark theme for Shout irc
body {
background: #333;
color: #CCC;
font: 16px Lato, sans-serif;
margin: 0;
#main {
background: #222;
border-radius: 0px;
bottom: 0px;
Xe /
Last active September 6, 2015 14:48 — forked from ryancdotorg/
A FAT32 fragmenter, because I am a horrible person.
#!/usr/bin/env python
import random
import struct
import sys
# Most of the Fat32 class was cribbed from
def ppNum(num):
return "%s (%s)" % (hex(num), num)
def main(score, op_score):
score = int(input("How many points have you scored:"))
op_score = int(input("How many points has your opponent scored:"))
print ("The score is:", yourscore(score),"-", theirscore(score))
def yourscore(score):
if score == 0:
score = ("Love")
elif score == 1:
score = ("Fifteen")