Skip to content

Instantly share code, notes, and snippets.

View picsoung's full-sized avatar
🧀
🇫🇷 🐸 Hacking around 🤓👨‍💻

Nicolas Grenié picsoung

🧀
🇫🇷 🐸 Hacking around 🤓👨‍💻
View GitHub Profile
@picsoung
picsoung / about.md
Last active June 5, 2017 21:16 — forked from catwell/about.md
Programming Achievements: How to Level Up as a Developer
@fractastical
fractastical / client.js
Created June 3, 2012 15:21 — forked from matteoagosti/client.js
Twitter OAUTH using Meteorjs
var ClientRouter = Backbone.Router.extend({
routes: {
'404': 'notfound',
'500': 'error',
'auth': 'auth',
'authCallback?oauth_token=:oauth_token&oauth_verifier=:oauth_verifier': 'authCallback',
'': 'defaultRoute'
},
defaultRoute: function() {
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var assert = require('assert')
console.log('\n===========');
console.log(' mongoose version: %s', mongoose.version);
console.log('========\n\n');
mongoose.connect('localhost', 'testing_1088');
mongoose.connection.on('error', function () {
@chengyin
chengyin / linkedout.js
Last active July 11, 2021 15:23
Unsubscribe all LinkedIn email in "one click". For an easier to use version, you can check out the bookmarklet: http://chengyin.github.io/linkedin-unsubscribed/
// 1. Go to page https://www.linkedin.com/settings/email-frequency
// 2. You may need to login
// 3. Open JS console
// ([How to?](http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers))
// 4. Copy the following code in and execute
// 5. No more emails
//
// Bookmarklet version:
// http://chengyin.github.io/linkedin-unsubscribed/
@theycallmeswift
theycallmeswift / api_dev_tools.md
Created October 24, 2013 21:18
The list of awesome API Developer Tools from John Sheehan's (https://twitter.com/johnsheehan) talk at API Strategy SF (http://www.apistrategyconference.com/2013SF/)
@rtt
rtt / tinder-api-documentation.md
Last active June 21, 2024 04:19
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!)

@jlbelmonte
jlbelmonte / apibunny.py
Last active August 29, 2015 14:00
apibunny
import requests
from sets import Set
_seed = 'http://apibunny.com/cells/taTKQ3Kn4KNnmwVI'
_base = 'http://apibunny.com/cells/'
visited = Set()
def processJson(json) :
cells = json.get('cells')[0]
@hannesvdvreken
hannesvdvreken / MazeCommand.php
Created April 18, 2014 22:24
LaravelPHP artisan command to search the apibunny maze
<?php
use Guzzle\Http\Client;
use Guzzle\Http\Exception\BadResponseException;
use Illuminate\Console\Command;
use Illuminate\Foundation\Application;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
class MazeCommand extends Command
@lanthaler
lanthaler / apibunny-middleware
Last active August 29, 2015 14:00
APItools middleware to convert apibunny.com responses to JSON-LD
return function(request, next_middleware)
local response = next_middleware()
if (response.headers['content-type'] == 'application/json') then
local data = json.decode(response.body)
if (data.mazes) then
data['@context'] = 'http://www.hydra-cg.com/examples/maze'
data['id'] = data.mazes[1].id
data['@type'] = 'Maze'
@scottmackenzzz
scottmackenzzz / MeteorSublimeTextProjectPrefs.json
Last active October 24, 2015 02:34
Meteor JS Sublime Text project preferences to ignore '.meteor', 'packages' (and other) folders for the purposes of better search. Reference → http://css-tricks.com/exclude-compiled-css-from-sublime-text-2-projects
{
"folders":
[
{
"path": "/path/to/my/app/",
"folder_exclude_patterns": [".meteor", "packages"]
}
]
}