Skip to content

Instantly share code, notes, and snippets.

Wondering what you are supposed to put as your GitHub status

Jake Vossen jakevossen5

Wondering what you are supposed to put as your GitHub status
Block or report user

Report or block jakevossen5

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

Keybase proof

I hereby claim:

  • I am jakevossen5 on github.
  • I am jakevossen5 ( on keybase.
  • I have a public key ASBRXkVjgNmMI7EosULK7DUUoTFo7T0-0ZqBB79ziy_9Sgo

To claim this, I am signing this object:

import urllib.request
import csv
def create_articles(path):
temp = []
file = open(path, 'r')
for line in file:
arr = line.split(',')
if arr[0][-4:].lower() == '.pdf':
jakevossen5 /
Created Oct 31, 2018
Seconds left bash script
# This is a simple bash script displays a countdown to a specific time in the menu bar (combined with an app like bit bar)
CUR=$(date +%s)
num=$(echo $END - $CUR | bc)
echo $num
jakevossen5 /
Created Oct 31, 2018
Percent done with hour/day/month
#!/usr/bin/env PYTHONIOENCODING=UTF-8 /usr/local/bin/python3
# To be used with bit-bar, which shows the % you are done with the current hour, day, week, and year
from datetime import datetime
now =
digits = 3
seconds_since_hour = (now - now.replace(minute=0, second=0, microsecond=0)).total_seconds()
print(("h" + ('{0:.2f}'.format(round((seconds_since_hour / 3600), digits)))[1:]), end= ' ')
seconds_since_midnight = (now - now.replace(hour=0, minute=0, second=0, microsecond=0)).total_seconds()
print("d" +('{0:.2f}'.format(round((seconds_since_midnight / 86400), digits)))[1:],end = ' ')
You can’t perform that action at this time.