Skip to content

Instantly share code, notes, and snippets.

View Hypnosphi's full-sized avatar
🐙

Filipp Riabchun Hypnosphi

🐙
View GitHub Profile
@Hypnosphi
Hypnosphi / docker-shell.sh
Created November 29, 2019 17:53 — forked from falvarez/docker-shell.sh
Run docker container, mount current working directory and get interactive shell
docker run -ti -v $(pwd):/tmp -w /tmp DOCKER_IMAGE /bin/bash
const {div, h, p, button, ul, li, makeDOMDriver} = CycleDOM;
const {Observable} = Rx;
const isolate = CycleIsolate;
function OriginalInput(sources) {
const input$ = sources.DOM
.events('input')
.map(ev => ev.target.value);
const vtree$ = sources.Assign