Skip to content

Instantly share code, notes, and snippets.

View tommitchell's full-sized avatar

Thomas Mitchell tommitchell

  • Dunedin, New Zealand
View GitHub Profile
@tommitchell
tommitchell / gist:9678416
Created March 21, 2014 02:40
keybase.md
### Keybase proof
I hereby claim:
* I am tommitchell on github.
* I am tommitchell (https://keybase.io/tommitchell) on keybase.
* I have a public key whose fingerprint is 5D49 0539 2C07 77F7 75F8 0A81 1839 E10C 975A 0DE7
To claim this, I am signing this object:
@tommitchell
tommitchell / CardFind.java
Created February 1, 2012 11:01
Code for "sam's card"
import java.util.Scanner;
public class CardFind{
public static void main (String[] args){
int cardtotal = 52, start = 0000, y, z, thou, hund, ten, one, d_thou, d_ten, total = 0;
while (start < 9999){
thou = start /1000 ;
@tommitchell
tommitchell / gist:1716484
Created February 1, 2012 11:00
Sam's Card Numbers
There were a lot more combinations than I thought there would be!!
Took me about 25 min to code the script :).
0008
0016
0024
0032
0040
0057