Skip to content

Instantly share code, notes, and snippets.

View itsjoeoui's full-sized avatar
🐟
Learning...

Joey Yu itsjoeoui

🐟
Learning...
View GitHub Profile
@itsjoeoui
itsjoeoui / Makefile
Last active February 26, 2025 00:01
COMP 310 Test Runner
# Main directories
PROJECT_DIR = project/src
TEST_DIRS = A1/test-cases A2/test-cases
EXECUTABLE = mysh
# Clean directories
A1_CLEAN_DIRS = toto bad_name testdir test
A2_CLEAN_DIRS =
.PHONY: all clean test test-a1 test-a2 build setup-tests clean-a1 clean-a2

Keybase proof

I hereby claim:

  • I am itsjoeoui on github.
  • I am itsjoeoui (https://keybase.io/itsjoeoui) on keybase.
  • I have a public key ASDWZ2lkLt5gNBmg2x5LUP7SJZ-OAUS8voQ4vduK4lw9nwo

To claim this, I am signing this object:

''' Friction lab '''
import math
import statistics
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns
def get_mu_and_sigma(data):
''' Returns the mean and the standard deviation of the data '''
return statistics.mean(data), statistics.stdev(data)