This file contains 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 inputfun | |
import outputfun | |
outputfun.writeot() | |
inputfun.readin() |
This file contains 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
Q = raw_input('Format Harddrive: Y/N ') | |
if Q == 'Y': | |
Q2 = raw_input('Are you sure: Y/N ') | |
if Q2 == 'Y': | |
print 'Nah to much work' | |
else: | |
print "I wasn't going to anyway" | |
exit() | |
else: | |
print "awww your lame" |
This file contains 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
def insultgen(): | |
from random import randrange | |
list1 = ['lazy','stupid','insecure','idiotic','slimy','slutty', | |
'smelly','pompous','communist','dicknose','pie-eating', | |
'racist','elitist','white trash','drug-loving','butterface', | |
'tone deaf','ugly','creepy'] | |
list2 = ['douche','ass','turd','rectum','butt','cock','shit', | |
'crotch','bitch','turd','prick','slut','taint','fuck', | |
'dick','boner','shart','nut','sphincter'] | |
list3 = ['pilot','canoe','captain','pirate','hammer','knob','box','jockey', |
This file contains 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
function timecal(entryTime, exitTime){ | |
var enh = entryTime.slice(0,2); | |
var enm = entryTime.slice(3); | |
var exh = exitTime.slice(0,2); | |
var exm = exitTime.slice(3); | |
var en = new Date(2000, 0, 1,enh,enm); | |
var ex = new Date(2000, 0, 1,exh,exm); | |
if (ex < en){ |
This file contains 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
"""AutoEmacs Document""" | |
#expiremental version | |
# imports | |
import sys | |
import os | |
import psutil | |
import subprocess | |
from argparse import ArgumentParser |
This file contains 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 requests | |
import time | |
timestamp = time.time() | |
timeformat = (time.strftime('%a, %d %b %Y %H:%M:%S GMT', time.gmtime(timestamp))) | |
url = 'http://stackoverflow.com/' | |
for x in range(100): | |
header = {'If-Modified-Since': timeformat} | |
r = requests.head(url, headers=header) | |
print r |
This file contains 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
from random import randint | |
import sys | |
number_range = [1,100] | |
def number_gen(number_range): | |
""" Generates the number to guess""" | |
return randint(number_range[0],number_range[1]) | |
def main(): | |
"""the main module!""" |
This file contains 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
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:dfddaa6279e143a7c58bb122741657ae9190723c] |
This file contains 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 python3 | |
import sys | |
import time | |
import random | |
import simpleaudio as sa | |
parser = argparse.ArgumentParser(description="Converts html tables into csv tables") | |
parser.add_argument("-v","--verbose", help="Enables verbose mode, useful for debugging.", action="store_true") | |
args = parser.parse_args() |
This file contains 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
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:dfddaa6279e143a7c58bb122741657ae9190723c] |
OlderNewer