This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let unionedData = _.union(fcas.data.data, dev.data.data, maturity.data.data, utility.data.data); | |
// reduce data.data | |
let reducer = (map, obj) => { | |
let projObj = {}; | |
if(map.hasOwnProperty(obj.project_id)) { | |
projObj = map[obj.project_id]; | |
} | |
projObj.project_id = obj.project_id; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src='https://unpkg.com/jquery@3.3.1/dist/jquery.min.js'></script> | |
<script src="https://unpkg.com/ramda@0.25.0/dist/ramda.min.js"></script> | |
<script src="https://unpkg.com/socket.io-client@2.1.1/dist/socket.io.slim.js"></script> | |
<script src='https://unpkg.com/leaflet@1.3.1/dist/leaflet.js'></script> | |
<link rel='stylesheet' href='https://unpkg.com/leaflet@1.3.1/dist/leaflet.css' /> | |
<script src='https://unpkg.com/leaflet.markercluster@1.3.0/dist/leaflet.markercluster.js'></script> |
curl -fsSL get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker your-user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> let {PrivateKey, PublicKey, Signature, Aes, key_utils, config} = require('eosjs-ecc') | |
> let privateWif | |
> PrivateKey.randomKey().then(privateKey => privateWif = privateKey.toWif()) | |
> pubkey = PrivateKey.fromWif(privateWif).toPublic().toString() |
I hereby claim:
- I am ghoti143 on github.
- I am ghoti143 (https://keybase.io/ghoti143) on keybase.
- I have a public key ASAO_5nlAaIJcgKtfDR2PbfkDJIX-ip7HzuzkTBoGE8JjAo
To claim this, I am signing this object:
npm i eosjs-ecc
node
let {PrivateKey, PublicKey, Signature, Aes, key_utils, config} = require('eosjs-ecc')
// Create a new random private key
let privateWif
PrivateKey.randomKey().then(privateKey => privateWif = privateKey.toWif())
Download zip from GitHub (https://github.com/EOSIO/eos-token-distribution)
Unzip and open docs/index.html in browser
Open console
Run these commands:
NewerOlder