I hereby claim:
- I am parzivalwins on github.
- I am parzival (https://keybase.io/parzival) on keybase.
- I have a public key ASBy93CfTJs_09EpRT-YHeKQHaoM7bcYLY72GH4Lf_-j7wo
To claim this, I am signing this object:
Infrastructure as Code |
{function: t2.micro | |
} |
Verifying that "parzival.id" is my Blockstack ID. https://onename.com/parzival |
I hereby claim:
To claim this, I am signing this object:
SELECT | |
ROUND((input_value - output_value)/ size, 0) AS fees_per_byte, | |
COUNT(*) AS txn_cnt | |
FROM | |
`bigquery-public-data.crypto_bitcoin.transactions` | |
WHERE TRUE | |
AND block_timestamp >= '2018-01-01' | |
AND is_coinbase IS FALSE | |
GROUP BY 1 |
WITH double_entry_book AS ( | |
-- debits | |
SELECT | |
ARRAY_TO_STRING(inputs.addresses, ",") AS address | |
, inputs.type | |
, -inputs.value AS value | |
FROM `bigquery-public-data.crypto_bitcoin_cash.transactions` JOIN UNNEST(inputs) AS inputs | |
WHERE block_timestamp_month = '2019-01-01' | |
UNION ALL |
import xml.etree.ElementTree as ET | |
import csv | |
import datetime | |
def convert_xml_to_csv(file_path): | |
with open(file_path, 'rb') as fd: | |
root = ET.parse(fd).getroot() | |
records = [] |
console.log("Sanity Check: JS is working!"); | |
$(document).ready(function(){ | |
// code in here | |
}); | |
## Comment GPG Commit |
#FROM ubuntu | |
#ADD . /app | |
#RUN apt-get update | |
#RUN apt-get upgrade -y | |
# we should remove ssh and mysql, and use | |
# separate container for database | |
#RUN apt-get install -y nodejs # ssh mysql | |
#RUN cd /app && npm install | |
#FROM ubuntu:16.04 #version of ubuntu | |
#RUN apt-get update && apt-get install -y nodejs |
import requests | |
download_url = "https://raw.githubusercontent.com/fivethirtyeight/data/master/nba-elo/nbaallelo.csv" | |
target_csv_path = "nba_all_elo.csv" | |
response = requests.get(download_url) | |
response.raise_for_status() # Check that the request was successful | |
with open(target_csv_path, "wb") as f: | |
f.write(response.content) | |
print("Download ready.") | |
import pandas as pd | |
nba = pd.read_csv("nba_all_elo.csv") |