I hereby claim:
- I am THEMVFFINMAN on github.
- I am themuffinman (https://keybase.io/themuffinman) on keybase.
- I have a public key whose fingerprint is 453A CC99 3654 CE6E AC3F 5E30 6A2C 3658 0E12 8088
To claim this, I am signing this object:
/* | |
Lets you clean up your Garbage Youtube Recommendations | |
This just clicks the 'Not Interested' button on each video in your youtube recommendations. | |
Probably doesn't work if you are recommended a playlist. | |
*/ | |
for (let i = 0; i < 10; i++) | |
{ |
import re, os, sys | |
path = "EXTRACTED EPUB CONTENTS" | |
dirs = os.listdir(path) | |
for file in dirs: | |
if '.html' in file: | |
with open(path + "\\" + file, "r+") as f: | |
data = f.read() |
import requests | |
import time | |
def send_me_an_email(): | |
return requests.post( | |
"https://api.mailgun.net/v3/sendingdomain/messages", | |
auth=("api", "API"), | |
data={"from": "CIA <[email protected]>", | |
"to": ["myemail", "myemail"], | |
"subject": "Might be up", |
# -*- coding: utf8 -*- python | |
caesar = 13 | |
with open('ciphertext (2).txt', 'r') as f: | |
text = f.read() | |
converted = "" | |
for ch in text: | |
character = ord(ch) - caesar | |
converted = converted + unichr(character) |
#!/usr/bin/env python | |
# | |
# Adapted from script by Diana MacLean 2011 | |
# | |
# Adapted fro CS448G from Michael Noll's tutorial on : http://www.michael-noll.com/tutorials/writing-an-hadoop-mapreduce-program-in-python/ | |
# | |
# | |
from operator import itemgetter | |
import sys |
#!/usr/bin/python | |
import sys | |
import re | |
def main(argv): | |
line = sys.stdin.readline() | |
pattern = re.compile("[a-zA-Z][a-zA-Z0-9]*") | |
try: | |
while line: |
I hereby claim:
To claim this, I am signing this object:
[autorun] | |
icon=serious.ico | |
label=Serious |
/* | |
A solution to a rather unique problem. I was hired on as a CSS admin for a subreddit and ended up having to do | |
a lot more than just CSS. Needless to say I became the only active mod. Now it was a huge pain to look at the | |
Moderation Queue and see crap from 4-5 years ago. It's basically meaningless now to sift through them and | |
determine which is spam and which isn't. So I created this script to just remove everything. | |
P.S. Nothing I can do about the full second time limit. Reddit won't register it if it's anything less. | |
*/ | |
javascript: (function() { | |
var q = []; |
import mechanize, random | |
def random_line(afile): | |
line = next(afile) | |
for num, aline in enumerate(afile): | |
if random.randrange(num + 2): | |
continue | |
line = aline | |
return line.replace("\n", "") |