Skip to content

Instantly share code, notes, and snippets.

View rtt's full-sized avatar
🚍
' DROP TABLE user_statuses; --

Rich Taylor rtt

🚍
' DROP TABLE user_statuses; --
View GitHub Profile
@rtt
rtt / tinder-api-documentation.md
Last active May 5, 2024 15:28
Tinder API Documentation

Tinder API documentation

Note: this was written in April/May 2014 and the API may has definitely changed since. I have nothing to do with Tinder, nor its API, and I do not offer any support for anything you may build on top of this. Proceed with caution

http://rsty.org/

I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)

@rtt
rtt / gist:5a2e0cfa638c938cca59
Created August 14, 2014 09:46
example python tinderbot
# encoding: utf8 1,1 Top# encoding: utf8
import argparse
from datetime import datetime
import json
from random import randint
import requests
import sys
from time import sleep
br = brides
wi = wired
vg = vogue
gl = glamour
tr = traveller
ta = tatler
hg = house and garden
gq = gq
lo = love
at = ars technica
@rtt
rtt / humans.txt
Last active April 8, 2018 02:19 — forked from jessmatthews/humans.txt
New Humans.txt
# humanstxt.org/
# The humans responsible & technology colophon
# CONDE NAST BRITAIN - DIGITAL
6th and 7th Floor, Vogue House, Mayfair, London.
... occasionally also The Haunch of Venison Yard
# TECH TEAM

Keybase proof

I hereby claim:

  • I am rtt on github.
  • I am arrteetee (https://keybase.io/arrteetee) on keybase.
  • I have a public key ASCb73A1BIuNeI-pg6_hl8nwc-5dcK5_vtsQAXrqNzPhhwo

To claim this, I am signing this object:

@rtt
rtt / repo_unsub.py
Created February 20, 2020 17:17
mass github repo subscription delete
import os
import sys
import requests
def get_subscribed_repos_in_organization(organization, personal_access_token):
page = 1
has_more = True
while has_more:
print("GET https://api.github.com/user/subscriptions?per_page=100&page={}".format(page))
response = requests.get('https://api.github.com/user/subscriptions',
@rtt
rtt / aoc-2020-python-day1.py
Created December 1, 2020 15:35
advent of code 2020 - day 1
def get_input():
with open('1.txt') as f:
inp = f.readlines()
return list(map(int, map(str.strip, filter(None, inp))))
def get_answer():
expenses = get_input()
seen = set()
while expenses:
from itertools import combinations
from functools import reduce
from operator import mul
def get_input():
with open('1.txt') as f:
inp = f.readlines()
return list(map(int, map(str.strip, filter(None, inp))))
from collections import Counter
def get_input():
with open('2.txt') as f:
passwords = f.readlines()
return map(str.strip, passwords)
def get_password_specs(specs):