Skip to content

Instantly share code, notes, and snippets.

View gijoehosaphat's full-sized avatar

Joe Leonard gijoehosaphat

  • Stillwater Lake, Nova Scotia
View GitHub Profile
@gijoehosaphat
gijoehosaphat / embed.ly.challenge.txt
Created February 13, 2012 15:21
Embed.ly Challenge
//1 (Groovy)
BigInteger n(BigInteger number) {
return number > 1 ? number.multiply(n(--number)) : number
}
BigInteger r(BigInteger number) {
BigInteger nn = n(number)
BigInteger result = 0
nn.toString().each { character ->
result += Integer.parseInt(character, 10)
}
@gijoehosaphat
gijoehosaphat / SketchSystems.spec
Last active March 5, 2019 20:58
Retailer Onboarding*
Retailer Onboarding*
open email invitation -> Existing user?
Existing user?
yes -> Associated to Brand?
no -> Create Account
Create Account
create -> Connect to Brand
@gijoehosaphat
gijoehosaphat / helpers.sh
Last active November 3, 2021 17:17 — forked from chtorr/helpers.sh
aws-vault yubikey bash helpers
# - install the Yubico authenticator app
# - install ykman
# - setup your yubikey as a virtual MFA device in AWS, and
# - install and setup AWS vault
# - place the following in your ~/.bash_profile (or whatever the appropriate profile file is)
# - run source ~/.bash_profile or open a new shell
# load temp AWS credentials in your current shell: `aws_auth <profile>`
# login to AWS console with temp credentials: `aws_login <profile`
# I also like to add the vault name to my shell prompt: \033[0;31m[\$AWS_VAULT]\033[0m