Homepage: https://www.powerlanguage.co.uk/wordle/
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
| #! /usr/bin/env nix-shell | |
| #! nix-shell -i bash -p git bitwarden-cli jq | |
| # This script downloads my SSH key from Bitwarden and then clones my private NixOS config repository from Github | |
| # Assumptions: | |
| # 1. You have only one item named "SSH Keys" stored in Bitwarden | |
| # 2. The private key is saved in that item as an attachment named "id_rsa" | |
| # 3. The public key is added to Github account | |
| mkdir -p ~/.ssh |
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 | |
| export_dir="Export" | |
| share_dir="Share" | |
| mkdir -p "$share_dir" | |
| overwrite=false | |
| if [[ "$1" == "-overwrite" ]]; then | |
| overwrite=true | |
| fi |
OlderNewer