Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
alizator: create default ssh directory in github-pair if it doesn't e…
…xists
- Loading branch information
1 parent
755ffd2
commit 952a95a
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#curl | ||
alias sprunge="curl -F 'sprunge=<-' http://sprunge.us" | ||
alias down4me=sh\ -c\ \''curl -s "http://www.downforeveryoneorjustme.com/${1}" | sed "/just you/!d;s/<[^>]*>//g;s:/:/:g" '\'\ - | ||
alias github-pair='sh -c '\''curl -s https://github.com/"${1}".keys | grep -vi "not found" >> ~/.ssh/authorized_keys'\'' -' | ||
alias github-pair='sh -c '\''mkdir -p ~/.ssh/; curl -s https://github.com/"${1}".keys | grep -vi "not found" >> ~/.ssh/authorized_keys'\'' -' | ||
alias github-unpair='sh -c '\''curl -s https://github.com/"${1}".keys | grep -vi "not found" | grep -vf /dev/stdin .ssh/authorized_keys > /tmp/authorized_keys.tmp; mv /tmp/authorized_keys.tmp .ssh/authorized_keys'\'' -' | ||
alias uploadpie='sh -c '\'' curl --progress-bar --upload-file "${1}" https://transfer.sh/$(basename "${1}")'\'' -' |