cd ~
wget http://nodejs.org/dist/v6.2.1/node-v6.2.1-linux-armv6l.tar.gz
tar -xzf node-v6.2.1-linux-armv6l.tar.gz
node-v6.2.1-linux-armv6l/bin/node -v
The last command should print v6.2.1.
Now you can copy it to /usr/local
Summary of 8080 Instructions | |
------- -- ---- ------------ | |
Abbreviations used in this Summary: | |
R Any of the 8-Bit registers A,B,C,D,E,H,L. | |
data Any 8-bit or 16-bit value. | |
PC Program Counter. | |
SP Stack Pointer. |
/** | |
* Web browsers use URIs for the href attribute of the <a> tag and for bookmarks. The URI scheme, such as http:, file:, or ftp:, specifies the protocol and the format for the rest of the string. | |
* Browsers also implement a prefix javascript: that to a parser is just like any other URI. | |
* Internally, the browser sees that the specified protocol is javascript, treats the rest of the string as a JavaScript application which is then executed, and uses the resulting string as the new page. | |
* | |
* The executing script has access to the current page, which it may inspect and change. | |
* If the script returns an undefined type (rather than, for example, a string), the browser will not load a new page, with the result that the script simply runs against the current page content. | |
* This permits changes such as in-place font size and color changes without a page reload. | |
*/ |
#!/usr/bin/python3 | |
import serial, time, sys, threading | |
from colorama import Fore, Style, init as colorama_init | |
colorama_init() | |
# lock to serialize console output | |
lock = threading.Lock() |
var net = require('net'); | |
// creates the server | |
var server = net.createServer(); | |
//emitted when server closes ...not emitted until all connections closes. | |
server.on('close',function(){ | |
console.log('Server closed !'); | |
}); |
/!\ Be very carrefull in your setup : any misconfiguration make all the git config to fail silently ! Go trought this guide step by step and it should be fine 😉
~/.ssh/config
, set each ssh key for each repository as in this exemple:function getAllVariables(){ | |
var searchVarByValue = function(searchString){ | |
var values = Object.keys(this.ValueToVar); | |
var findings = []; | |
for (var i=0; i< values.length; i++){ | |
if (values[i] == undefined) | |
continue; | |
var position = values[i].toLowerCase().indexOf(searchString.toLowerCase()); | |
if (position != -1){ | |
findings.push({ 'variable': this.ValueToVar[values[i]], 'value' : values[i] }); |
This is a gist used in the following blog posts:
const net = require("net"); | |
// creating a custom socket client and connecting it.... | |
const client = new net.Socket(); | |
client.connect({ | |
port: 2222 | |
}); | |
client.on("connect", () => { |