This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Steps to reproduce: | |
1) Visit http://jsfiddle.net/user/dashboard/ (I am JFSIII). Page works as expected. | |
2) Either click the next link http://jsfiddle.net/user/dashboard/2 OR refresh the page http://jsfiddle.net/user/dashboard/ | |
3) Error 500. | |
I'm sorry, but something went wrong on our side. It shouldn't actually happen. Please don't tell anyone :/ | |
Thanks, | |
John |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Beginning last Wednesday 9/1, and continuing as of 5:55 on 9/10, every SMS I send becomes 20+ messages assailing the recipient. | |
I don't have time to detail every time I've seen this pattern occur over the last week and a half but it's definitely harming my friends (a text at 3am, then one at 4am, then 5 in a row at 6am) and my relationship with them. | |
People are calling me asking me to make it stop, writing on my Facebook Wall (http://bit.ly/9uC35E), *turning off their phones*. Anything they can think of to make the pain stop. What's worse is that, often, if they send me a text asking me to stop, they get the offending text sent 3 times in response. That'll teach them to resist. | |
This isn't just an "inconvenience" to me. It's outright harm. Even more for the friends I made the mistake of texting. | |
While making it stop is the first priority, it cannot be your only response. I should be credited (I also received no texts for 60 hours) some amount and something should be done to make amends with the real victi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! Cross-browser-compatible setZeroTimeout | |
* | |
* I took the original setZeroTimeout and made it cross-browser-compatible, using setTimeout(fn, 0) as a fallback in case postMessage is not supported. | |
* Mathias Bynens <http://mathiasbynens.be/> | |
* See <http://mathiasbynens.be/notes/settimeout-onload> | |
* | |
* Copyright statement below: | |
* | |
* See <http://dbaron.org/log/20100309-faster-timeouts> | |
* By L. David Baron <[email protected]>, 2010-03-07, 2010-03-09 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! Cross-browser-compatible async | |
* | |
* I took Mathias' setZeroTimeout and changed it to async, based on http://fitzgeraldnick.com/weblog/35/. Some style changes (varible names, show logic first). | |
* | |
* I took the original setZeroTimeout and made it cross-browser-compatible, using setTimeout(fn, 0) as a fallback in case postMessage is not supported. | |
* Mathias Bynens <http://mathiasbynens.be/> | |
* See <http://mathiasbynens.be/notes/settimeout-onload> | |
* | |
* Copyright statement below: | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var int = 1234567; | |
(""+int).replace(/\B(?=(\d{3})+$)/g, ","); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!Array.prototype.indexOf) | |
{ | |
Array.prototype.indexOf = function( search, from ) | |
{ | |
var len = this.length; | |
from = ~~from || 0; | |
if (from < 0){ from += len; } | |
for (; from < len; from++){ | |
if (this[from] === search){ return from; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var hasSameOrigin = (function (window, document, undefined) { | |
var page = document.location, | |
protocol = page.protocol, | |
domain = document.domain, | |
port = page.port ? page.port : '', | |
sop_string = protocol + '//' + port + domain, | |
sop_regex = new RegExp('^' + sop_string), | |
http_regex = /:\/\//, | |
data_regex = /^data:/, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Moved forgeImage and hasSameOrigin to canvasFromImage. Still cleaning up the internal structure, but it works now. | |
* | |
* Killed renderClosePixels and reorganized closePixelate. | |
* | |
* What do you think? | |
*/ | |
function closePixelate( img, renderOptions ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// converts milliseconds to '3:45' or if hours > 0, '2:01:23' | |
var getTimeFromMillis = function( ms ) | |
{ | |
var seconds = ':' + twoDigit( ~~( ( ms / 1000 ) % 60 ) ), | |
minutes = ~~( ( ms / ( 1000 * 60 ) ) % 60 ), | |
hours = ~~( ( ms / ( 1000 * 60 * 60 ) ) ); | |
function twoDigit( n ) { return n < 10 ? '0' + n : n; } | |
return hours > 0 ? hours + ':' + twoDigit( minutes ) + seconds : minutes + seconds; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var image2canvas = (function ( global, document, undefined ) | |
{ | |
// parseUri 1.2.2 | |
// (c) Steven Levithan <stevenlevithan.com> | |
// MIT License | |
function parseUri (str) | |
{ | |
var o = parseUri.options, | |
m = o.parser[o.strictMode ? "strict" : "loose"].exec(str), | |
uri = {}, |