Skip to content

Instantly share code, notes, and snippets.

@rtt
rtt / tinder-api-documentation.md
Last active Dec 2, 2022
Tinder API Documentation
View tinder-api-documentation.md

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

@bishboria
bishboria / springer-free-maths-books.md
Last active Nov 22, 2022
Springer made a bunch of books available for free, these were the direct links
@tmalsburg
tmalsburg / predict_vs_simulate.org
Last active Nov 18, 2022
Predict vs simulate in lme4
View predict_vs_simulate.org

Predict vs simulate in lme4

For this investigation we are going to use the sleepdata data set from the lme4 package. Here is the head of the data frame:

@dive
dive / fix-emacs-permissions-catalina.el
Created Sep 29, 2019
Fix Emacs permissions on macOS Catalina
View fix-emacs-permissions-catalina.el
;;; package --- Fix permissions for Emacs.app on macOS Catalina
;;; Author: Artem Loenko
;;; Mail-To: <artyom.loenko@mac.com>
;;; Commentary:
;;; Code:
(defconst _default-emacs-app-plist-path "/Applications/Emacs.app/Contents/Info.plist")
(defconst _temp-buffer-name "*fixing Emacs permissions*")
(defconst _temp-buffer (get-buffer-create _temp-buffer-name))
(with-current-buffer _temp-buffer (erase-buffer))
@shortsightedsid
shortsightedsid / cl-tcpip.lisp
Last active Oct 11, 2022
Short guide to TCP/IP Client/Server programming in Common Lisp using usockets
View cl-tcpip.lisp
; Short guide to TCP/IP Client/Server programming in Common Lisp using usockets
;
; The main reason for this guide is because there are very few examples that
; explain how to get started with socket programming with Common Lisp that I
; could understand. After spending a day trying, I finally came up with a small
; bit of code that makes it easy to understand the basics. I've written this
; primarily for myself, but should help others get started as well.
; As usual, we will use quicklisp to load usocket.
@jerrypnz
jerrypnz / test_watchers.clj
Created Nov 6, 2012
Clojure wrapper for Java 7 WatchService (java.nio.files)
View test_watchers.clj
(load-file "./watch_service.clj")
(refer 'watch-service)
(defn print-ev
[ev ctx]
(println "[foo]" ev " --> " ctx)
(println "Parent Dir:" (.getParent ctx)))
(defn print-ev-2
[ev ctx]