Skip to content

Instantly share code, notes, and snippets.

View mikegogulski's full-sized avatar

Mike Gogulski mikegogulski

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mikegogulski on github.
  • I am mikegogulski (https://keybase.io/mikegogulski) on keybase.
  • I have a public key whose fingerprint is 36DC 9AED 07E6 8CC1 27B9 33DB A400 9DD2 9C73 E86A

To claim this, I am signing this object:

(define (verse v)
(let (
(pl (lambda (n) (if (= n 1) "" "s")))
(nth (lambda (c) (if (> c 0) (number->string c) "No more")))
)
(let ((bot (lambda (b) ((nth b) " bottle " (pl v)))))
(if (= v 0)
(list "No more bottles of beer on the wall, no more bottles of beer,"
"Go to the store and buy some more, 99 bottles of beer on the wall.")
(list
@mikegogulski
mikegogulski / copy-stripe-setup.py
Last active August 23, 2023 14:01
Copy Stripe production products and prices to test environment
### The best way to start is to use the "Delete all test data" button at https://dashboard.stripe.com/test/developers
### Setup:
import stripe
test = 'sk_test_51IXXXyoursecretkey'
prod = 'sk_live_51IXXXyoursecretkey'