react + redux + RR
It uses https://gist.github.com/iNikNik/3c1b870f63dc0de67c38 for stores and actions.
1) create redux
const redux = createRedux(state);2) get requireAccess func => bindCheckAuth to redux
| #! /usr/bin/env bash | |
| # Insert a USB key. | |
| # if needed initialize it with MS/DOS FAT and MBR | |
| # Download the Mint ISO image | |
| # Convert the ISO -> IMG | |
| hdiutil convert -format UDRW -o linuxmint-17.3-cinnamon-64bit linuxmint-17.3-cinnamon-64bit.iso | |
| # Run a diskutil list to know the device for the USB key, e.g.: /dev/disk3 |
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "os/signal" |
react + redux + RR
It uses https://gist.github.com/iNikNik/3c1b870f63dc0de67c38 for stores and actions.
1) create redux
const redux = createRedux(state);2) get requireAccess func => bindCheckAuth to redux
| code;name | |
| 01;Personal Care Activities | |
| 0101;Sleeping | |
| 0102;Grooming | |
| 0103;Health-related self care | |
| 0104;Personal Activities | |
| 0105;Personal Care Emergencies | |
| 0199;Personal care, n.e.c.* | |
| 02;Household Activities | |
| 0201;Housework |
| # Example Dockerfile | |
| FROM hello-world |
| import LogmaticJs from 'logmatic-js'; | |
| const track = function (verb) { | |
| // Event fields | |
| const _verb = verb; | |
| let _object = null; | |
| let _target = null; | |
| let _start = null; |
| var page = require('webpage').create(), | |
| url = 'http://example.com/'; | |
| // Put the event handlers somewhere in the code before the action of | |
| // interest (opening the page in question or clicking something) | |
| // http://phantomjs.org/api/webpage/handler/on-console-message.html | |
| page.onConsoleMessage = function(msg, lineNum, sourceId) { | |
| console.log('CONSOLE: ' + msg + ' (from line #' + lineNum + ' in "' + sourceId + '")'); | |
| }; |