Skip to content

Instantly share code, notes, and snippets.

View masautt's full-sized avatar
🏠
Working from home

masautt

🏠
Working from home
View GitHub Profile
1. Describe your teaching and tutoring experience.
I've had a few teaching positions throughout my college career.
I started as a conversation partner at the International Student Services office. I would meet individually with students once or twice a week to practice their English. At the start of the semester we would cover basic grammar, but by the end we were discussing American expressions and slang terms.
I also worked as a teachers assistant for the remedial English classes put on by the program. I never taught lessons in front of the whole class, but I was in charge when it came to breakout groups.
During the summer, I started applying for jobs related to my industry and landed a part-time IT position for the Extension and International Programs Department. I was in charge of the help desk, so I would assist all faculty members with any tech related issues. Even though my responsibility was to simply resolve the issue, I would often walk through my thought process with the employee so they may
class TreeNode {
value: number;
left: TreeNode | null;
right: TreeNode | null;
constructor(value: number) {
this.value = value,
this.left = null;
this.right = null;
}
@masautt
masautt / index.ts
Created May 24, 2020 19:39
Stats For Life Firebase Admin Setup
import * as admin from "firebase-admin";
// service-account.json is in project directory, not src
const serviceAccount = require("../service-account.json");
admin.initializeApp({
credential: admin.credential.cert(serviceAccount),
databaseURL: "https://stats-for-life.firebaseio.com"
});
library(tidyverse)
rawConfirmed <- read_csv("https://gist.githubusercontent.com/masautt/5cc4a0c82ff8ae344a6f560b220ddad6/raw/1c82d18c4433940ea9b6589e89fdae08fb110cc2/confirmed.csv")
rawDeaths <- read_csv("https://gist.githubusercontent.com/masautt/2a640c1e573496ad0f99c81371c06fa2/raw/f1ce36b581869c77c0db2fc0cd6d256c40e0d38d/deaths.csv")
rawHospitalBeds <- read_csv("https://gist.githubusercontent.com/masautt/a1487184f38e1d53fdca922ea2ef6801/raw/8d7ad2cbb74aad5c1363bc40400b8f47b06d08ce/hospitalbeds.csv")
rawDemographics <- read_csv("https://gist.githubusercontent.com/masautt/4ef7c61d84857194ebb87449c7e68c46/raw/261620b7fad94c169320acff71d09e5c41f6ff2c/demographics.csv")
Country Name Country Code Series Name Series Code YR2015
Afghanistan AFG Life expectancy at birth, total (years) SP.DYN.LE00.IN 63.377
Afghanistan AFG Urban population SP.URB.TOTL 8535606
Afghanistan AFG Population, total SP.POP.TOTL 34413603
Afghanistan AFG Population ages 80 and above, female SP.POP.80UP.FE 48319
Afghanistan AFG Population ages 80 and above, male SP.POP.80UP.MA 37233
Afghanistan AFG Population ages 15-64, male SP.POP.1564.MA.IN 9386355
Afghanistan AFG Population ages 15-64, female SP.POP.1564.FE.IN 8730445
Afghanistan AFG Population ages 0-14, male SP.POP.0014.MA.IN 7905639
Afghanistan AFG Population ages 0-14, female SP.POP.0014.FE.IN 7538168
We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 94 columns, instead of 29. in line 2.
Province/State,Country/Region,Lat,Long,1/22/20,1/23/20,1/24/20,1/25/20,1/26/20,1/27/20,1/28/20,1/29/20,1/30/20,1/31/20,2/1/20,2/2/20,2/3/20,2/4/20,2/5/20,2/6/20,2/7/20,2/8/20,2/9/20,2/10/20,2/11/20,2/12/20,2/13/20,2/14/20,2/15/20,2/16/20,2/17/20,2/18/20,2/19/20,2/20/20,2/21/20,2/22/20,2/23/20,2/24/20,2/25/20,2/26/20,2/27/20,2/28/20,2/29/20,3/1/20,3/2/20,3/3/20,3/4/20,3/5/20,3/6/20,3/7/20,3/8/20,3/9/20,3/10/20,3/11/20,3/12/20,3/13/20,3/14/20,3/15/20,3/16/20,3/17/20,3/18/20,3/19/20,3/20/20,3/21/20,3/22/20,3/23/20,3/24/20,3/25/20,3/26/20,3/27/20,3/28/20,3/29/20,3/30/20,3/31/20,4/1/20,4/2/20,4/3/20,4/4/20,4/5/20,4/6/20,4/7/20,4/8/20,4/9/20,4/10/20,4/11/20,4/12/20,4/13/20,4/14/20,4/15/20,4/16/20,4/17/20,4/18/20,4/19/20,4/20/20
,Afghanistan,33.0,65.0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,2,4,4,4,4,4,4,4,6,6,7,7,11,14,14,15,15,18,18,21,23,25,30,30,30,33,36
,Albania,41.1533,20.1683,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 94 columns, instead of 5. in line 2.
Province/State,Country/Region,Lat,Long,1/22/20,1/23/20,1/24/20,1/25/20,1/26/20,1/27/20,1/28/20,1/29/20,1/30/20,1/31/20,2/1/20,2/2/20,2/3/20,2/4/20,2/5/20,2/6/20,2/7/20,2/8/20,2/9/20,2/10/20,2/11/20,2/12/20,2/13/20,2/14/20,2/15/20,2/16/20,2/17/20,2/18/20,2/19/20,2/20/20,2/21/20,2/22/20,2/23/20,2/24/20,2/25/20,2/26/20,2/27/20,2/28/20,2/29/20,3/1/20,3/2/20,3/3/20,3/4/20,3/5/20,3/6/20,3/7/20,3/8/20,3/9/20,3/10/20,3/11/20,3/12/20,3/13/20,3/14/20,3/15/20,3/16/20,3/17/20,3/18/20,3/19/20,3/20/20,3/21/20,3/22/20,3/23/20,3/24/20,3/25/20,3/26/20,3/27/20,3/28/20,3/29/20,3/30/20,3/31/20,4/1/20,4/2/20,4/3/20,4/4/20,4/5/20,4/6/20,4/7/20,4/8/20,4/9/20,4/10/20,4/11/20,4/12/20,4/13/20,4/14/20,4/15/20,4/16/20,4/17/20,4/18/20,4/19/20,4/20/20
,Afghanistan,33.0,65.0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,4,4,5,7,7,7,11,16,21,22,22,22,24,24,40,40,74,84,94,110,110,120,170,174,237,273,281,299,349,367,423,444,484,521,555,607,665,714,784,840,906,933,996,1026
,Albania,41.1533,20.1683,
Country Year Hospital beds (per 10 000 population)
Afghanistan 2015 5
Afghanistan 2014 5
Afghanistan 2013 5
Afghanistan 2012 5
Afghanistan 2011 4
Afghanistan 2010 4
Afghanistan 2009 4
Afghanistan 2008 4
Afghanistan 2007 4
x y
128.8045 134.18756000000002
136.509 141.86945
84.4863 140.55118
75.62268 132.55118
66.75906 124.55118
68.03173 94.3694
75.62268 86.1876
83.21362 78.0058
111.1681 87.5512
x y
116.3003 133.18189
92.84575 132.63646
76.48212 133.45457
71.02756 125.00008
70.93661 119.81827
70.84575 114.63638
70.75481 109.45457
74.57299 88.7273
85.20937 80.2728