Skip to content

Instantly share code, notes, and snippets.

View Xe's full-sized avatar
😂
h

Xe Iaso Xe

😂
h
View GitHub Profile
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")
@Xe
Xe / frag32.py
Last active September 6, 2015 14:48 — forked from ryancdotorg/frag32.py
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 https://gist.github.com/jonte/4577833
def ppNum(num):
return "%s (%s)" % (hex(num), num)
@Xe
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;