TODO
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
| # Take all provided images and put them into PDF using Python's Pillow library. | |
| # | |
| # Uses `uvx`. If you don't have it, you will need to install it. | |
| # | |
| # # Examples | |
| @example "turn pages from scans into a PDF" { ls ~/Downloads/scanned_images | get name | images-to-pdf } | |
| export def "main" [ | |
| --to: oneof<path, nothing>, | |
| # The output path of the PDF. | |
| ]: list<path> -> nothing { |
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
| # "Zip"/collate an even number of items such that every other item is pulled from the back. | |
| # | |
| # This is appropriate for scans of a stack of documents that run all front sides, then all back | |
| # sides. | |
| # | |
| # # Examples | |
| @example "reorder page numbers from a feed scanner" { [1 3 4 2] | collate-front-and-back-feed-scans } --result [1 2 3 4] | |
| export def "main" [ | |
| ]: list<any> -> list<any> { | |
| mut input = $in |
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
| /target |
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
| document.querySelectorAll('[data-sigil="differential-load"]').forEach(el => el.click()) |
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
| cache/ |
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
| // ==UserScript== | |
| // @name Copy PR title and link as Markdown | |
| // @namespace https://gist.github.com/ErichDonGubler/17cdd30c4b40c93596da1d813ef327cb | |
| // @version 2026-02-24.1 | |
| // @description Adds a `Copy link` button to PR title controls that copies the PR title and link as a Markdown link (i.e., `[PR Title](https://github.com/…/pull/…)`). | |
| // @author Erich Gubler <erichdongubler@gmail.com> | |
| // @match https://github.com/*/*/pull/* | |
| // @match https://github.com/*/*/issues/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=github.com | |
| // @grant none |
This file has been truncated, but you can view the full file.
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
| [ | |
| "https://www.example.com/", | |
| "http://www.example.com/basket.php", | |
| "http://www.example.org/airport?account=branch&account=alarm", | |
| "http://example.com/?bottle=arch&birth=art", | |
| "https://www.example.com/adjustment/bee.html", | |
| "http://www.example.com/", | |
| "http://example.com/bomb/bear?bone=behavior&arm=ball", | |
| "http://www.example.com/", |
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
| function git_svn_shallow_clone() { | |
| # Shallowly clones an SVN repository using `git svn`. | |
| # | |
| # Example: Clone directly into the CWD. | |
| # Note: if your connection fails midway through the cloning, you can pick up from | |
| # where you left off by simply invoking the clone function again. Neat, right? | |
| # $ git_svn_shallow_clone <url> . | |
| # | |
| # You may need to run this in your cloned folder if you need to resume cloning from | |
| # an interrupted connection. |
I hereby claim:
- I am erichdongubler on github.
- I am erichdongubler (https://keybase.io/erichdongubler) on keybase.
- I have a public key ASAHElC6breV_idmtm0TM1TIEvbhf5P_vCEqMLF3r4bvPwo
To claim this, I am signing this object:
NewerOlder