This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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). |
NewerOlder