I hereby claim:
- I am dburrows on github.
- I am dburrowsstarling (https://keybase.io/dburrowsstarling) on keybase.
- I have a public key ASBKRUHIJqS7XPTVlCfyV2iW3lGdoQNfO7u2Inrnf0tOFAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions | |
| // - XState (all XState exports) |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| # generate by running command | |
| # code --list-extensions | xargs -L 1 echo code --install-extension | |
| code --install-extension Zignd.html-css-class-completion | |
| code --install-extension abusaidm.html-snippets | |
| code --install-extension angryobject.react-pure-to-class-vscode | |
| code --install-extension azemoh.one-monokai | |
| code --install-extension bibhasdn.unique-lines | |
| code --install-extension dbaeumer.vscode-eslint | |
| code --install-extension drKnoxy.eslint-disable-snippets |
| FROM ubuntu:14.04 | |
| RUN apt-get -y update | |
| RUN apt-get -y install software-properties-common | |
| RUN add-apt-repository ppa:chris-lea/node.js | |
| RUN apt-get -y update | |
| RUN apt-get -y install nodejs | |
| ADD . /src | |
| RUN cd /src; npm install | |
| EXPOSE 8080 | |
| CMD ["nodejs", "/src/index.js"] |
| // when using Browserify with Angular + ngmin you may do something like this | |
| // controllers/example-list.js | |
| module.exports = function ($scope) { | |
| //.. | |
| }; | |
| // example-module.js | |
| var exampleListController = require('./controllers/example-list'); |
| $type: "scale"; | |
| $value: 50%; | |
| $lb: "("; | |
| $rb: ")"; | |
| div { | |
| transform:( #{$type}#{$lb}#{$value}#{$rb} ); | |
| } |
| // brew install ansible didn't work properly, | |
| // even tried brew install python but no joy | |
| // so use pip on standard python install | |
| sudo pip install ansible | |
| // if you get errors try this | |
| // from https://github.com/ansible/ansible/issues/7146 | |
| When you get to the step 'sudo pip install ansible', do this instead: |
| var Q = require('q'); | |
| var HTTP = require("q-io/http"); | |
| Q.all( [ | |
| HTTP.request('https://mathstracker.co.uk/').timeout(5000).then(getStatus), | |
| HTTP.request('http://mammal.io/').timeout(5000).then(getStatus) | |
| ]) | |
| .then(function(resStatusArray) { | |
| console.log(resStatusArray); | |
| }) |