Skip to content

Instantly share code, notes, and snippets.

View quinnzipse's full-sized avatar
🤠
Having a good time!

Quinn Zipse quinnzipse

🤠
Having a good time!
View GitHub Profile
@extends('layouts.app')
@section('content')
<h1>Meet the Sponsors.</h1>
<div class="container">
<div class="break b5"></div>
@for($i = 0; $i < 4; $i++)
@php
switch($i) {
case 0:
@quinnzipse
quinnzipse / example.cs
Last active July 2, 2019 00:13
UriImageSource
var imageSource = new UriImageSource();
imageSource.Uri = new Uri("https://images.pexels.com/photos/46710/pexels-photo-46710.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260");
pictureTime.Source = imageSource;
@quinnzipse
quinnzipse / NumberNode.java
Created October 30, 2019 04:09
Basic Linked list and a few tests. Just a simple assignment for CS220.
public class NumberNode {
private NumberNode next;
private int num;
public NumberNode(int num, NumberNode next) {
this.num = num;
this.next = next;
}
@quinnzipse
quinnzipse / NumberNodeReduce.java
Created November 5, 2019 18:16
Simple Linked List that contains a simple, recursive function to map and reduce the list.
public class NumberNode {
private NumberNode next;
private int num;
public NumberNode(int num, NumberNode next) {
this.num = num;
this.next = next;
}
// File Name: NumberList.java
//
// Author: Quinn Zipse
//
// Uses inner classes to try and hide the list data structure from the public
//
public class NumberList {
private NumberNode head;
private NumberList(NumberNode head){
@quinnzipse
quinnzipse / DoublyLinkedList.java
Created November 14, 2019 18:53
A simple doubly linked list with some added methods enclosed in a private inner class.
public class DoublyLinkedList {
private int size;
private NumberNode head;
private NumberNode tail;
public DoublyLinkedList() {
clear();
}
public void clear() {
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
public class SpellCheck {
@quinnzipse
quinnzipse / PerfectSkipList.java
Last active May 4, 2020 16:54
Homework 1 for CS 340
import java.util.*;
public class PerfectSkipList {
private class Node {
int key;
Node[] next;
private Node(int k, int size) {
key = k;
next = new Node[size]; //Items are initialized to null by Java
@quinnzipse
quinnzipse / firstProgram.asm
Created February 27, 2020 16:00
MIPS program that searches through an array of up to 30 possible positive numbers.
# Homework1 Quinn Zipse
.data
prompt1: .asciiz "Enter the number of elements (between 1 and 30) in the array: "
prompt2: .asciiz "Enter "
prompt3: .asciiz " positive integers:"
prompt4: .asciiz "Wrong number entered.\n"
prompt5: .asciiz "Enter a postive number to search (-1 to quit): "
promptNotFound: .asciiz "Integer not found.\n"
promptFound: .asciiz "Integer found "
newLine: .asciiz " times.\n"
@quinnzipse
quinnzipse / ListInFile.java
Last active March 4, 2020 22:16
Creates a sorted linked list in a file.
import java.io.*;
import java.util.*;
public class ListInFile {
/*
Implements a sorted (ascending) list of ints (the keys) and fixed length character
string fields stored in a random access file.
Duplicates keys are not allowed. There will be at least 1 character string field
*/