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
dear colleagues, universities today face headwinds from a multitude of sources. | |
in the political sphere, one party castigates us for being ideologically unbalanced and intolerant of free speech and the other for being unaffordable and elitist. | |
trust in universities is battered by a deluge of criticism and well-publicized scandals involving sexual violence, administrative misfeasance, and admissions improprieties. | |
political support has diminished with public trust. | |
many public universities, including the university of oregon, never recovered from the N recession in terms of state funding. | |
underfunded pension plans, skyrocketing health-care costs, and skepticism about our mission and operation have created tremendous pressure on our twin missions of education and research. | |
despite these challenges, i am incredibly optimistic about the future of higher education, generally, and at the university of oregon, in particular. | |
i know some of you will read this, roll your eyes, and think to yourself, “he gets paid to b |
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 os | |
import io | |
import zipfile | |
import requests | |
import pandas as pd | |
import pdb | |
def download_addresses(path='lane.csv'): | |
print('Downloading addresses') | |
lane_addresses_zip = requests.get( |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 requests | |
from bs4 import BeautifulSoup as bs | |
import pandas as pd | |
import tqdm | |
import datetime | |
import os | |
import pickle | |
def scrape_crn(crn, page_dir): | |
url = f"https://classes.uoregon.edu/duckweb/hwskdhnt.p_viewdetl?term=202001&crn={crn}" |
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
# curl https://get.acme.sh | sh | |
./.acme.sh/acme.sh --force --issue -d website.com -d www.website.com -w /home/nod3bp3usey4/public_html/website_path | |
./.acme.sh/acme.sh --deploy -d website.com -d www.website.com --deploy-hook cpanel_uapi |
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
########### | |
# Mac | |
# (copy and paste these into your Terminal (Open Terminal from Applications > Utilities > Terminal) | |
# 1. install homebrew if you haven't already | |
# https://brew.sh/ | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# 2. install youtube-dl | |
brew install youtube-dl |
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
#### | |
# 1) install exiftool and qpdf | |
# https://exiftool.org/ | |
# http://qpdf.sourceforge.net/ | |
# (can be installed with homebrew: brew install exiftool qpdf ) | |
#### | |
# 2) remove metadata - this step is reversible, so we will need to recreate the PDF afterwards | |
exiftool -all:all= /location/of/some/file.pdf |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
protocol = [ | |
{ | |
"allow_repeat": False, | |
"graduation": { | |
"type": "n_trials", | |
"value": { | |
"current_trial": "0", | |
"n_trials": "200", | |
"type": "n_trials" | |
} |
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
require "jekyll" | |
require "ruby-prof" | |
result = RubyProf.profile do | |
# you can set any of the --options you'd pass to build here | |
# it will automatically pick up the _config.yml file in source | |
options = { | |
"source" => './', | |
"destination" => './_site', |