made with esnextbin
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
</head> | |
<body> | |
<button class="btn">Click Me</button> | |
<script src="index.js"></script> | |
</body> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
</head> | |
<body> | |
<script src="index.js"></script> | |
</body> | |
</html> |
made with esnextbin
made with esnextbin
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
import Html exposing (div, img, button, text, Html) | |
import Html.App as App | |
import Html.Events exposing (onClick) | |
import Random exposing (generate, int) | |
import Array exposing (fromList, get) | |
import Maybe exposing (withDefault) | |
import Html.Attributes exposing (src) | |
import Platform.Cmd exposing (batch, none) | |
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
// http://www.webpackbin.com/NyiticRzb | |
import {Stream} from 'most'; | |
import {change} from '@most/dom-event'; | |
const fromFileReader = (method, type, stream) => new Stream(new FileReaderSource(method, type, stream)); | |
class FileReaderSource { | |
constructor(method, type, stream) { | |
this.method = method; | |
this.type = type; |
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
#!/bin/bash | |
function install { | |
printf "\e[92m[~] Name your project: \e[0m\n" | |
read name | |
printf "\e[33m[~] Downloading awesomeness...\e[0m\n" | |
git clone https://github.com/mostjs/package-starter $name \ |
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
// http://www.webpackbin.com/EJxIbvTSW | |
import pull from 'pull-stream' | |
import {click /*, mouseover, pullEvent*/ } from './pull-dom-events' | |
const {filter, map, take, through, drain} = pull | |
const throughs = | |
pull( | |
filter(event => event.target.matches('.only-me')), | |
map(event => event.target.textContent), | |
through(data => console.count(data)), |
I hereby claim:
- I am davidchase on github.
- I am davidchase (https://keybase.io/davidchase) on keybase.
- I have a public key ASAfDVhu0aBOESksmS2lTCc72JlTvmlmn3hpj_Zt86ssEQo
To claim this, I am signing this object: