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
# add this to your vimrc | |
#let g:ycm_global_ycm_extra_conf = "~/.vim/.ycm_extra_conf_openframeworks.py" | |
# Partially stolen from https://bitbucket.org/mblum/libgp/src/2537ea7329ef/.ycm_extra_conf.py | |
import os | |
import ycm_core | |
# These are the compilation flags that will be used in case there's no | |
# compilation database set (by default, one is not set). |
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
var Web3 = require("web3"); | |
(function() { | |
// Planned for future features, logging, etc. | |
function Provider(provider) { | |
this.provider = provider; | |
} | |
Provider.prototype.send = function() { | |
this.provider.send.apply(this.provider, arguments); |
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
var solc = require('solc'); | |
var fs = require('fs'); | |
var Pudding = require('ether-pudding'); | |
//var contractName = 'Greeter'; | |
if(process.argv.length < 3) { | |
console.log('needs the contract Name as argument!'); | |
process.exit(1); | |
} | |
var contractName = process.argv[2]; |
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
var Web3 = require('web3'); | |
var web3 = new Web3(); | |
var provider = new web3.providers.HttpProvider('http://localhost:8545'); | |
web3.setProvider(provider); | |
if(process.argv.length < 3) { | |
console.log('needs the contract Name as argument!'); | |
process.exit(1); | |
} |
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
var Web3 = require('web3'); | |
var web3 = new Web3(); | |
var provider = new web3.providers.HttpProvider('http://localhost:8545'); | |
web3.setProvider(provider); | |
var GreeterContract = require('./Greeter.sol.js'); | |
GreeterContract.setProvider(provider); | |
GreeterContract.defaults({from:web3.eth.accounts[1]}); |
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
!------------------------------------------------------------------------------- | |
! Xft settings | |
!------------------------------------------------------------------------------- | |
!Xft.dpi: 96 | |
Xft.dpi: 192 | |
Xft.antialias: true | |
Xft.rgba: rgb | |
Xft.hinting: true | |
Xft.hintstyle: hintslight |
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
### Keybase proof | |
I hereby claim: | |
* I am daragao on github. | |
* I am doart3 (https://keybase.io/doart3) on keybase. | |
* I have a public key ASCPzNJiX4eeyjQbTN39wEvDLLO2eZMejZGzRJkZl6c2mwo | |
To claim this, I am signing this object: |
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
0x6167a665587a1c19d23f6452fdcc1b6fd60a0264 |
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
//self running function to encapsulate all the variables | |
var Test = function() { | |
var testBIN = '6060604052341561000c57fe5b5b60326000819055505b5b60e7806100256000396000f30060606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063b69ef8a8146044578063b6b55f25146067575bfe5b3415604b57fe5b60516098565b6040518082815260200191505060405180910390f35b3415606e57fe5b60826004808035906020019091905050609e565b6040518082815260200191505060405180910390f35b60005481565b60008160006000828254019250508190555060005490505b9190505600a165627a7a723058206751dd5bc72fc42f08633904726ab78c48328a747e7fa4147ad042d513e1a9480029'; | |
var testABI = [ | |
{ | |
"constant": true, |
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
#!/bin/bash | |
COUNTER=0 | |
trap '{ echo "Hey, you pressed Ctrl-C. Loop Counter: $COUNTER Time to quit." ; exit 1; }' INT | |
#./go-ethereum/build/bin/geth --bootnodes enode://f4642fa65af50cfdea8fa7414a5def7bb7991478b768e296f5e4a54e8b995de102e0ceae2e826f293c481b5325f89be6d207b003382e18a8ecba66fbaf6416c0@33.4.2.1:30303 --rpc | |
#Libs used for keccak-256sum | |
#https://github.com/maandree/libkeccak.git |
OlderNewer