Skip to content

Instantly share code, notes, and snippets.

Rafael Rocha rafarocha

Block or report user

Report or block rafarocha

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rafarocha
rafarocha / fail_migration_start_node_chainlink_docker_image.md
Created Jun 18, 2019
fail_migration_start_node_chainlink_docker_image.md
View fail_migration_start_node_chainlink_docker_image.md
@rafarocha
rafarocha / log_fail_connect_chainlink_geth.md
Created Jun 17, 2019
log_fail_connect_chainlink_geth.md
View log_fail_connect_chainlink_geth.md
View erro_init_geth_docker.md

Command

MacBook-Pro-de-Rafael:chainlink rocha$ docker run --name eth -p 8546:8546 -v ~/.geth-ropsten:/geth -it \
>            ethereum/client-go:stable --testnet --syncmode light --ws \
>            --wsaddr 0.0.0.0 --wsorigins="*" --datadir /geth

Log

WARN [06-17|14:33:14.419] Sanitizing cache to Go's GC limits       provided=1024 updated=329
@rafarocha
rafarocha / run_chainlink_node.md
Last active Jun 16, 2019
run_chainlink_node.md
View run_chainlink_node.md
View Oracle.sol
pragma solidity 0.4.24;
// File: openzeppelin-solidity/contracts/ownership/Ownable.sol
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
@rafarocha
rafarocha / RopstenConsumer.sol
Last active May 16, 2019
chainlink examples contract from tutorial
View RopstenConsumer.sol
pragma solidity 0.4.24;
// File: solidity-cborutils/contracts/Buffer.sol
library Buffer {
struct buffer {
bytes buf;
uint capacity;
}
View routers_chainlink.md
@rafarocha
rafarocha / .log
Created May 22, 2018
lnav crash strftime function
View .log
2018-05-22T09:33:21.834 D logfile.cc:220 /home/rocha/logs/log_dmz/access_log-20180503:526759: out-of-time-order line detected 1525293281.000 < 1525293286.000
2018-05-22T09:33:21.834 D logfile.cc:220 /home/rocha/logs/log_dmz/access_log-20180503:526765: out-of-time-order line detected 1525293289.000 < 1525293290.000
2018-05-22T09:33:21.834 D logfile.cc:220 /home/rocha/logs/log_dmz/access_log-20180503:526766: out-of-time-order line detected 1525293281.000 < 1525293290.000
2018-05-22T09:33:21.834 D logfile.cc:220 /home/rocha/logs/log_dmz/access_log-20180503:526774: out-of-time-order line detected 1525293257.000 < 1525293292.000
2018-05-22T09:33:21.834 D logfile.cc:220 /home/rocha/logs/log_dmz/access_log-20180503:526776: out-of-time-order line detected 1525293245.000 < 1525293292.000
2018-05-22T09:33:21.834 D logfile.cc:220 /home/rocha/logs/log_dmz/access_log-20180503:526782: out-of-time-order line detected 1525293293.000 < 1525293294.000
2018-05-22T09:33:21.834 D logfile.cc:220 /home/rocha/logs/log_dmz/access_lo
@rafarocha
rafarocha / Main.java
Last active Aug 19, 2016
Testando indicadores de ponto de pedido
View Main.java
package indicadores;
public class Main {
public static double PesoCurvaA = 0.8, PesoCurvaB = 0.15, PesoCurvaC = 0.05;
public static double PesoNivelR = 1, PesoNivelM = 3, PesoNivelZ = 5;
/*
* problemas
@rafarocha
rafarocha / npm-debug.log
Created Jun 2, 2016
ionic project 2 conference app - npm install on linux ubuntu
View npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'install' ]
2 info using npm@1.3.10
3 info using node@v0.10.25
4 verbose readDependencies using package.json deps
5 verbose install where, deps [ '/home/rocha/projects/bitbucket/ionic-conference-app',
5 verbose install [ '@angular/common',
5 verbose install '@angular/compiler',
5 verbose install '@angular/core',
5 verbose install '@angular/http',
You can’t perform that action at this time.