Skip to content

Instantly share code, notes, and snippets.

View azproduction's full-sized avatar

Mikhail Davydov azproduction

View GitHub Profile
var Promise = function () {
var self = this;
if (!(self instanceof Promise)) return new Promise();
self.resolveCallbacks = [];
self.rejectCallbacks = [];
self.done = false;
self.error = null;
self.value = null;
self.chain = null;
@azproduction
azproduction / LICENSE.txt
Created September 13, 2012 12:22 — forked from 140bytes/LICENSE.txt
Ugly forEach polyfill for primitives
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
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.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@azproduction
azproduction / README.md
Created September 13, 2012 12:14
Simple JSDoc Parser

Code

/*not! @jsdoc*/

/**
 * Title
 *@pewpew1 ololo
 *
 * @pewpew2 ololo
var Point = function (x, y) {
if (arguments.length === 1) {
return new Point.fromString(x);
}
this.x = x;
this.y = y;
};
Point.fromString = function (x) {
@azproduction
azproduction / LICENSE.txt
Created March 27, 2012 19:33 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
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.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@azproduction
azproduction / LICENSE.txt
Created January 24, 2012 07:21 — forked from 140bytes/LICENSE.txt
Decimal to Roman
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Mikhail Davydov <azazel.private@gmail.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.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@azproduction
azproduction / LICENSE.txt
Created January 17, 2012 09:22 — forked from 140bytes/LICENSE.txt
Tiny HTML5 Audio player
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Mikhail Davydov <azazel.private@gmail.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.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@azproduction
azproduction / LICENSE.txt
Created January 17, 2012 09:08 — forked from 140bytes/LICENSE.txt
Tiny image loader
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Mikhail Davydov <azazel.private@gmail.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.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@azproduction
azproduction / LICENSE.txt
Created January 8, 2012 11:34 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Mikhail Davydov <azazel.private@gmail.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.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@azproduction
azproduction / LICENSE.txt
Created December 19, 2011 16:31 — forked from 140bytes/LICENSE.txt
Simple argv parser in 100 bytes
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Mikhail Davydov
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.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE