Vote results:
command | votes |
awsm | 16 |
norris | 14 |
domain | 13 |
zalgo | 13 |
meme | 11 |
inhistory | 9 |
todo | 8 |
// NOTICE 2020-04-18 | |
// Please see the comments below about why this is not a great PRNG. | |
// Read summary by @bryc here: | |
// https://github.com/bryc/code/blob/master/jshash/PRNGs.md | |
// Have a look at js-arbit which uses Alea: | |
// https://github.com/blixt/js-arbit | |
/** |
(function () { | |
"use strict"; | |
var parts = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', | |
canvas = document.createElement('canvas'), | |
context = canvas.getContext('2d'); | |
imgur(); | |
function makeImage(url, cb) { |
// ==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"]'), |
Vote results:
command | votes |
awsm | 16 |
norris | 14 |
domain | 13 |
zalgo | 13 |
meme | 11 |
inhistory | 9 |
todo | 8 |
##Sketching with css
This challenge is simple: Push the limits of CSS and make something beautiful and hacky1.
###Competition. If you would like to submit an entry, comment on this Gist or Ping me on StackOverflow and I will add your creating to the collection on codepen.
harthur/brain - neural networks karpathy/covnetjs - convolutional neural networks naturalnode/natural - bayesian classifier - NLP peterbraden/node-opencv - computer vision karpathy/svmjs - support vector machines karpathy/forestjs - random forests harthur/clusterfck - clustering
delete eval; | |
delete parseInt; | |
delete parseFloat; | |
delete isNaN; | |
delete isFinite; | |
delete decodeURI; | |
delete decodeURIComponent; | |
delete encodeURI; | |
delete encodeURIComponent; | |
delete Object.getPrototypeOf; |
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"; |
// assuming you're using express | |
'use strict'; | |
//express stuffs | |
var passport = require('passport'); | |
var user = require('./user'); | |
// Configs the passports | |
require('./passportConfig'); |