First download the firmware in the Intel website.
Then open the mounted disk and remove everything inside. Unzip the content of the download in the drive then access the Edison true screen (see the tutorial bellow).
And run the command:
$ reboot ota
| 'use strict'; | |
| class Abstract { | |
| // A static abstract method. | |
| static foo() { | |
| if (this === Abstract) { | |
| // Error Type 2. Abstract methods can not be called directly. | |
| throw new TypeError("Can not call static abstract method foo."); | |
| } else if (this.foo === Abstract.foo) { | |
| // Error Type 3. The child has not implemented this method. | |
| throw new TypeError("Please implement static abstract method foo."); |
| // === Arrays | |
| var [a, b] = [1, 2]; | |
| console.log(a, b); | |
| //=> 1 2 | |
| // Use from functions, only select from pattern | |
| var foo = () => [1, 2, 3]; |
| // this will find all files ending with _test.js and run them with Mocha. Put this in your package.json | |
| "scripts": { | |
| "test": "find ./tests -name '*_test.js' | xargs mocha -R spec" | |
| }, | |
| package main | |
| import ( | |
| "context" | |
| "log" | |
| "net/http" | |
| "os" | |
| "os/signal" | |
| "time" | |
| ) |
| ### Directory | |
| alias ll="ls -lv" | |
| alias lla="ls -alv" | |
| alias glg="git log --pretty='format:%Cgreen%h%Creset %an - %s' --graph" | |
| alias gl="git log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen %cr %an%Creset'" | |
| alias gs="git status" | |
| alias gd="git diff" | |
| # add | |
| alias ga="git add" |
| #!/bin/bash | |
| set -e | |
| set -u | |
| if [ $# -eq 0 ]; then | |
| git submodule -q foreach 'echo $name' | xargs -n 1 -P 10 git-submodule-fetch | |
| else | |
| while [ $# -gt 0 ]; do | |
| (cd $1; git fetch -q || echo "Failed to fetch $1">&2) |
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
A running example of the code from:
This gist creates a working example from blog post, and a alternate example using simple worker pool.
TLDR: if you want simple and controlled concurrency use a worker pool.