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
# THIS IS PROVIDED WITHOUT ANY WARRANTY EXPLICIT OR IMPLICIT | |
# THE AUTHORS ARE NOT RESPONSIBLE FOR ANY SECURITY ISSUES OR FINANCIAL LOSSES | |
# Installing requirements: pip install python-bittrex | |
# Then, change the next two lines with your Bittrex API info (with limit order & view info access) | |
BITTREX_PUBLIC = "INSERT BITTREX PUBLIC HERE" | |
BITTREX_SECRET = "INSERT BITTREX SECRET HERE" | |
# Finally, see the bottom of this file | |
# (do not edit below this point) |
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
0x69092D31943bCcBD4B81abF900dB8D4bCcB4f41a |
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
External storage on the EVM: a static recompilation approach 7 May 2017 | |
Luke Williams <shmookey@shmookey.net> Rev. 3 | |
This document describes a way of converting ordinary compiled EVM contracts to | |
a form suitable for use with an off-chain storage backend, such as the system | |
described by Smolenski for storing contract state on IPFS. This technique is | |
completely invisible to the contract developer and requires no modification to | |
contract logic. It is also generic to any EVM contract, regardless of the high | |
level language it was written in, and compatible with the public blockchain. |
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
External storage on the EVM: a static recompilation approach 7 May 2017 | |
Luke Williams <shmookey@shmookey.net> Rev. 3 | |
This document describes a way of converting ordinary compiled EVM contracts to | |
a form suitable for use with an off-chain storage backend, such as the system | |
described by Smolenski for storing contract state on IPFS. This technique is | |
completely invisible to the contract developer and requires no modification to | |
contract logic. It is also generic to any EVM contract, regardless of the high | |
level language it was written in, and compatible with the public blockchain. |
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
eth_dir=/<your dir> | |
data_dir=$eth_dir/chain | |
config_dir=$eth_dir/config | |
# Note: If on OSX you may need quotes are parameters. | |
# Init chain | |
geth --datadir $data_dir init $config_dir/genesis.json | |
# Access console |
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
Atom Setup | |
Packages | |
* React | |
* linter | |
* linter-eslint | |
* tabs-to-spaces | |
Shortcuts |
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
# proper command for changing root password on local box when you DO have access to the MySQL server already. | |
# Insecure (meant for dev box) | |
mysqladmin -u root -p password 'test' |
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
import React, { Component } from 'react'; | |
import { createStore, combineReducers, applyMiddleware, bindActionCreators } from 'redux'; | |
import { provide, connect } from 'react-redux'; | |
import thunk from 'redux-thunk'; | |
const AVAILABLE_SUBREDDITS = ['apple', 'pics']; | |
// ------------ | |
// reducers | |
// ------------ |
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
(function() { | |
// General Variables and RegEx | |
var mobileCookie = readCookie("mw_mobile_site"); | |
var regExUA = /ip(hone|od)|android.*(mobile)|blackberry.*applewebkit/i; | |
var regExDomain = /^(www(\d+)?\.)?(.*)$/; | |
var regExCookieDomain = /^(www(\d+)?\.)?(m.*\.)?(.*\.\w{3})$/; | |
// Build the top level domain | |
var hostname = window.location.hostname; |
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
font-face("fontawesome","fontawesome-webfont") |
NewerOlder