I hereby claim:
- I am andychase on github.
- I am andychase (https://keybase.io/andychase) on keybase.
- I have a public key ASA6l6Qy9NmgBQHlsWJGXO1GBgAChEkbsQVWx_x1P77Y7Ao
To claim this, I am signing this object:
| // Minecraft Server status poster | |
| // License: MIT | |
| // Andy Chase | |
| // Note: You MUST disable CSP on your web client for this to work | |
| // Configuration | |
| // ----------------------------------------------- | |
| // Change this (capture from a /message request in the skype web client) | |
| var regToken = "registrationToken=?"; |
| library(readr) | |
| data <- read_csv("data.csv", | |
| col_types = cols(date = col_datetime(format = "%FT%T"))) | |
| # costs <- read_csv("Cloud Provider Costs - Sheet1.csv") | |
| normz <- function(column) { ( column - mean(column) ) / sd(column) } | |
| # data <- merge(data, costs) | |
| data[,c("nginx")] <- normz(getElement(data,"nginx")) | |
| data[,c("sha256sum")] <- normz(getElement(data,"sha256sum")) |
| import sys | |
| import csv | |
| from collections import Counter | |
| def get_themes(themes, themes_db): | |
| for theme in themes: | |
| percent = themes_db[theme] / len(list(themes_db.elements())) | |
| yield f"{int(percent*100)}%", f"{theme.capitalize()}" |
I hereby claim:
To claim this, I am signing this object: