Skip to content

Instantly share code, notes, and snippets.

@toeknee919
toeknee919 / csvSearch.py
Last active August 29, 2015 14:08
Bold aviation weather
import re
import csv
import sys
#Author: Anthony Hess
#File: csvSearch.py
# This file searches the corresponding .csv file for the taf or metar
# related to the airport ID.
# ARGV [1] accepts airport identifier eg. KSEA
# ARGV[2] accepts "tafs" or "metars"
@toeknee919
toeknee919 / gist:d46aa85177743c481e12
Last active December 1, 2022 07:39
Numbers, strings, arrays, passing on the stack, in Assembly
; Author: Anthony Hess
; Description: This program will take in user input as 15 integers in a string, converts the
; numbers to numeric, stores them in an array, then converts them back into a string array
; before displaying the numbers, their sum, and their average.
INCLUDE Irvine32.inc
;==================================
; MACRO to display a string
@toeknee919
toeknee919 / primes.asm
Last active October 24, 2024 04:25
Prime Display in Assembly Language
TITLE Program Template (template.asm)
; Author: Anthony Hess
; Description: This program takes input from the user indicating how many prime numbers they would like to see.
; The limited input is between 1 and 300. If another number is entered, the user will be asked to
; try again.
INCLUDE Irvine32.inc
.data
@toeknee919
toeknee919 / Conways
Last active August 29, 2015 14:03
Conway's Game of life
//Author: Anthony Hess
//Date: 2/30/14
//Project 5 for CS165
//Purpose: To simulate "Conways Game of Life"
//Input: User can choose from 2 different starting points and watch
// as the game simulates the life cycle.
#include <iostream>
#include <iterator>
#include <string>
@toeknee919
toeknee919 / CowGame
Last active August 29, 2015 14:03
A game where you are a rancher and can bid on, butcher, and auction on cows to make your living. My first big project in C++.
// This is the implementation file for the cow game
// Author Tony Hess
// Date: 3/12/14
// Purpose: This file holds the classes and functions which are used for the cow and the players information
#include <iostream>
#include <fstream>
#include <ctime>
#include <cstdlib>