Skip to content

Instantly share code, notes, and snippets.

View phillt3's full-sized avatar

Phillip A Tracy phillt3

View GitHub Profile
@phillt3
phillt3 / Assignment7.py
Created December 13, 2021 03:09
MyIMDB
#Here is the code to get you started on Assignment 7.
#Make sure you have the file mymdb in the same directory as
#this program.
#The function make_title_dict opens and reads the database,
#and creates the dictionary indexed by movie titles. While
#the file processing is handled for you, it's worth understanding
#how it works:
ues
#All the lines in the file are put into a large list. The 'strip' method
@phillt3
phillt3 / imageProcessing_HW.py
Created December 13, 2021 03:08
ImageProcessor
#Phillip A Tracy
#The Photoshop assignment--updated for 2018
#Each photographic effect is realized as a tranformation of
#a 3D array representing the color image. The details of converting
#between Tkinter images and this array representation are hidden
#in the routines for reading the image from a file and rendering the
@phillt3
phillt3 / RecordPage.java
Created December 13, 2021 03:06
SImpleDB
package simpledb.record;
import static java.sql.Types.INTEGER;
import simpledb.file.*;
import simpledb.tx.Transaction;
/**
* Store a record at a given location in a block.
* @author Edward Sciore
*/
@phillt3
phillt3 / MultiPlayerClient.java
Last active December 13, 2021 03:05
TicTacToe
import java.net.ConnectException;
import java.net.InetAddress;
import java.net.Socket;
import java.net.SocketAddress;
import java.net.SocketException;
import java.util.ArrayList;
import java.util.Scanner;
import java.io.BufferedReader;
import java.io.EOFException;
import java.io.IOException;
//
// PodDetailViewController.swift
// PodMe
//
// Created by Phillip Tracy on 11/4/21.
//
import UIKit
import AVFoundation
class PodDetailViewController: UIViewController, AVAudioPlayerDelegate, AVAudioRecorderDelegate{
@phillt3
phillt3 / snacktacular-phillt3
Created December 13, 2021 02:53
SnackTackular
//
// ReviewTableViewController.swift
// Snacktacular
//
// Created by Phillip Tracy on 11/4/21.
//
import UIKit
import Firebase
private let dateFormatter: DateFormatter = {
@phillt3
phillt3 / WeatherDetail.swift
Created December 13, 2021 02:47
WeatherDetail
//
// WeatherDetail.swift
// WeatherGift
//
// Created by Phillip Tracy on 10/11/21.
//
import Foundation
class WeatherDetail: WeatherLocation {