Skip to content

Instantly share code, notes, and snippets.

View kurtkaiser's full-sized avatar

Kurt Kaiser kurtkaiser

View GitHub Profile
@kurtkaiser
kurtkaiser / Level1
Last active October 22, 2018 15:53
Code Combat - JavaScript - Introduction to Computer Science
// Code Combat - JavaScript
// Introduction to Computer Science
// Move towards the gem.
// Don’t touch the spikes!
// Type your code below and click Run when you’re done.
hero.moveRight();
hero.moveDown();
hero.moveRight();
@kurtkaiser
kurtkaiser / dateMessagingSystem.js
Created September 2, 2018 17:36
This script automatically sends an email message on a selected date using a Google Sheet.
// Kurt Kaiser
// Date Emailing System
// All Right Reserved, 2018
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getActiveSheet();
var lastRow = sheet.getLastRow();
var lastColumn = sheet.getLastColumn();
function format(){
@kurtkaiser
kurtkaiser / doctorOfficeReservation.js
Last active November 10, 2018 01:55
Using Google Apps Script this program manages calendars for multiple doctors and rooms. It allows patients to submit requests for appointments and have them be viewed and approved by someone in the office.
// Doctor Appointment Booking System
// Kurt Kaiser, 2018
// All rights reserved
// kurtbkaiser@gmail.com
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheets()[0];
var lastRow = sheet.getLastRow();
var lastColumn = sheet.getLastColumn();
@kurtkaiser
kurtkaiser / Room_Reservation_App.js
Last active September 3, 2019 10:34
Using Google Apps Script, this script is added to a sheet file that a Google Form feeds into. Using the submitted requests, the program manages booking calendars and alerts users of the status of their reservations.
// Room Reservation System Video
// Kurt Kaiser, 2018
// All rights reserved
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheets()[0];
var lastRow = sheet.getLastRow();
var lastColumn = sheet.getLastColumn();
// Calendars to output appointments to
@kurtkaiser
kurtkaiser / BirdSurveyDemo.java
Last active August 17, 2018 01:27
This assignment allows a user to input names of birds. The program had to store that information in a linked list. The program also had to produce a count of the each bird population if the user requested it. As I came up against the dead, this assignment got a bit messy. It fully functions, of course, and met the requirements for the assignment.
/*
Kurt Kaiser
CTIM 168
08.02.2018
Homework: Bird Survey Linked List
Chapter 12 Practice Problem 13
*/
import java.util.Scanner;
public class DemoSurvey {
@kurtkaiser
kurtkaiser / ArrayCombinations.java
Created August 17, 2018 01:23
In this assignment I was asked to print out all possible combinations of each element in a 2D array. The assignment asked for a recursive program, first I solved it traditionally, then morphed that into the recursive program the assignment required.
/*
Kurt Kaiser
CTIM 168
08.02.2018
Homework: Recursive Array Combining
Chapter 11 Practice Problem 7
*/
// Solved using a standard looping approach
@kurtkaiser
kurtkaiser / RecursiveHandshake.java
Created August 15, 2018 23:03
This was an assignment for an advance java class at my local community college. I was required to use a static recursive method calculate the number of handshakes that would occur with n number of people in a room. Each person shakes hands with everyone once.
/*
Kurt Kaiser
CTIM 168
08.02.2018
Homework: Recursive Handshakes
Chapter 11 Practice Problem 6
*/
public class RecursiveHandshake
{
@kurtkaiser
kurtkaiser / Fibonacci.java
Created August 15, 2018 22:57
This was an assignment for an advance java course at my local community college.
/*
Kurt Kaiser
CTIM 168
7.31.2018
C11PP3
*/
import java.util.Scanner;
@kurtkaiser
kurtkaiser / Steganography.java
Last active August 15, 2018 22:54
This was an assignment for an advance java class at my local community college. I was asked to get the Least Significant Bit from a text file of binary numbers. Then output the last bit of each line, the LSB, to a new text file. Each line of the new file needed to be eight characters.
/*
Kurt Kaiser
CTIM 168
07.28.2018
Homework: Steganography
Least Significant Bit Insertion
*/
import java.io.*;
import java.util.Scanner;
/*
Cheat Detector
By Kurt Kaiser
kurtkaiser.us
*/
import org.omg.PortableInterceptor.SYSTEM_EXCEPTION;
import java.io.*;
import java.util.Scanner;