Skip to content

Instantly share code, notes, and snippets.

View kylefrost's full-sized avatar

Kyle Frost kylefrost

View GitHub Profile

Keybase proof

I hereby claim:

  • I am kylefrost on github.
  • I am kylefrost (https://keybase.io/kylefrost) on keybase.
  • I have a public key ASDY3amshOWay2JPq5630SH82Kdk72Nv_ijiVVqlPptl5Ao

To claim this, I am signing this object:

@kylefrost
kylefrost / update-filemanager.sh
Created July 27, 2017 14:11
Updater script for filemanager
#!/bin/bash
function currentverinstalled {
if [ ! -f .fmver ]; then
LINE=0
else
LINE=$(head -n 1 .fmver)
fi
LINE="${LINE//.}"
echo "${LINE//v}"
@kylefrost
kylefrost / obf.py
Created February 17, 2017 16:48
Obfuscation
(lambda _, __, ___, ____, _____, ______, _______, ________:
getattr(
__import__(True.__class__.__name__[_] + [].__class__.__name__[__]),
().__class__.__eq__.__class__.__name__[:__] +
().__iter__().__class__.__name__[_____:________]
)(
_, (lambda _, __, ___: _(_, __, ___))(
lambda _, __, ___:
chr(___ % __) + _(_, __, ___ // __) if ___ else
(lambda: _).func_code.co_lnotab,
@kylefrost
kylefrost / NameAndroidN.py
Created May 18, 2016 19:35
Submit every English word beginning with N to https://android.com/n
import requests
import requests.packages.urllib3
requests.packages.urllib3.disable_warnings()
with open("words.txt") as words:
for word in words:
word = word.strip().capitalize()
r = requests.post("https://services.google.com/fb/submissions/a20105800b9311e68bb7dd4c5e1cbace", data = { "suggestion" : word })
print "-------------------------------------"
@kylefrost
kylefrost / exp.py
Created October 9, 2015 16:42
Exponentially increasing 50/50 chance.
from random import randint
import time
start_time = time.time()
a = 0
b = 0
while a < 10:
i = 0
j = 0
@kylefrost
kylefrost / h4ck.py
Last active September 15, 2015 13:36
Send www.hmajoros.com 5000 emails
import requests
for i in range(5000):
payload = { "name" : "133t h4x0r", "email" : "133t@h4x0r.fuck", "message" : "wow so h4x0r3d, much fuck3d, 3hacked5me" }
r = requests.post("http://www.hmajoros.com/contact-submit", data=payload)
print "h4x0r3d" if r.status_code == 200 else "no can haz?"
@kylefrost
kylefrost / HOWTO.md
Last active July 31, 2021 19:24
How-To: Tweet All Commit Messages

Creating the post-commit file

Note: If you want to use your personal Twitter account to post commits, go to Step 2

  1. Create a new Twitter account for your commit messages. Example
  2. Go to http://dev.twitter.com and Sign In with your Twitter account you are posting commit messages to.
  3. Hover over your username in the top-right corner after signing in and select "My Applications"
  4. Create a new application
  5. The name, description, and site can all be whatever you want, but leave Callback URL empty
  6. Under "Application Settings" click "modify app permissions" next to "Access level"