We need to edit/test all the plugins, found here: https://github.com/SomeKittens/bot-plugins
Plugins are in this form:
(function() {
// ...plugin
})();
Switch that to this:
RYAN KINAL ESQUIRE PUBLIC LICENSE | |
Version 1, February 2014 | |
Copyright (C) 2014 Ryan Kinal <email@address.com> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed, it is not used for evil (If you have to ask yourself if it is being used for evil, it is probably being used for evil.), and you consider buying Ryan Kinal a beer(no cheap stuff... well okay). | |
RYAN KINAL ESQUIRE PUBLIC LICENSE |
We need to edit/test all the plugins, found here: https://github.com/SomeKittens/bot-plugins
Plugins are in this form:
(function() {
// ...plugin
})();
Switch that to this:
// assuming you're using express | |
'use strict'; | |
//express stuffs | |
var passport = require('passport'); | |
var user = require('./user'); | |
// Configs the passports | |
require('./passportConfig'); |
Promise.longStackTraces(); | |
//end debug | |
/** | |
Hijack Promise.map to accept parallelism limit argument | |
**/ | |
function queueConcurrent(work, degreeOfParallelism) { | |
// work is array of functions returning promises | |
"use strict"; |
delete eval; | |
delete parseInt; | |
delete parseFloat; | |
delete isNaN; | |
delete isFinite; | |
delete decodeURI; | |
delete decodeURIComponent; | |
delete encodeURI; | |
delete encodeURIComponent; | |
delete Object.getPrototypeOf; |
Vote results:
command | votes |
awsm | 16 |
norris | 14 |
domain | 13 |
zalgo | 13 |
meme | 11 |
inhistory | 9 |
todo | 8 |
// ==UserScript== | |
// @name Favicon update for pinned chat | |
// @version 0.1 | |
// @description Updates the favicon with the message count | |
// @match http://chat.stackoverflow.com/* | |
// ==/UserScript== | |
var canvas = document.createElement('canvas'), | |
ctx = canvas.getContext('2d'), | |
origFav = document.querySelector('[rel="shortcut icon"]'), |
(function () { | |
"use strict"; | |
var parts = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', | |
canvas = document.createElement('canvas'), | |
context = canvas.getContext('2d'); | |
imgur(); | |
function makeImage(url, cb) { |
function XYZ() { | |
X(); | |
} | |
function X() { | |
// do X | |
Y(); | |
} | |
function Y() { |
A curated list of awesome minification tools