Skip to content

Instantly share code, notes, and snippets.

View igorls's full-sized avatar

Igor Lins e Silva igorls

View GitHub Profile
@igorls
igorls / logs.sh
Last active April 20, 2020 03:03
fio bp logs with account mappings
#!/bin/bash
add () {
# echo "$1 -> $2";
p=$p"-e 's/$1/$2/g' ";
}
add t21zeqsjq5cb "EOS Rio "
add wrcjejslfplp "EOSphere "
add dacobcm2lnnc "EOSDAC "
const total_accounts = 10000000;
const batch_size = 1000;
const contract = 'eosio.token';
const table_name = 'accounts';
const eos_api = "http://127.0.0.1:8888";
const fetch = require('node-fetch');
const fs = require('fs');
let initTime, endTime;
let intervalTimer;

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@igorls
igorls / fuse_socket.io.js
Last active May 10, 2018 21:59
socket.io 2.0.3 fixed for Fusetools compatibility
(function webpackUniversalModuleDefinition(root, factory) {
if (typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if (typeof define === 'function' && define.amd)
define([], factory);
else if (typeof exports === 'object')
exports["io"] = factory();
else
root["io"] = factory();
})(this, function() {