Skip to content

Instantly share code, notes, and snippets.

View IstoraMandiri's full-sized avatar

Istora Mandiri IstoraMandiri

View GitHub Profile

Keybase proof

I hereby claim:

  • I am hitchcott on github.
  • I am hitchcott (https://keybase.io/hitchcott) on keybase.
  • I have a public key ASAM_Fm3_0RhrwnoMJuNz4ECeS5k6D7ZIOVJa7EMw88JWwo

To claim this, I am signing this object:

@IstoraMandiri
IstoraMandiri / bad-package-lock.json
Last active June 30, 2017 04:05
Good Lockfile, Bad Lockfile
{
"name": "spectrum-lightsuite",
"version": "0.0.1",
"lockfileVersion": 1,
"dependencies": {
"@digix/etc-redemption": {
"version": "0.0.11",
"resolved": "https://registry.npmjs.org/@digix/etc-redemption/-/etc-redemption-0.0.11.tgz",
"integrity": "sha512-dKPiEVcZrI+NL0H2l7/4chmnF1hA/jkpMRD7y42ikey+Xv1PB2As1ZKf21yrqPiJU12Rr1rZHRZ8+OMbEjmCOA==",
"dependencies": {
@IstoraMandiri
IstoraMandiri / bootnodes.txt
Last active February 24, 2017 13:21
ropsten bootnodes
enode://f4c83cbe22ae8e2664d8f664412766d8d9a732713ae46dc22fed0c45088287dc61367cda5f9feafb0f8f52f5835ce20cd40116064c37080775f5cbcfad6d59e9@80.215.236.49:30303
enode://1ad53266faaa9258ae71eef4d162022ba0d39498e1a3488e6c65fd86e0fb528e2aa68ad0e199da69fd39f4a3a38e9e8e95ac53ba5cc7676dfeaacf5fd6c0ad27@139.59.212.114:59496
enode://20fe450f878aeeb52d0767a40a3723b1d79fb2f52067a1b497ebbebd888d2979b6a18cac18d7fa5dcdd5ac75af30415b717c8b01cc4fd970a4eecb8faab2937f@52.212.78.63:37768
enode://212f39b032a91cdd11bf4bdae04f89a3483725aefeabd641daa6e5d8c6be2806ad7621f8d4b83257745615498e22435a0463c50b31a6ebf80fa22bba43fcb323@45.33.59.27:35378
enode://2a5d7cab86ac2c583e7972199f2e99eed76e68937846c1edc3e16d866a466c60cc44ba2c8f28c10a757e271681b64ac1e4362bd7075e9a6c352660ba3b98f03e@192.241.227.16:35684
enode://2b04cf751ec4a9c84e5969e689a98a569b7eb71fa107bf0c26ebe4fec8a697abeca63df67a15b05256e99617f15f06979c384fb1f906e9c5a009899bf5747e37@83.50.59.94:34396
enode://36bb28a7e7274ce8525e93850b8310b3f90e43b10e4f2cc1a9ea9eb81fcf3af57489428f38810
@IstoraMandiri
IstoraMandiri / webpack.config.js
Created May 26, 2016 16:19
Not working with `npm link`
var path = require('path');
var webpack = require('webpack');
module.exports = {
devtool: 'eval',
entry: [
'react-hot-loader/patch',
'webpack-dev-server/client?http://localhost:3000',
'webpack/hot/only-dev-server',
'./src/index'
@IstoraMandiri
IstoraMandiri / miner.js
Last active March 9, 2016 15:21
Modified mining script with transactions + 2 blocks
// Adapted from Iuri Matias' Embark framework
// https://github.com/iurimatias/embark-framework
// Modified by ryepdx to mine at regular intervals.
// modified by CTH to mine extra blocks for dapple
// usage:
// geth --datadir="/tmp/embark" --logfile="/tmp/embark.log" --port 30303 --rpc --rpcport 8545 --rpcaddr localhost --networkid 58554 --rpccorsdomain "*" --genesis="embark-config/genesis/dev_genesis.json" --rpcapi "eth,web3" --maxpeers 4 --password embark-config/password --unlock b7bbac2171acf6b2792ab6d43adcfe8987212dac js /Users/chris/Desktop/miner.js
(function() {
var main = function () {
@IstoraMandiri
IstoraMandiri / gist:c2a30c5f1a723de46663
Last active August 29, 2015 14:14
Sync Experiments with Node and Meteor
Date.now = -> return new Date().getTime()
if Meteor.isServer
logs = []
Meteor.defer ->
logs.push('setImmediate 1')
Meteor.setTimeout ->
logs.push('setTimeout 1')