Compare commits

...

6 Commits

Author SHA1 Message Date
04eab0e211
fix indent style 2023-04-06 12:03:10 +03:00
2fdf26066c
fix shebang executable checks 2023-04-06 11:56:28 +03:00
eb162d023f
download-forgejo.bash: update version number
I thought the syntax was supposed to change, but apparently not
2023-04-06 11:52:56 +03:00
fd3560c026
.editorconfig: add max line length & lf 2023-04-06 11:48:39 +03:00
9072fca22f
.pre-commit-config.yaml: add doctoc, disable ec linecheck 2023-04-06 11:46:54 +03:00
2875272c64
.gitattributes: eol=lf 2023-04-06 11:44:52 +03:00
28 changed files with 159 additions and 154 deletions

View File

@ -1,14 +1,14 @@
root = true root = true
[*] [*]
# Future: https://github.com/editorconfig/editorconfig/issues/89
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true
charset = utf-8 charset = utf-8
# Accessibility reasons. Vim: :%retab! (note also :set ts=4) # Accessibility reasons. Vim: :%retab! (note also :set ts=4)
indent_style = tab indent_style = tab
indent_size = tab indent_size = tab
#tab_width = max_line_length = 78
end_of_line = lf
[*.{cff,yaml,yml}] [*.{cff,yaml,yml}]
indent_style = space indent_style = space
@ -17,4 +17,3 @@ indent_size = 2
[*.{txt,markdown,md}] [*.{txt,markdown,md}]
trim_trailing_whitespace = false trim_trailing_whitespace = false
indent_style = space indent_style = space
indent_size = 2

3
.gitattributes vendored
View File

@ -1,5 +1,4 @@
# Line ending normalisatsion, force linguist to consider everything * text=auto eol=lf linguist-detectable
* text=auto linguist-detectable
# bash scripts are most likely ran on Linux so they have lf endings # bash scripts are most likely ran on Linux so they have lf endings
*.bash text eol=lf *.bash text eol=lf

View File

@ -10,6 +10,12 @@ repos:
- id: detect-private-key - id: detect-private-key
- id: end-of-file-fixer - id: end-of-file-fixer
- id: fix-byte-order-marker - id: fix-byte-order-marker
- repo: https://github.com/thlorenz/doctoc
rev: v2.2.0
hooks:
- id: doctoc
# https://github.com/Mikaela/gist/blob/master/doctoc.txt
args: [--update-only]
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.6" rev: "v3.0.0-alpha.6"
hooks: hooks:
@ -19,3 +25,4 @@ repos:
hooks: hooks:
- id: editorconfig-checker - id: editorconfig-checker
alias: ec alias: ec
args: [-disable-max-line-length]

0
bash/backup-relpda.bash Normal file → Executable file
View File

0
bash/borgbackup-etro.bash Normal file → Executable file
View File

View File

@ -26,7 +26,7 @@ if [ -f ~/.local/Telegram/Updater ]
then then
(~/.local/Telegram/Updater -many -startintray&) (~/.local/Telegram/Updater -many -startintray&)
else else
if hash telegram-desktop 2>/dev/null; then if hash telegram-desktop 2>/dev/null; then
(telegram-desktop -many -startintray&) (telegram-desktop -many -startintray&)
fi fi
fi fi

0
bash/deprecated/certbot-ssl.sh Normal file → Executable file
View File

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
VERSION=1.18.3-2 VERSION=1.19.0-3
PLATFORM=linux-amd64 PLATFORM=linux-amd64
# If the signature is already downloaded, don't redownload it # If the signature is already downloaded, don't redownload it

0
bash/oneliner/start-transmission-daemon.bash Normal file → Executable file
View File

0
php/IP.php Executable file → Normal file
View File

0
php/IPTITLE.php Executable file → Normal file
View File

0
php/gravatar.php Executable file → Normal file
View File

0
php/libravatar.php Executable file → Normal file
View File

0
ruby/ipfsbin.rb Normal file → Executable file
View File