I hereby claim:
- I am abdulhannanali on github.
- I am computistic (https://keybase.io/computistic) on keybase.
- I have a public key ASDluo9mSP0chY4BMUs-7gIEDSS4OV8-gBuHUoTXO0V91wo
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
<meta charset=utf-8 /> | |
<title>Chrome File API tester</title> | |
<script> | |
window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem; |
/** | |
* Creates a push controller and exposes a public interface to the readable's controller | |
* by exposing the controller to it's parent scope | |
* | |
* Hacky but neat trick in order to transform data | |
* without the usage of Event Emitters | |
*/ | |
function createPushReadable() { | |
let rController; |
I hereby claim:
To claim this, I am signing this object:
🔔 NOTE: If you can, please buy software license to support the authors/developers!
/* Checkbox Hack */ | |
body { | |
} | |
input[type=checkbox] { | |
position: absolute; | |
top: -9999px; | |
left: -9999px; | |
} |
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |
console.log('This is going to be printed out in npx and that is going to be awesome'); | |
console.log('npx is an awesome utility that comes preinstalled with `npx` yayyyyy!'); |
// Display a Information about ServiceWorker Installation being Completed. | |
// An alternative and more battle tested way to do the same thing is found on Google I/O 2016 PWA (IOWA) | |
// https://github.com/GoogleChrome/ioweb2016/blob/8cfa27261f9d07fe8a5bb7d228bd3f35dfc9a91e/app/scripts/helper/service-worker-registration.js#L34-L46 | |
/// One way to register the Caching complete event for the service workers | |
/// I am using this in my application and this seems to be working | |
if ('serviceWorker' in navigator) { | |
const initialController = navigator.serviceWorker.controller; | |
navigator.serviceWorker.register('./serviceWorker.js').then(registration => { | |
if (registration.installing) { |
A curated list by Eric Elliott and friends. Suggest links in the gist comments.
Help us turn this into a proper website!
This is a very exclusive collection of only must-have JavaScript links. I'm only listing my favorite links. Nothing else makes the cut. Feel free to suggest links if you think they're good enough to make this list. The really curious should feel free to browse the comments to find other links. I can't guarantee the quality of links in the comments.