I hereby claim:
- I am cosine on github.
- I am cosinemhb (https://keybase.io/cosinemhb) on keybase.
- I have a public key ASAAV95bGv8DD2NqYYmJm8NWoddyGOykZwmO1Qo_xGPRJAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Change key values below for your certificate. | |
# Quickly create self-signed server cert. | |
(umask 077 && openssl genrsa -out config/cert.key 2048) | |
openssl req -new -key cert.key -out cert.crt -x509 -days 7305 -set_serial 01 -config /dev/fd/3 -extensions cert_server 3<<__EOF__ | |
[ req ] | |
distinguished_name = req_dn | |
prompt = no | |
[ req_dn ] |
require 'rest_client'; require 'json' | |
def gamble (wager) | |
JSON.parse(RestClient.get("http://roulette.engineyard.com/")).values[0] == "13" ? wager * 36 : 0 | |
end |