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 | |
| #sshkeper 0.1 stub | |
| stubid='11e147c678fd44fada054745e31d7492' | |
| enc='openssl enc -e -base64 -aes-256-cfb' | |
| dec='openssl enc -d -base64 -aes-256-cfb' | |
| compression='z' # | |
| prefix="$HOME/.ssh" | |
| self="$0" | |
| selfpkg(){ |
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 | |
| # ./encrypt.sh -keys public.pem private.pem | |
| # ./encrypt.sh folder public.pem > decrypt-folder.sh | |
| # chmod +x decrypt-folder.sh | |
| # ./decrypt-folder.sh private.pem > folder.tar | |
| # | |
| # | |
| # $ ./encrypt.sh | |
| # Usage: ./encrypt-file.sh [directory] [public-key] > [decryption-script] |
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
| defaults write com.bohemiancoding.sketch3 ApplePersistence -bool no |
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
| dm(){ | |
| case $1 in | |
| use) | |
| if [ -n "$2" ] | |
| then | |
| eval "$(docker-machine env $2)" | |
| else | |
| echo "Host does not empty" | |
| fi | |
| ;; |
OlderNewer