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/bash | |
| # chezmoi-prune — forget all DA entries (deleted from disk, still in source). | |
| # For a DA file the target is already gone, so `forget` fully removes it locally. | |
| # --exclude=templates keeps `chezmoi status` alive past secret/template errors. | |
| set -euo pipefail | |
| DRY_RUN=0 | |
| ASSUME_YES=0 | |
| for arg in "$@"; do |
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/bash | |
| chezmoi status --exclude=templates \ | |
| | grep '^DA' \ | |
| | awk '{print $2}' \ | |
| | while read -r file; do | |
| echo "Removing \"$file\" with sync-propagate" | |
| chezmoi chattr +remove "$HOME/$file" | |
| done |
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
| SHELL=/bin/zsh | |
| PATH=/usr/local/bin:/usr/bin:/bin | |
| 0 10 * * * git -C pull origin master > /dev/null 2>&1 |
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 OK Cupid Paywall | |
| // @author 3dyuval | |
| // @description Displays the content of the blurry images on 'Who likes you' page | |
| // @include *://*.www.okcupid.com/who-likes-you* | |
| // @version 0.1 | |
| // @grant none | |
| // @run-at document-idle | |
| // @noframes | |
| // ==/UserScript== |