Skip to content

Instantly share code, notes, and snippets.

View AdColvin's full-sized avatar

Adam Colvin AdColvin

View GitHub Profile

Poker Hands

In the card game poker, a hand consists of five cards.

Card and Hand Representations

In this exercise, cards are represented as two character strings: the first character representing the value of the card and the second representing the suite.

values: 2, 3, 4, 5, 6, 7, 8, 9, 0 (10), J (Jack), Q (Queen), K (King), A (Ace).

@AdColvin
AdColvin / .bash_profile
Last active July 13, 2019 07:29
Bash Profile
export JAVA_HOME=$(/usr/libexec/java_home)
export PS1="\W \$ "
export EDITOR="code --wait"
alias starwars='telnet towel.blinkenlights.nl'
alias be='bundle exec'
alias gst='git status'
alias gco='git checkout'
alias gb='git checkout -b'
alias gpf='git push --force-with-lease'
### Keybase proof
I hereby claim:
* I am adcolvin on github.
* I am adcolvin (https://keybase.io/adcolvin) on keybase.
* I have a public key ASAJ6gB2MNqvnGtpZTJmC69BhfbqkaR26O6y2cR5KY9liQo
To claim this, I am signing this object: