Following instructions from the excellent https://www.rinkeby.io/
A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,
sudo su | |
# update /etc/systemd/system/iovns.env with the latest artifacts... | |
sed --in-place 's!IMAGE_IOVNS=.*!IMAGE_IOVNS=https://github.com/iov-one/weave/releases/download/v1.0.4/bnsd-1.0.4-linux-amd64.tar.gz!' /etc/systemd/system/iovns.env | |
sed --in-place 's!IMAGE_TM=.*!IMAGE_TM=https://github.com/iov-one/tendermint-build/releases/download/v0.31.12-iov1/tendermint-0.31.12-linux-amd64.tar.gz!' /etc/systemd/system/iovns.env | |
# ...pick-up env vars... | |
set -o allexport ; source /etc/systemd/system/iovns.env ; set +o allexport # pick-up env vars | |
# ...remove outdated binaries... |
Following instructions from the excellent https://www.rinkeby.io/
A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,
The manual process is a bit more tedious than when using pods, for each pod you added you have to go in XCode and add them to the build. In order to do that:
-Werr
.import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
let fbInjected = false; | |
let fbLoaded = !!window.FB; | |
let fbCallbacks = []; | |
function onFbLoad() { | |
fbLoaded = true; | |
fbCallbacks.forEach((cb) => { |
/* | |
If your package.json file contains "start": "node ./bin/www" | |
Use the following command to bring up your app with forever | |
*/ | |
forever start --minUptime 1000 --spinSleepTime 1000 ./bin/www | |
/* Check list of forever process using the command */ | |
forever list |
ark-0.5.2.tgz/src/module.coffee:23:var Script = process.binding('evals').NodeScript; | |
bundlet-0.1.3.tgz/src/process.coffee:36: throw {error: 'not_supported', name: 'process.binding'} | |
creek-0.2.2.tgz/lib/runner.coffee:36: Script = process.binding('evals').Script | |
gulp-loader-1.1.2.tgz/Module.coffee:5:NativeModule = do (natives = Object.keys process.binding 'natives') -> | |
net-cluster-0.0.2.tgz/src/net-cluster.coffee:9:{TCP} = process.binding "tcp_wrap" | |
net-keepalive-0.2.7.tgz/lib/index.coffee:11: UV = process.binding? 'uv' | |
nice-http-0.1.0-alfa.tgz/src/_http_server.coffee:25:HTTPParser = process.binding('http_parser').HTTPParser | |
nodeBase-0.8.5.tgz/nodeBase-coffee.coffee:2:util = require(if process.binding('natives').util then 'util' else 'sys') | |
nodeBase-0.8.5.tgz/test/test-coffee.coffee:3:util = require(if process.binding('natives').util then 'util' else 'sys') | |
nsync-0.0.3.tgz/src/sftp.coffee:4:constants = process.binding 'constants' |
{ | |
// http://eslint.org/docs/rules/ | |
"ecmaFeatures": { | |
"binaryLiterals": false, // enable binary literals | |
"blockBindings": false, // enable let and const (aka block bindings) | |
"defaultParams": false, // enable default function parameters | |
"forOf": false, // enable for-of loops | |
"generators": false, // enable generators | |
"objectLiteralComputedProperties": false, // enable computed object literal property names |
import React from 'react'; | |
let lastScrollY = 0; | |
let ticking = false; | |
class App extends React.Component { | |
componentDidMount() { | |
window.addEventListener('scroll', this.handleScroll, true); | |
} |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
/** | |
* Module dependencies. | |
*/ | |
var express = require('express') | |
, routes = require('./routes') | |
, http = require('http'); | |
var app = express(); | |
var server = app.listen(3000); |