Geometry sphere is from http://codepen.io/Mombasa/pen/fvgqb
Warning: May contains ugly css, done while sleeping.
<div class="container"> | |
<h2><span>Stonks</span>, the sparkline renderer</h2> | |
<p>Here's a Stonk on my Wall Street bets, <span class="stonk"></span> . It's fine. | |
Here's a Stonk on my coffee consumption throughout the week <span class="stonk"></span>.</p> | |
<section> | |
<p><strong>Stonks</strong> can generate small visual aids for data right into an inline block of text, in the middle of a sentence for instance, or inside a title. <strong>Stonks</strong> automatically matches the line height of the inline element it's inside. </p> | |
</section> | |
</div> |
<div id="three-container"></div> | |
<div id="instructions"> | |
click and drag to control the animation | |
</div> |
Geometry sphere is from http://codepen.io/Mombasa/pen/fvgqb
Warning: May contains ugly css, done while sleeping.
const path = require('path') | |
const { spawn } = require('child_process') | |
const mkdirp = require('mkdirp') | |
const tar = require('tar') | |
const axios = require('axios') | |
const mongoUrl = require('mongodb-download-url') | |
const PORT = 23456 | |
const DOWNLOAD_DIR = path.join(__dirname, 'mongodb') |
/* global window */ | |
import _ from 'lodash' | |
import { BigNumber } from 'bignumber.js' | |
import EthereumTx from 'ethereumjs-tx' | |
import Wallet from 'ethereumjs-wallet' | |
import EthCrypto from 'eth-crypto'; | |
import Provider from '@liquality/provider' |
#!/bin/bash | |
# Symlink binaries | |
ln -s $(PWD)/bin/* /usr/local/bin | |
# Symlink man pages | |
ln -s $(PWD)/share/man/man1/* /usr/local/share/man/man1 | |
# Symlink libraries pages | |
ln -s $(PWD)/lib/* /usr/local/lib |
var Web3 = require('web3') | |
var ProviderEngine = require('web3-provider-engine') | |
var RpcSubprovider = require('web3-provider-engine/subproviders/rpc') | |
var LedgerWalletSubproviderFactory = require('ledger-wallet-provider').default | |
var engine = new ProviderEngine() | |
var web3 = new Web3(engine) | |
var ledgerWalletSubProvider = async LedgerWalletSubproviderFactory() | |
engine.addProvider(ledgerWalletSubProvider) |
contract IOwned { | |
// this function isn't abstract, since the compiler emits automatically generated getter functions as external | |
function owner() public view returns (address) {} | |
function transferOwnership(address _newOwner) public; | |
function acceptOwnership() public; | |
} |
import { Client, providers, networks } from 'chainabstractionlayer' | |
const { BitcoinRPCProvider, BitcoinLedgerProvider } = providers.bitcoin | |
const { EthereumRPCProvider, EthereumLedgerProvider } = providers.ethereum | |
const bitcoin = new Client() | |
bitcoin.addProvider(new BitcoinRPCProvider('http://localhost:8080', 'bitcoin', 'local321')) | |
bitcoin.addProvider(new BitcoinLedgerProvider({ network: networks.bitcoin })) | |
const ethereum = new Client() | |
ethereum.addProvider(new EthereumRPCProvider('http://localhost:8545', 'ethereum', 'local321')) |