You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
🌹
"you're right, no human being would stack books like this"
Eric Phetteplace
phette23
🌹
"you're right, no human being would stack books like this"
g checkout BUG # always work from a branch, helpful if it contains the BUG number
g bz apply BUG # apply patches from BUG to current branch
g bz edit BUG # lets you obsolete patches
g bz attach BUG HEAD # attach last commit to bug as patch
This can save some disk space, especially if you have many large git repos on your hard drive.
Meant to be run from a parent directory where all code/projects are kept.
Skips directories that aren't git repos.
Testing helm-invenio chart locally using Minikube.
The values file uses the front matter starter image ghcr.io/front-matter/invenio-rdm-starter:v12.1.0.0 but that uses gunicorn for a web server instead of uwsgi so the web pod crashes. The invenio demo images are incompatible with minikube on apple silicon. The most complete test would be to use a locally built Invenio image or our images in Artifact Registry with an image pull secret.
Find senior projects/thesis sections & their instructors' emails
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
Scrape Moodle courses data from module list search
Scrape Moodle Module List
On the Manage Activities admin page there's a count of how many courses use a particular activity and you can click the count
to execute a search that retrieves all those courses. There's a button to show all the courses on the same page, but no
useful way to do further filtering or extract data. The JS above can be copy-pasted into your browser's JavaScript console
to create a CSV of the courses listed on the module list page.
We have parentheticals for semester in our course titles like "20th Century Fashion (2022SP)" so this attempts to extract
those, though the regex is primitive and will mess up with courses with a second set of parentheses. This is usually easy
to cleanup manually.
create CSV of file paths, size, and last accessed times for Moodle filedir
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
find mods/subject/name values in our metadata but not in our names taxonomy
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 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 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
check if sections syllabi are on VAULT search results page
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