Skip to content

Instantly share code, notes, and snippets.

View tfogo's full-sized avatar

Tim Fogarty tfogo

View GitHub Profile
// This is why everyone needs jQuery in their lives...
$('img').each(function(){$(this).attr('src','http://www.placekitten.com/'+(Math.floor(Math.random()*100)+150)+'/'+(Math.floor(Math.random()*100)+150))});
@tfogo
tfogo / 0_reuse_code.js
Created October 17, 2013 21:09
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@tfogo
tfogo / liwpp.js
Last active December 25, 2015 09:59 — forked from SeraphimSerapis/liwpp.js
'use strict';
var request = require('request');
var querystring = require('querystring');
/*
* CLIENT DETAILS
*/
var CLIENT_ID = "CLIENT_ID_HERE";