Skip to content

Instantly share code, notes, and snippets.

View KratosGemini's full-sized avatar

Michael Cook KratosGemini

View GitHub Profile
@KratosGemini
KratosGemini / FineUploaderValidateEventBugOutput
Created July 30, 2014 17:47
Browser console output for a test for the Fine Uploader validate even bug
[Fine Uploader 5.0.3] Parsing template s3.jquery.fineuploader-5.0.3.min.js:16
[Fine Uploader 5.0.3] Template parsing complete s3.jquery.fineuploader-5.0.3.min.js:16
[Fine Uploader 5.0.3] Rendering template in DOM. s3.jquery.fineuploader-5.0.3.min.js:16
[Fine Uploader 5.0.3] Template rendering complete s3.jquery.fineuploader-5.0.3.min.js:16
[Fine Uploader 5.0.3] Grabbed 2 dropped files. s3.jquery.fineuploader-5.0.3.min.js:16
[Fine Uploader 5.0.3] Received 2 files or inputs. s3.jquery.fineuploader-5.0.3.min.js:16
data
Object {name: "a doc.txt", size: 1}
[Validate Handler] name: a doc.txt index.html:75
[Validate Handler] qqPath: undefined index.html:76
@KratosGemini
KratosGemini / FineUploaderValidateEventBugCode
Last active August 29, 2015 14:04
An example for a Fine Uploader bug dealing with the validate event and spaces
<!--
This is a document you can use when you start building the page that will contain
one or more Fine Uploader UI instances. A default template that can be customized
is located in the text/template script tag below.
Please see http://docs.fineuploader.com/features/styling.html for information
on how to customize this default template.
-->
<!DOCTYPE html>
<html>
@KratosGemini
KratosGemini / ISBNTableGenerator.js
Last active August 29, 2015 13:58 — forked from aurimasv/ISBNTableGenerator.js
A modification to https://gist.github.com/aurimasv/6693503 to output ISBN ranges for consumption by https://github.com/coolaj86/isbnjs. The range XML data can be generated from https://www.isbn-international.org/range_file_generation.
/*
***** BEGIN LICENSE BLOCK *****
Generates ISBN registrant tables given XML Range Message
(from http://www.isbn-international.org/page/ranges) loaded in the browser
Copyright © 2013 Aurimas Vinckevicius (aurimas.dev~at~gmail.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the