At least for me, Reddit has a problem actually hiding posts I have marked as hidden. With RES going away and Tamper Monkey being more difficult that this is worth, I created a simple bookmarklet to automatically remove hidden posts.
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
| /** | |
| * The base class for the find utility classes. | |
| * | |
| * When a tag is provided for inclusion or exclusion, the tag expression | |
| * is converted into a regular expression. The tag expression supports the | |
| * wildcard character `*`, which matches anything after the string. For | |
| * example, the tag expression `project/*` would match any tag that starts | |
| * with `#project/`, such as `#project/alpha` or `#project/beta`. | |
| */ | |
| class FindBase { |
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
| const SETTING = { | |
| ALIAS: "Use Alias", | |
| PROMPT: "Prompt for Title", | |
| PROPERTY: "Parent Property", | |
| TEMPLATE: "Template", | |
| TITLE: "Default Title", | |
| }; | |
| const WAIT = 1000; |
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
| const SETTING = { | |
| ALIAS: "Use Alias", | |
| }; | |
| const VARIABLE = "kherge:parent"; | |
| async function getParent({ app, variables }, settings) { | |
| delete variables[VARIABLE]; | |
| const file = app.workspace.getActiveFile(); |
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
| # Convert to allow list. | |
| * | |
| # Allow ignore lists. | |
| !.gitignore |
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
| # Docker spacer icon. | |
| defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}' \ | |
| && killall Dock | |
| # Faster dock hiding/showing. | |
| defaults write com.apple.dock autohide-delay -float 0 \ | |
| && defaults write com.apple.dock autohide-time-modifier -float 0.5 \ | |
| && killall Dock |
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
| #!/bin/sh | |
| ### | |
| # Uses the 3 pipe to run commands. | |
| # | |
| # In Rust: https://stackoverflow.com/a/54858159 | |
| ## | |
| inner() | |
| { | |
| echo 'echo "Hello, before!"' >&3 |
NewerOlder