Skip to content

Instantly share code, notes, and snippets.

View enkeboll's full-sized avatar

Andy Enkeboll enkeboll

  • Plaid
  • New York, NY
View GitHub Profile
@enkeboll
enkeboll / create_cal.py
Created January 31, 2020 19:09
Create flatiron school calendar
import datetime
from operator import attrgetter
from ics import Calendar, Event
BREAK_BEGIN = datetime.date(2020, 12, 28)
def runs_over_break(start_date):
if (BREAK_BEGIN > start_date and
BREAK_BEGIN < start_date + datetime.timedelta(weeks=15, days=5)):
@enkeboll
enkeboll / 1wiki_pageview.py
Last active June 6, 2020 14:43
Wikipedia Pageview Analyzer
# This application that can compute the top 25 pages on Wikipedia for each of the Wikipedia sub-domains
import argparse
import csv
import datetime
import gzip
import os
import sys
from collections import defaultdict, namedtuple
from heapq import heappush, heappushpop
@enkeboll
enkeboll / iex_lambda.py
Created August 17, 2020 15:38
IEX Lambda App Demo
# -*- coding: utf-8 -*-
"""Automation demo - Andy.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1ehWn8-jcItWIFNFhKWUdZBOF0DAdMvll
## Automating the process
First, two important things to do to follow along with lecture:
@enkeboll
enkeboll / treasury-password.js
Created April 13, 2022 18:19
Bookmarklet for inputting treasury passwords
javascript: (() => {let pw = prompt("Treasury password:");for (const char of pw.toLowerCase()) { PasswordVK(char) };document.querySelector('input.action[value="Submit"]').click();})();