Skip to content

Instantly share code, notes, and snippets.

@polerin
polerin / faker.js
Created October 23, 2015 20:52
Generate fake users for Parse.
"use strict";
/**
* This assumes emails.js is something like
* modules.export = ["email1@whdfafdasdf.no", "email2@whdasdfasdf.never",...];
*
*
* @param request
* @param status
*/
exports.generateFakeUserData = function (request, status) {
@polerin
polerin / gist:03247f74323daad1b8c6
Created November 11, 2014 14:28
Remove the YouTube floating header from a page. Useful if you want to watch some long running video in a smaller window.
// Create a new bookmark and paste this in.
// Any time you want to remove the header, select that bookmark while on the page.
javascript:document.getElementById('yt-masthead-container').remove();
@polerin
polerin / gist:6253451
Created August 16, 2013 20:56
Tweaks for wftda.tv live feed page
#videodetails {
width : 31%;
}
#video {
width : 68.5%;
}
#videopane {
height : 470px;