See release 10.0.0-alpha.0 for a full list.
h->createElementVNode.nodeName->VNode.typeVNode.attributes->VNode.propsVNode.children->VNode.props.children
| function leakyDebounce(fn, delay, max = 1) { | |
| let timer, ctx, args, outstanding = 0, queue = []; | |
| function done() { | |
| [ ctx, args ] = queue.shift(); | |
| fn.apply(ctx, args); | |
| if (queue.length) { | |
| timer = setTimeout(done, delay); | |
| } | |
| } |
See release 10.0.0-alpha.0 for a full list.
h -> createElementVNode.nodeName -> VNode.typeVNode.attributes -> VNode.propsVNode.children -> VNode.props.children| ##### | |
| # File: send-eml.sh | |
| # Author: pl12133 | |
| # Description: Send an eml file through an SMTP service using netcat | |
| # Usage: ./send-eml.sh [file] [smtp-server] | |
| ##### | |
| set -e | |
| # like `cat`, but it waits for a reply. | |
| function slowcat(){ cat "$@" | while read; do sleep 0.5; echo "$REPLY"; done; } |