Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block cmdallas

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
View fully-tested-react-counter.js
// Component
class App extends Component {
constructor(props) {
this.state = { counter: 0 };
render() {
return (
cmdallas / asdf_zsh_config
Created Mar 31, 2019
asdf zsh configuration
View asdf_zsh_config
# Add this to ~/.zshrc after asdf has been installed
# Add asdf to PATH
# if in $PATH, remove, regardless of if it is in the right place (at the front) or not.
# replace all occurrences - ${parameter//pattern/string}
cmdallas / willy.pine
Last active Jun 8, 2018
Trading View script for the willy
View willy.pine
study(title="TheWilly", shorttitle="TheWilly")
length = input(21, minval=1)
upper = highest(length)
lower = lowest(length)
out = 100 * (close - upper) / (upper - lower)
src = out, len = input(14, minval=1, title="Length")
out2 = ema(out, len)
plot(out, color=#00f9ff, linewidth=2)
plot(out2, title="EMA", color=#fd00ff, linewidth=2)
band1 = hline(-20)
def sh(*args):
proc = subprocess.Popen(args, stdout=subprocess.PIPE)
stdout, _ = proc.communicate()
return stdout
cmdallas / bittrex_btc_markets.txt
Created Dec 20, 2017
Bittrex BTC markets for Trading View
View bittrex_btc_markets.txt
cmdallas /
Last active Dec 11, 2017
Skywire quickstart
# install
cd ${GOPATH}/src/
mkdir skycoin && cd $_
git clone -b dev
dep ensure
cd $GOPATH/src/
go install ./...
# run
cd $GOPATH/bin
cmdallas /
Last active Dec 5, 2017
Python equivalent to Ruby 'binding.pry'
import code; code.interact(local=dict(globals(), **locals()))
cmdallas /
Last active Dec 15, 2017
Golang installation
yum update
yum upgrade
tar -xvf go1.9.2.linux-amd64.tar.gz
sudo mv go /usr/local
rm go1.9.2.linux-amd64.tar.gz
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
cmdallas /
Last active Nov 27, 2017
Create Skycoin BBS board using the api
curl -X POST -F 'seed= ' -F 'alias=prblmchld' ''
curl -X POST -F 'alias=prblmchld' ''
curl -X POST -F 'seed= ' -F 'name=test1126' -F 'body=testing' ''
You can’t perform that action at this time.