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"
Repeatedly click "restore from archive" button in Panopto folder
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
If you upgrade from pnpm v10 to v11, all your global pnpm binaries stop working because there is a new binary directory for
PATH but none of the bins are moved to the new folder. This change is not mentioned in the upgrade guide nor does there
appear to be a script or command to resolve it. pnpm setup adds $PNPM_HOME/bin to PATH but doesn't move the binaries
in $PNPM_HOME into it. You have to manually reinstall all global binaries after upgrading.
$ uname -a
Darwin name 25.x.y Darwin Kernel Version 25.x.y: ... arm64
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
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.