Skip to content

Instantly share code, notes, and snippets.

View z1lc's full-sized avatar
🗃️
reviewing flashcards

Rob Sanek z1lc

🗃️
reviewing flashcards
View GitHub Profile
@z1lc
z1lc / workflowy_toodledo_habits_and_tasks.py
Last active April 1, 2019 05:40
PyQt-based resizable split view of Workflowy and Toodledo Habits & Tasks
Moved to https://github.com/z1lc/core/tree/master/src/main/python/productivity
@z1lc
z1lc / nbaplayers.py
Created October 1, 2018 08:50
Use nba-players.herokuapp.com API to download all images for NBA players
import requests
def getTeam(team):
request = requests.get('https://nba-players.herokuapp.com/players-stats-teams/' + team)
if request.status_code == 200:
return request.json()
else:
raise Exception("Query failed to run by returning code of {}. {}".format(request.status_code))
def getImageName(playerName):
@z1lc
z1lc / heartRateComparison.r
Last active August 15, 2016 03:46
Fitbit Surge vs. Polar H7 + Nexus 6 + Strava: Comparing Heart Rate Sensors
library(XML)
library(dplyr)
library(lubridate)
library(reshape2)
library(ggplot2)
fitbit <- xmlToDataFrame(getNodeSet(xmlParse("fitbit.tcx"), "//ns:Trackpoint", "ns"),
stringsAsFactors = FALSE)
strava <- xmlToDataFrame(getNodeSet(xmlParse("strava.tcx"), "//ns:Trackpoint", "ns"),