A simple command line tool that uses ddccontrol to find named input sources and change to them.
cis -d *U3818DW* -s usb-c
| /* calendar.google.com */ | |
| :root { | |
| --base-bg-color: #111111; | |
| --base-fg-color: #eeeeee; | |
| --border-color: #202020; | |
| --button-hover-bg-color: #333333; | |
| --button-hover-border-color: #404040; |
| #!/bin/sh | |
| ### | |
| # Uses the 3 pipe to run commands. | |
| # | |
| # In Rust: https://stackoverflow.com/a/54858159 | |
| ## | |
| inner() | |
| { | |
| echo 'echo "Hello, before!"' >&3 |
| # 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 |
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.
| # Convert to allow list. | |
| * | |
| # Allow ignore lists. | |
| !.gitignore |
| const SETTING = { | |
| ALIAS: "Use Alias", | |
| }; | |
| const VARIABLE = "kherge:parent"; | |
| async function getParent({ app, variables }, settings) { | |
| delete variables[VARIABLE]; | |
| const file = app.workspace.getActiveFile(); |