Use longer hash prefix
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
cabf6ae843
commit
7b01912a2b
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ alias mysql='docker run --rm -ti -v $(pwd):$(pwd) -w $(pwd) mysql bash'
|
|||
alias mysqlpw='python3 -c "import hashlib; import sys; print(\"*{}\".format(hashlib.sha1(hashlib.sha1(sys.argv[1].encode(\"utf-8\")).digest()).hexdigest().upper()))"'
|
||||
alias pushgallery='vault2env --key=secret/aws/private -- gallery --storage s3://io-luzifer-photos'
|
||||
alias :q='exit'
|
||||
alias share='AWS_REGION=us-east-1 vault2env --key=secret/aws/private -- share --bucket=share-luzifer-io-s3bucket-164ztrtyq1f35 --base-path="file/{{ printf \"%.6s\" .Hash}}" --base-url="https://knut.cc/#"'
|
||||
alias share='AWS_REGION=us-east-1 vault2env --key=secret/aws/private -- share --bucket=share-luzifer-io-s3bucket-164ztrtyq1f35 --base-path="file/{{ printf \"%.8s\" .Hash}}" --base-url="https://knut.cc/#"'
|
||||
alias shfmt='shfmt -d -s -ci'
|
||||
|
||||
## Initialize GPG agent
|
||||
|
|
Loading…
Reference in a new issue