Skip to content

Instantly share code, notes, and snippets.

View s4w3d0ff's full-sized avatar
:shipit:
1 ¯\_(ツ)_/¯ 0

s4w3d0ff s4w3d0ff

:shipit:
1 ¯\_(ツ)_/¯ 0
View GitHub Profile
@s4w3d0ff
s4w3d0ff / bf4stats.py
Created October 27, 2016 19:58
Simple bf4stats.com api wrapper
#!/usr/bin python
import requests
commands = ['playerInfo', 'playerRankings', 'onlinePlayers']
platforms = ['pc','xbox','ps3','xone','ps4']
posout = ['json', 'jsonp', 'js', 'lines']
playeroptions = [
'imagePaths',
'details',
'names',
@s4w3d0ff
s4w3d0ff / im_still_listening.md
Last active May 22, 2017 00:50
I'm still listening pandora
javascript:function myMethod( ) { document.querySelector("button[data-qa='keep_listening_button']").click();} var timer = setInterval(myMethod, 1000); if(timer) { alert('Thanks for listening!'); }
@s4w3d0ff
s4w3d0ff / torhasher.py
Last active July 2, 2021 06:41 — forked from james-see/torhasher.py
create a tor hashed password without using `tor --hash-password`
from os import urandom
from binascii import b2a_hex
from hashlib import sha1
def getTorPassHash(secret='password'):
'''
https://gist.github.com/jamesacampbell/2f170fc17a328a638322078f42e04cbc
'''
# static 'count' value later referenced as "c"
indicator = chr(96)

Keybase proof

I hereby claim:

  • I am s4w3d0ff on github.
  • I am s4w3d0ff (https://keybase.io/s4w3d0ff) on keybase.
  • I have a public key whose fingerprint is C952 7DDB 267F CE57 7DAC 61A1 B099 7C35 23A3 B07E

To claim this, I am signing this object: