Skip to content

Instantly share code, notes, and snippets.

View AlinaWithAFace's full-sized avatar
🍑

Alina Christenbury AlinaWithAFace

🍑
View GitHub Profile

High Level Life & Professional Goals

  • Help game developers make games. Use tech (spatial computing/machine learning/etc.) to enable small developers (low budget/low skill level/low time) to quickly and easily make interactive experiences.
  • Experiment with new ways to create/play/learn using tech.

Course Work

  • UD PhD Requirements
  • 36 credits minimum
  • 9 grad level credits/semester (based on current funding)
import java.util.*;
import java.io.*;
class Node {
Node left, right;
int data;
Node(int data) {
this.data = data;
left = right = null;
import java.util.*;
import java.io.*;
class Node {
Node left, right;
int data;
Node(int data) {
this.data = data;
left = right = null;
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
class Solution {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
import java.io.*;
import java.util.*;
public class Solution {
// Write your code here.
Stack<String> stack = new Stack<>();
Queue<String> queue = new LinkedList<>();
@AlinaWithAFace
AlinaWithAFace / HashSetPractice.java
Created April 18, 2018 17:04
Here's a small example where we override a hashset's equals and hashcode functiosn in order to determind uniqueness ourselves
import java.util.HashSet;
/**
* Assume two cows are the same if they have the same name.
* Write class Cow and the necessary methods to make main this work, and put a print statement inside each method.
* Then on the lines next to each call to add, write what the methods would print.
*/
class HashSetPractice {
/*
* On the comment lines provided, write *all* that is printed as a
@AlinaWithAFace
AlinaWithAFace / FriedEggException.java
Created April 18, 2018 16:25
An example micro-program with an example exception and exception handling
//Write minimal code. You may not need all lines.
//A FriedEggException is a kind of Exception.
//Define a minimal FriedEggException to be used below.
class FriedEggException extends Exception {
public FriedEggException(String message) {
super(message);
}
}
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.Random;
import static java.lang.Math.abs;
// DONE 1. Any problem from lecture exercises is fair game on the exam.
// DONE 2. Fill in the class below, making an ArrayList of Cows where appropriate. A Cow has a name. Read the entire
@AlinaWithAFace
AlinaWithAFace / CISC-275-Iterators.java
Last active February 15, 2018 02:39
Some iterator basics and how concurrent modification errors happen
import java.util.*;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
@AlinaWithAFace
AlinaWithAFace / gglCalEventsOnSpreadSheet.gs
Created June 7, 2017 22:31 — forked from egorlitvinenko/gglCalEventsOnSpreadSheet.gs
Script to read Google Calendar Events and Count total Hours
/*
**Steps**
1. Go to your google Drive and start a new Empty SpreadSheet.
2. Go to the Menu: Tools --> Script Editor --> Blank Document.
3. Copy+paste the code into the new Code.gs and Save the File
4. Go to the Menu: Resources --> Advanced Google Services
5. Scroll till you find the **Calendar API** and turn it **ON**
6. Click On the Link to the **Google Developers Console.** *a new tab will open.*
7. In the SearchBox type Calendar and click on Calendar API and enable it.
8. Once enabled return to the window with the code and click OK to return.