This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (() => {let pw = prompt("Treasury password:");for (const char of pw.toLowerCase()) { PasswordVK(char) };document.querySelector('input.action[value="Submit"]').click();})(); |
OlderNewer