This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A simple bash script that downloads, installs, and inits postgres made for CSCD43 at UTSC | |
# Make sure you have all the dependancies installed first! | |
wget https://ftp.postgresql.org/pub/source/v17.2/postgresql-17.2.tar.gz | |
tar -xzvf postgresql-17.2.tar.gz | |
rm postgresql-17.2.tar.gz | |
cd postgresql-17.2 | |
mkdir build pgsql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import os | |
import sys | |
import subprocess | |
EXENAME = "temp" | |
args = sys.argv | |
filepath = args[1] | |
filetype = filepath.split(".")[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Time.h> | |
#include <TimeLib.h> | |
#include <LiquidCrystal.h> | |
LiquidCrystal lcd(12, 11, 5, 4, 3, 2); | |
//User editable configurations | |
const short dismissPin = 7; | |
const short snoozePin = 8; | |
const short buzzerPin = 13; |