- https://authenticjobs.com/#category=4&onlyremote=1
- http://www.workingnomads.co/jobs
- https://remoteok.io/remote-jobs
- https://www.wfh.io/search?utf8=%E2%9C%93&query=front&commit=Go%21
- https://stackoverflow.com/jobs?sort=i&q=front&r=true
- https://weworkremotely.com/jobs/search?term=front
- http://jobs.smashingmagazine.com/
- http://frontenddeveloperjob.com/
- http://codepen.io/jobs
- https://news.ycombinator.com/item?id=12405698
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
{ | |
"name": "Debug with mocha", | |
"type": "node", | |
"request": "launch", | |
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
"stopOnEntry": false, | |
"args": ["--no-timeouts", "${relativeFile}"], | |
"cwd": "${workspaceRoot}" | |
} |
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 gulp = require('gulp'); | |
var rollup = require('rollup').rollup; | |
var nodeResolve = require('rollup-plugin-node-resolve'); | |
var commonjs = require('rollup-plugin-commonjs'); | |
var typescript = require('rollup-plugin-typescript'); | |
var replace = require('rollup-plugin-replace'); | |
gulp.task('default', ['bundle']); | |
gulp.task('bundle', function () { |
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
/* | |
* Create an event emitter that goes like this | |
* emitter = new Emitter(); | |
* | |
* Allows you to subscribe to some event | |
* sub1 = emitter.subscribe('function_name', callback1); | |
* (you can have multiple callbacks to the same event) | |
* sub2 = emitter.subscribe('function_name', callback2); | |
* | |
* You can emit the event you want with this api |
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
// returns a list of all elements under the cursor | |
// | |
function elementsFromPoint(x,y) { | |
var elements = [], previousPointerEvents = [], current, i, d; | |
if(typeof document.elementsFromPoint === "function") | |
return document.elementsFromPoint(x,y); | |
if(typeof document.msElementsFromPoint === "function") | |
return document.msElementsFromPoint(x,y); | |
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
/** | |
* Convert an imageURL to a | |
* base64 dataURL via canvas | |
* | |
* @param {String} url | |
* @param {Object} options | |
* @param {String} options.outputFormat [outputFormat='image/png'] | |
* @param {Float} options.quality [quality=1.0] | |
* @return {Promise} | |
* @docs https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement#Methods |
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
// === Arrays | |
var [a, b] = [1, 2]; | |
console.log(a, b); | |
//=> 1 2 | |
// Use from functions, only select from pattern | |
var foo = () => [1, 2, 3]; |
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
/** | |
* Is / Does | |
* | |
* A poetic homage to Ruby. | |
* | |
* @author Nijiko Yonskai | |
* @license MIT | |
*/ | |
function is (value) { | |
return { |
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
/* | |
* This work is free. You can redistribute it and/or modify it under the | |
* terms of the Do What The Fuck You Want To Public License, Version 2, | |
* as published by Sam Hocevar. See the COPYING file for more details. | |
*/ | |
/* | |
* Easing Functions - inspired from http://gizma.com/easing/ | |
* only considering the t value for the range [0, 1] => [0, 1] | |
*/ | |
EasingFunctions = { |
This is now an actual repo:
NewerOlder