Updates.
This commit is contained in:
parent
a3bd316ea2
commit
d0f4320c28
8 changed files with 311 additions and 2 deletions
|
@ -39,5 +39,11 @@ alias ytvf='yt-dlp --merge-output-format mp4 --format best --embed-thumbnail --e
|
|||
alias dl='aria2c -j 16 -s 16 -x 16 -k 5M --file-allocation=none'
|
||||
alias b='buku --suggest'
|
||||
|
||||
# ntfy aliases
|
||||
alias ntfy='curl -u ":$(cat .config/ntfy/access_token)"'
|
||||
alias update_done='curl -u ":$(cat .config/ntfy/access_token)" -H "t: System update" -d "System update is finished" ntfy.cronyakatsuki.xyz/portage'
|
||||
alias update_failed='curl -u ":$(cat .config/ntfy/access_token)" -H "t: System update" -H "p:4" -d "System update failed" ntfy.cronyakatsuki.xyz/portage'
|
||||
alias sync_done='curl -u ":$(cat .config/ntfy/access_token)" -H "t: System sync" -d "System sync is finished" ntfy.cronyakatsuki.xyz/portage'
|
||||
|
||||
# cryptography
|
||||
alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'"
|
||||
|
|
|
@ -39,8 +39,8 @@ md () {
|
|||
# Move a file and create a link in it's place
|
||||
mvln () {
|
||||
from=$(readlink -f $1)
|
||||
to=$(readlink -f $2)
|
||||
[ ! -d "$(basename $to)" ] && mkdir "$to"
|
||||
to="$2"
|
||||
[ ! -d "$(dirname $to)" ] && mkdir "$(dirname $to)"
|
||||
mv $from $to
|
||||
ln -s $to $from
|
||||
}
|
||||
|
@ -124,3 +124,7 @@ n () {
|
|||
rm -f "$NNN_TMPFILE" > /dev/null
|
||||
}
|
||||
}
|
||||
|
||||
upfast () {
|
||||
curl -F "file=@$(readlink -f $1)" "https://upfast.cronyakatsuki.xyz/"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue