I hereby claim:
- I am steve9001 on github.
- I am steve9 (https://keybase.io/steve9) on keybase.
- I have a public key ASCJ_yDjjJIrZZlw24lUs5EzTLcck8paPeHQGHvcSkdu6Qo
To claim this, I am signing this object:
| /** | |
| * Creates a pseudo-random value generator. The seed must be an integer. | |
| * | |
| * Uses an optimized version of the Park-Miller PRNG. | |
| * http://www.firstpr.com.au/dsp/rand31/ | |
| */ | |
| function Random(seed) { | |
| this._seed = seed % 2147483647; | |
| if (this._seed <= 0) this._seed += 2147483646; | |
| } |
I hereby claim:
To claim this, I am signing this object:
| date | sell_type | sell_quantity | buy_type | buy_quantity | |
|---|---|---|---|---|---|
| Mar 28, 2018 5:09:04 AM | USD | 500 | BTC | 0.06197515 | |
| Mar 29, 2018 4:59:23 PM | USD | 800 | BTC | 0.11595698 | |
| Apr 21, 2018 2:14:32 AM | BTC | 0.05 | USD | 444.66 | |
| May 05, 2018 8:15:17 AM | BTC | 0.05 | USD | 494.18 |
| say -v princess 'lalalalalala' & | |
| say -v 'Agnes' lalalalala & | |
| say -v 'Albert' lalalalala & | |
| say -v 'Alex' lalalalala & | |
| say -v 'Bad News' lalalalala & | |
| say -v 'Bahh' lalalalala & | |
| say -v 'Bells' lalalalala & | |
| say -v 'Boing' lalalalala & | |
| say -v 'Bruce' lalalalala & | |
| say -v 'Bubbles' lalalalala & |
| # supersub text_to_replace replacement_text directory | |
| function supersub { | |
| ack -l "$1" "$3" | xargs perl -p -i -e "s/$1/$2/g" | |
| } |
| class Exception | |
| def pretty | |
| %|\n#{self.class} (#{self.message}):\n #{backtrace.join("\n ")}\ n| | |
| rescue Exception => e | |
| "error in Exception#pretty: #{e}" | |
| end | |
| end |
| #!/usr/bin/env zsh | |
| # Install the following first: | |
| # | |
| # - chrome | |
| # - iterm2 | |
| # - connect.apple.com command-line: XCode tools | |
| successfully() { |
| class Exception | |
| def pretty | |
| trace = backtrace.select{ |l|l.start_with?(Rails.root.to_s) }.join("\n ") | |
| "#{self.class}\n#{message}\n#{trace}\n" | |
| end | |
| end |
In your form, gather email address, credit card, and amount
With balanced.js post the card data to Marketplace cards_uri
| desc "db:test:prepare makes the connected db different from the one implied by Rails.env" | |
| task :foo => :environment do | |
| puts Rails.env #development | |
| puts User.count #1 | |
| Rake::Task["db:test:prepare"].invoke | |
| puts Rails.env #?? | |
| puts User.count #?? | |
| end |