Skip to content

Instantly share code, notes, and snippets.

View th0mas's full-sized avatar
🤿
Diving into Rust

Tom Haines th0mas

🤿
Diving into Rust
View GitHub Profile

Keybase proof

I hereby claim:

  • I am th0mas on github.
  • I am tomhaines (https://keybase.io/tomhaines) on keybase.
  • I have a public key whose fingerprint is 1E16 A745 23B0 16BA 6FE5 8B53 6CEF C482 5784 10B3

To claim this, I am signing this object:

@th0mas
th0mas / haagenbargin.py
Last active May 7, 2019 22:17
Texts a number if Haagen Daas ice cream is cheap today
from bs4 import BeautifulSoup
from twilio.rest import Client
import requests
import re
CHEAP_PRICE = 2.50
TWILIO_ACCOUNT_SID = 'TWLILI_SID'
SECRET_KEY = 'TWILIO_SECRET'
TWILIO_NUMBER='00000000'
MY_NUMBER='00000000'
@th0mas
th0mas / ubuntu_benchmark_script.py
Created January 13, 2019 19:50
Ubuntu Security Best Practices
#!/usr/bin/env python3
"""
Python script that implements Ubuntu 16.04 best practices as specified by the
CIS Benchmark. Directly edits system files - use with caution haha.
Uses code from the CIS Ubuntu Linux Benchmark (v.1.10)
https://learn.cisecurity.org/benchmarks
"""
from subprocess import call as c

Keybase proof

I hereby claim:

  • I am tomisprettycool on github.
  • I am tomhaines (https://keybase.io/tomhaines) on keybase.
  • I have a public key ASAZzVwmkLrgFUWAddC7OzS1rexRPwkVYul8o91LYlwvUAo

To claim this, I am signing this object: