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
| // run this on a course page, it will also print in the console too | |
| // this code was being weird pls dont flame me | |
| window.baseFind = (p) => | |
| fetch( | |
| `${location.origin}/enrollments/edit/members/course/${window.location.href.split("/").at(-2)}/ajax?p=1&s=`, | |
| { | |
| credentials: "include", | |
| headers: { | |
| "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:146.0) Gecko/20100101 Firefox/146.0", |
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
| [Unit] | |
| Description=Serial Console on Gadget | |
| After=systemd-user-sessions.service plymouth-quit-wait.service | |
| After=dev-ttyGS0.device | |
| Requires=dev-ttyGS0.device | |
| [Service] | |
| ExecStart=-/sbin/agetty -L 115200 ttyGS0 vt100 | |
| Restart=always | |
| RestartSec=0 |
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
| # ------------------------------------------------------------------------------------------ # | |
| # Lines starting with “#” are comments and will be ignored by the automation. | |
| # Indentation determines hierarchy within the script. | |
| # Visit g.co/home/script-editor-docs for full documentation. | |
| # ------------------------------------------------------------------------------------------ # | |
| metadata: | |
| name: motion # Choose a short name that summarizes important starters and actions, like “Sunset lights”. | |
| description: Scripted automation # Write a detailed description that includes everything the automation does, like “At sunset, on weekdays, close blinds, turn on lights to 50%, and play the sunset playlist on certain speakers.” |