I hereby claim:
- I am vzvenyach on github.
- I am vdavez (https://keybase.io/vdavez) on keybase.
- I have a public key ASAG0tz4DCm_UvTlDYi1gvNmkSgdTy6Ls6gCADr5L4GpWQo
To claim this, I am signing this object:
import os | |
from lxml import etree | |
import csv | |
import sys | |
titles = {} | |
for title in range(1,50): | |
titles[title] = 0 | |
for froot, dirs, files in os.walk('.', topdown=True): |
#!/bin/bash | |
# Install docker on a Ubuntu box | |
# Installation script taken from https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/ | |
sudo apt-get remove -y docker docker-engine docker.io | |
sudo apt-get update | |
sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common |
#!/bin/bash | |
# Usage: ./checksums.sh [BMR_number] | |
# Example: ./checksums.sh BMR_0182 | |
# Initialize the checksums array... | |
checksums=() | |
# Loop through the BMR files | |
IFS=$'\n';for file in $(find $1 -name '*.jpg' -or -name '*.png'); do |
[{"portions": [{"weight": 246.0, "desc": "1 cup"}, {"weight": 0.0, "desc": "Quantity not specified"}, {"weight": 30.8, "desc": "1 fl oz"}], "Food code": 11000000, "additional": [], "Main food description": "Milk, human"}, {"portions": [{"weight": 244.0, "desc": "1 cup"}, {"weight": 30.5, "desc": "1 fl oz"}, {"weight": 244.0, "desc": "1 individual school container"}, {"weight": 2.5, "desc": "Guideline amount per fl oz of beverage"}, {"weight": 61.0, "desc": "Guideline amount per cup of hot cereal"}, {"weight": 122.0, "desc": "Guideline amount per cup of cold cereal"}, {"weight": 244.0, "desc": "Quantity not specified"}], "Food code": 11100000, "additional": [], "Main food description": "Milk, NFS"}, {"portions": [{"weight": 244.0, "desc": "1 cup"}, {"weight": 30.5, "desc": "1 fl oz"}, {"weight": 244.0, "desc": "1 individual school container"}, {"weight": 2.5, "desc": "Guideline amount per fl oz of beverage"}, {"weight": 61.0, "desc": "Guideline amount per cup of hot cereal"}, {"weight": 122.0, "desc": "Guideli |
I hereby claim:
To claim this, I am signing this object:
import requests | |
import json | |
import sys | |
import csv | |
def getIssues(url): | |
""" | |
@param {url} The url of the github issues | |
@return the json object |
# import libraries | |
import json | |
import statistics | |
import datetime | |
def convert_time(timeStr): | |
""" convert_time | |
A helper function to convert a ISO datetime string into a datetime object | |
@params timeStr - a datetime string in isoformat | |
@returns datetime object |