Skip to content

Instantly share code, notes, and snippets.

View grahammitchell's full-sized avatar

Graham Mitchell grahammitchell

View GitHub Profile
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 3600X 6-Core Processor
CPU Family: 0x17
#!/usr/bin/perl
use strict;
use warnings;
# This is intended as an easy-to-use cookbook example to getting started
# uploading files on Perl. Please let me (gaurav at ggvaidya dot com) know
# if you have any comments or suggestions for this example.
#
# It is made available under the same license terms as the Perl interpreter.

Keybase proof

I hereby claim:

  • I am grahammitchell on github.
  • I am grahammitchell (https://keybase.io/grahammitchell) on keybase.
  • I have a public key whose fingerprint is 190C 1222 ED5D CE78 151D 44D9 1C08 DE67 1A14 A829

To claim this, I am signing this object:

// Graham Mitchell's crappy intro to arrays
// The book is better than this.
public class Arrays
{
public static void main( String[] args )
{
// traditional "native" arrays
// a: [ ][ ][ ][ ][ ][ ][ ][ ][ ][ ]
import java.util.Scanner;
public class SpaceBoxing
{
public static void main( String[] args )
{
Scanner keyboard = new Scanner(System.in);
double weight;
int whichplanet;