Skip to content

Instantly share code, notes, and snippets.

View lisakstep's full-sized avatar

Lisa Stephens lisakstep

View GitHub Profile

Keybase proof

I hereby claim:

  • I am lisakstep on github.
  • I am lisastephens (https://keybase.io/lisastephens) on keybase.
  • I have a public key whose fingerprint is BC8E 6653 579A 5ED0 C3C2 F766 365E 4DAA 1E03 D579

To claim this, I am signing this object:

# Strings
"hello 1 world"
p "hello 2 world"
p 'hello 3 world'
p 4
# Booleans, variables and symbols
p true
p false
my_string_variable = "hello world"
@lisakstep
lisakstep / HangmanTextOnly
Created February 10, 2014 00:12
Text-only version of the Hangman game for Stanford CS106a Assignment 4
/*
* File: Hangman.java
* ------------------
* @author Lisa Stephens
*
* This is my solution to the Stanford CS 106a Assignment 4
* completed with help from referring to @NatashaTheRobot gist at github
* and occasional references to questions on Stackoverflow.com
* adding a nothing comment to check out git commit process
*/
@lisakstep
lisakstep / Remove a character
Created February 8, 2014 17:00
This file removes a specified character from a string of text. Stanford CS106a assignment 4.2
import acm.program.ConsoleProgram;
/** RemoveCharacters takes a string and a character, removing all
* occurences of the character from the given string
*/
/**
* @author Lisa Stephens
* Complete
* written on 2/6/2014 as a response to Stanford CS 106a exercise 4.2
@lisakstep
lisakstep / Insert commas in long numbers
Created February 8, 2014 16:54
This file adds commas in the US style to user-entered numbers. Stanford CS106a assignment 4.1
/** This class adds commas in the US style to user-entered numbers
* @author Lisa Stephens February 6, 2014
* Complete
* written as a response to Stanford CS 106a exercise 4.1
* The run() method was essentially given by the assignment.
*/
import acm.program.ConsoleProgram;
public class AddCommas extends ConsoleProgram{