Add markdownlint dtool
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
1a2f3a9653
commit
9a981fec37
2 changed files with 9 additions and 0 deletions
8
.config/dtool/markdownlint/Dockerfile
Normal file
8
.config/dtool/markdownlint/Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
FROM node:alpine
|
||||||
|
|
||||||
|
ARG UID=1000
|
||||||
|
|
||||||
|
RUN set -ex \
|
||||||
|
&& yarn --cwd /tmp global add markdownlint-cli
|
||||||
|
|
||||||
|
ENTRYPOINT ["markdownlint"]
|
|
@ -48,6 +48,7 @@ alias htpasswd='python3 -c "import crypt; import sys; print(crypt.crypt(sys.argv
|
||||||
alias just='just --no-dotenv'
|
alias just='just --no-dotenv'
|
||||||
alias l='ls --git -lg'
|
alias l='ls --git -lg'
|
||||||
alias ls='/usr/bin/exa'
|
alias ls='/usr/bin/exa'
|
||||||
|
alias markdownlint='dtool markdownlint'
|
||||||
alias mqttcli='vault2env --key=secret/private/mqttcli -- mqttcli'
|
alias mqttcli='vault2env --key=secret/private/mqttcli -- mqttcli'
|
||||||
alias mysql='docker run --rm -ti -v $(pwd):$(pwd) -w $(pwd) mysql bash'
|
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 mysqlpw='python3 -c "import hashlib; import sys; print(\"*{}\".format(hashlib.sha1(hashlib.sha1(sys.argv[1].encode(\"utf-8\")).digest()).hexdigest().upper()))"'
|
||||||
|
|
Loading…
Reference in a new issue