I hereby claim:
- I am r24y on github.
- I am r24y (https://keybase.io/r24y) on keybase.
- I have a public key whose fingerprint is 7FDE 6EAA E22B 9594 0977 52A9 40DB B081 15CE D8F0
To claim this, I am signing this object:
FROM ubuntu:14.04 | |
RUN apt-get update && apt-get install -y software-properties-common curl | |
RUN apt-add-repository ppa:brightbox/ruby-ng | |
RUN curl -sL https://deb.nodesource.com/setup | sudo bash - | |
RUN apt-get update && apt-get -y upgrade | |
RUN curl -sL http://kindlegen.s3.amazonaws.com/kindlegen_linux_2.6_i386_v2_9.tar.gz > kindlegen.tgz | |
RUN curl -sL https://github.com/IDPF/epubcheck/releases/download/v3.0/epubcheck-3.0.zip > epubcheck.tgz | |
RUN apt-get install -y ruby2.1 ruby-switch texlive imagemagick nodejs inkscape calibre default-jre | |
RUN cd /tmp |
I hereby claim:
To claim this, I am signing this object:
Great place to look. I recommend reading the entire thing once or twice before starting coding so you get a sense of all the methods that are available to you.
A gist that explains from the ground up what FRP is in straightforward language. Uses RxJS for examples, but lots of graphics to get the point across really well.
Creating WebComponents with custom events, via the EventEmitter library (and using lodash to assign to the prototype).
<a href="javascript:(function()%7Bfunction%20callback()%7B(function()%7B%7D)()%7Dvar%20s%3Ddocument.createElement(%22script%22)%3Bs.src%3D%22https%3A%2F%2Fgist.githack.com%2Fbaconscript%2F835d1c57cffd21eca7ba%2Fraw%2Ff9e4453a1b39504030b1590bfa481444706b6475%2Finject.js%22%3Bif(s.addEventListener)%7Bs.addEventListener(%22load%22%2Ccallback%2Cfalse)%7Delse%20if(s.readyState)%7Bs.onreadystatechange%3Dcallback%7Ddocument.body.appendChild(s)%3B%7D)()">Add scripts</a> |
Item | Amount |
---|---|
Raspberry Pi A+ | $24.95 |
Graphic positive LCD | $17.95 |
3 packs of tactile buttons @$2.50 ea | $7.50 |
MicroSD card | $7.95 |
[2x battery pack](http://www.adafruit.com/products/1781 @$9.95 ea) | $19.90 |
Total | $77.80 |
if [ -z "$COUCH_HOST" ]; then | |
echo "Need to set COUCH_HOST" | |
exit 1 | |
fi | |
curl -X PUT $COUCH_HOST/_config/httpd/enable_cors -d '"true"' | |
curl -X PUT $COUCH_HOST/_config/cors/origins -d '"*"' | |
curl -X PUT $COUCH_HOST/_config/cors/credentials -d '"true"' | |
curl -X PUT $COUCH_HOST/_config/cors/methods -d '"GET, PUT, POST, HEAD, DELETE"' | |
curl -X PUT $COUCH_HOST/_config/cors/headers -d '"accept, authorization, content-type, origin, referer, x-csrf-token"' |
// usage: node testgen.js > myFile.g | |
// alter the below variables to taste! | |
var ORIGIN = [0,0]; | |
var EXTENT = 90; | |
var NUM_LOOPS = 20; | |
var POINTS_PER_LOOP = 100; | |
var SPEED=20000; | |
var MAX_HEIGHT=250; | |
var i, theta, r, h; |
thing1 = | |
m_a: (list) -> | |
console.log "Processing [#{list.join ',' }]" | |
stream_a = new Bacon.Bus | |
stream_b = thing2.m_b(stream_a) | |
next = -> | |
return unless list.length | |
setTimeout (-> stream_a.push list.shift()), 300 | |
stream_b.onValue (result) -> | |
console.log "Got result #{result}" |