Skip to content

Instantly share code, notes, and snippets.

@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!)

@shekibobo
shekibobo / has_many_through_with_includes_test.rb
Last active September 20, 2018 08:36
Illustrates the issue described in [#9517](https://github.com/rails/rails/issues/9517).
unless File.exists?('Gemfile')
File.write('Gemfile', <<-GEMFILE)
source 'https://rubygems.org'
gem 'rails', github: 'rails/rails'
gem 'sqlite3'
GEMFILE
system 'bundle'
end
@oleander
oleander / gist:1181890
Created August 30, 2011 20:13
Radiofy.se flowchart

Radiofy.se flowchart

Radiofy.se flowchart

  1. Radiokanalerna kontrolleras och fetchas kontinuerligt m.h.a event machine. Tack Kim.
  2. Låten skickas vidare till respektive tjänst (Spotify, Grooveshark och iTunes), var vid en länk fås. Spot-projektet används för att hämta information från Spotify.
  3. All data skickas nu till en kö vid namn Beanstalkd för vidare bearbetning.
  4. En worker jobbar här med att bearbeta låtarna som lagts i kön.
  5. Informationen sparas i en MySQL-databas, övergången till PostgreSQL är inte långt borta.
  6. Låten sparas till minnet m.h.a memcached, för att göra låten lättillgänglig.
@oleander
oleander / gist:1175830
Created August 27, 2011 20:21
TvTorrents parser
#!/usr/bin/env ruby -w
require "rubygems"
require "rest-client"
require "nokogiri"
require "prowl"
require "colorize"
require "ruby-growl"
require "yaml"
require "rtransmission"