Skip to content

Instantly share code, notes, and snippets.


Sean Beck ThaWeatherman

Block or report user

Report or block ThaWeatherman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
PoC for address verification via USPS API
import argparse
from bs4 import BeautifulSoup
import requests
ThaWeatherman /
Last active Jun 3, 2017
Monitors /r/learnpython/new and posts comments when code is improperly formatted, etc
A bot to offer suggestions to posters on /r/learnpython
on how to better ask their questions or fix their code.
import argparse
import ast
import logging
import re
import sys
import time
A small module for getting the prices of bitcoin and litecoin from
Works for both Python 2 and 3. Easily importable and requires only a simple call.
from urllib import urlopen
except ImportError:
# py 3
from urllib.request import urlopen
import json
Copyright 2016 Sean Beck
MIT license
A simple script that provides a function to send an email via Mailgun.
This requires obtaining an API key from Mailgun.
You must also supply the function with the domain name associated with your account.
Mailgun will generate one for you, so just use that if you do not have your own domain.
import requests
import time
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
url = ''
driver = webdriver.Firefox()
add = driver.find_element_by_name('commit')
ThaWeatherman / remote_servo.ino
Last active Jun 7, 2018
Remote control servo with Particle Photon. Apache License, copyright 2015 Sean Beck
View remote_servo.ino
Servo serv;
int pos = 0;
void setup() {
Spark.function("setpos", setPos);
Spark.variable("getpos", &pos, INT);
void loop() {
# Author: Sean Beck
# Copyright Sean Beck 2015
type lame >/dev/null 2>&1 || { echo >&2 "$(tput setaf 1)[-] lame required but it is not installed$(tput sgr0)"; exit 1; }
type wodim >/dev/null 2>&1 || { echo >&2 "$(tput setaf 1)[-] wodim required but it is not installed$(tput sgr0)"; exit 1; }
if ! [[ -a /dev/sr0 ]]
echo "$(tput setaf 1)[-] /dev/sr0 does not exist. Please plug in a CD drive$(tput sgr0)"
exit 1
Easy Mac
Copyright (2015) Sean Beck
Licensed under Creative Commons Attribution-ShareAlike 4.0 International
Easily change your MAC address on Linux using `ifconfig`
ThaWeatherman / make_creature.lua
Last active Aug 29, 2015
Code taken from Stripped out anything not important for creating a simple wild creature
View make_creature.lua
function gen_attribute(array)
local a=math.random(0,#array-2)
return math.random(array[a],array[a+1])
function get_body_size(caste,time)
something something docstring
from Crypto.Hash import SHA
BLOCK_SIZE = SHA.digest_size
O_CONST = 0x5c
I_CONST = 0x36
You can’t perform that action at this time.