Skip to content

Instantly share code, notes, and snippets.

V David Zvenyach vzvenyach

Block or report user

Report or block vzvenyach

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View FBOParser.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vzvenyach
vzvenyach / fedregparse.py
Created Dec 18, 2018
Parsing through the Federal Register
View fedregparse.py
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):
View docker_install.sh
#!/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
@vzvenyach
vzvenyach / s3-to-mturk.ipynb
Created Feb 26, 2017
S3 to Mechanical Turk instructions
View s3-to-mturk.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View checksums.sh
#!/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
@vzvenyach
vzvenyach / food_codes.json
Last active Feb 20, 2017
FNDDS codes with weights
View food_codes.json
This file has been truncated, but you can view the full file.
@vzvenyach
vzvenyach / PublicBurdenResearch.ipynb
Last active Feb 12, 2017
Public Burden Research
View PublicBurdenResearch.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View keybase.md

Keybase proof

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:

@vzvenyach
vzvenyach / githubIssuesToCsv.py
Last active Dec 12, 2016
gh-issues-to-csv.py
View githubIssuesToCsv.py
import requests
import json
import sys
import csv
def getIssues(url):
"""
@param {url} The url of the github issues
@return the json object
@vzvenyach
vzvenyach / app.py
Last active Mar 11, 2016
mp-timing
View app.py
# 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
You can’t perform that action at this time.