mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-18 04:17:21 +02:00
Compare commits
6 Commits
a3c369180b
...
275295c9b2
Author | SHA1 | Date | |
---|---|---|---|
275295c9b2 | |||
37208ccdf8 | |||
9ddc0d0d42 | |||
3a429cc0c7 | |||
29dc1af193 | |||
6a58feed11 |
@ -22,6 +22,11 @@ max_line_length = 78
|
|||||||
# Opinionated affecting only display, better to not set
|
# Opinionated affecting only display, better to not set
|
||||||
#tab_width =
|
#tab_width =
|
||||||
|
|
||||||
|
# https://github.com/jxddk/prettier-plugin-nginx/issues/8
|
||||||
|
[*.nginx]
|
||||||
|
insert_final_newline = unset
|
||||||
|
indent_style = unset
|
||||||
|
|
||||||
# *nix, just in case
|
# *nix, just in case
|
||||||
[*.{bash,sh}]
|
[*.{bash,sh}]
|
||||||
# .gitattributes !
|
# .gitattributes !
|
||||||
|
@ -32,7 +32,7 @@ repos:
|
|||||||
# and lack of it break things. Use identify-cli for figuring out more
|
# and lack of it break things. Use identify-cli for figuring out more
|
||||||
# types to add.
|
# types to add.
|
||||||
exclude_types: [svg, tsv]
|
exclude_types: [svg, tsv]
|
||||||
- id: end-of-file-fixer
|
#- id: end-of-file-fixer
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
# These are not from `pre-commit sample-config`
|
# These are not from `pre-commit sample-config`
|
||||||
@ -160,10 +160,10 @@ repos:
|
|||||||
#- id: black-jupyter
|
#- id: black-jupyter
|
||||||
|
|
||||||
# Shell code formatter, requires Go
|
# Shell code formatter, requires Go
|
||||||
- repo: https://github.com/scop/pre-commit-shfmt
|
# - repo: https://github.com/scop/pre-commit-shfmt
|
||||||
rev: v3.8.0-1
|
# rev: v3.8.0-1
|
||||||
hooks:
|
# hooks:
|
||||||
- id: shfmt
|
# - id: shfmt
|
||||||
#- id: shfmt-docker
|
#- id: shfmt-docker
|
||||||
|
|
||||||
# .editorconfig validity checking
|
# .editorconfig validity checking
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
*.py*
|
*.py*
|
||||||
*.jupyter
|
*.jupyter
|
||||||
*.json
|
*.json
|
||||||
|
# prettier-plugin-sh is very unhappy with it
|
||||||
|
rc/zshrc
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"plugins": [
|
||||||
|
"prettier-plugin-nginx",
|
||||||
|
"prettier-plugin-toml",
|
||||||
|
"prettier-plugin-sh"
|
||||||
|
],
|
||||||
|
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
|
||||||
|
}
|
@ -77,14 +77,22 @@ lb_strategy = 'p2'
|
|||||||
[sources]
|
[sources]
|
||||||
[sources.'public-resolvers']
|
[sources.'public-resolvers']
|
||||||
#url = 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md'
|
#url = 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md'
|
||||||
urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md', 'https://cdn.staticaly.com/gh/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md', 'https://evilvibes.com/list/public-resolvers.md']
|
urls = [
|
||||||
|
'https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md',
|
||||||
|
'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md',
|
||||||
|
'https://cdn.staticaly.com/gh/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md',
|
||||||
|
'https://evilvibes.com/list/public-resolvers.md',
|
||||||
|
]
|
||||||
cache_file = '/var/cache/dnscrypt-proxy/public-resolvers.md'
|
cache_file = '/var/cache/dnscrypt-proxy/public-resolvers.md'
|
||||||
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
||||||
refresh_delay = 72
|
refresh_delay = 72
|
||||||
prefix = 'public-'
|
prefix = 'public-'
|
||||||
|
|
||||||
[sources.'opennic']
|
[sources.'opennic']
|
||||||
urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/opennic.md', 'https://download.dnscrypt.info/resolvers-list/v2/opennic.md']
|
urls = [
|
||||||
|
'https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/opennic.md',
|
||||||
|
'https://download.dnscrypt.info/resolvers-list/v2/opennic.md',
|
||||||
|
]
|
||||||
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
||||||
refresh_delay = 72
|
refresh_delay = 72
|
||||||
cache_file = '/var/cache/dnscrypt-proxy/opennic.md'
|
cache_file = '/var/cache/dnscrypt-proxy/opennic.md'
|
||||||
|
8
etc/yum.repos.d/vscodium.repo
Normal file
8
etc/yum.repos.d/vscodium.repo
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[gitlab.com_paulcarroty_vscodium_repo]
|
||||||
|
name=download.vscodium.com
|
||||||
|
baseurl=https://download.vscodium.com/rpms/
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=1
|
||||||
|
repo_gpgcheck=1
|
||||||
|
gpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg
|
||||||
|
metadata_expire=1h
|
@ -52,7 +52,8 @@ inode/directory=org.gnome.Nautilus.desktop;
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
% grep directory /usr/share/applications/mimeinfo.cache
|
% grep directory /usr/share/applications/mimeinfo.cache
|
||||||
inode/directory=codium.desktop;org.gnome.Nautilus.desktop;
|
inode/directory=codium.desktop
|
||||||
|
org.gnome.Nautilus.desktop
|
||||||
```
|
```
|
||||||
|
|
||||||
TODO: I wonder if it needs an `update-desktop-database` or similar though.
|
TODO: I wonder if it needs an `update-desktop-database` or similar though.
|
||||||
|
1
package.json
vendored
1
package.json
vendored
@ -2,6 +2,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"prettier": "3.2.5",
|
"prettier": "3.2.5",
|
||||||
"prettier-plugin-nginx": "1.0.3",
|
"prettier-plugin-nginx": "1.0.3",
|
||||||
|
"prettier-plugin-sh": "0.14.0",
|
||||||
"prettier-plugin-toml": "2.0.1"
|
"prettier-plugin-toml": "2.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
45
pnpm-lock.yaml
generated
vendored
45
pnpm-lock.yaml
generated
vendored
@ -13,6 +13,9 @@ importers:
|
|||||||
prettier-plugin-nginx:
|
prettier-plugin-nginx:
|
||||||
specifier: 1.0.3
|
specifier: 1.0.3
|
||||||
version: 1.0.3
|
version: 1.0.3
|
||||||
|
prettier-plugin-sh:
|
||||||
|
specifier: 0.14.0
|
||||||
|
version: 0.14.0(prettier@3.2.5)
|
||||||
prettier-plugin-toml:
|
prettier-plugin-toml:
|
||||||
specifier: 2.0.1
|
specifier: 2.0.1
|
||||||
version: 2.0.1(prettier@3.2.5)
|
version: 2.0.1(prettier@3.2.5)
|
||||||
@ -30,12 +33,27 @@ packages:
|
|||||||
integrity: sha512-DV/Re3DPVY+BhBtLZ3dmP4mP6YMLSsgq9qGLXwOV38lvNF/fBlgvQswzlXmzCEefL/3q2eMoefZpOI/+GLuCNA==,
|
integrity: sha512-DV/Re3DPVY+BhBtLZ3dmP4mP6YMLSsgq9qGLXwOV38lvNF/fBlgvQswzlXmzCEefL/3q2eMoefZpOI/+GLuCNA==,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mvdan-sh@0.10.1:
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-kMbrH0EObaKmK3nVRKUIIya1dpASHIEusM13S4V1ViHFuxuNxCo+arxoa6j/dbV22YBGjl7UKJm9QQKJ2Crzhg==,
|
||||||
|
}
|
||||||
|
|
||||||
prettier-plugin-nginx@1.0.3:
|
prettier-plugin-nginx@1.0.3:
|
||||||
resolution:
|
resolution:
|
||||||
{
|
{
|
||||||
integrity: sha512-vV5q85s8XnV6NEgvz1gVLfZhmxAxY03MyOYj2ApBpjFkbs00lRsRkTmqO9L39ADuD18z1RRCcfZ3eVxKhI/nqg==,
|
integrity: sha512-vV5q85s8XnV6NEgvz1gVLfZhmxAxY03MyOYj2ApBpjFkbs00lRsRkTmqO9L39ADuD18z1RRCcfZ3eVxKhI/nqg==,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
prettier-plugin-sh@0.14.0:
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-hfXulj5+zEl/ulrO5kMuuTPKmXvOg0bnLHY1hKFNN/N+/903iZbNp8NyZBTsgI8dtkSgFfAEIQq0IQTyP1ZVFQ==,
|
||||||
|
}
|
||||||
|
engines: { node: ">=16.0.0" }
|
||||||
|
peerDependencies:
|
||||||
|
prettier: ^3.0.3
|
||||||
|
|
||||||
prettier-plugin-toml@2.0.1:
|
prettier-plugin-toml@2.0.1:
|
||||||
resolution:
|
resolution:
|
||||||
{
|
{
|
||||||
@ -53,6 +71,19 @@ packages:
|
|||||||
engines: { node: ">=14" }
|
engines: { node: ">=14" }
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
|
sh-syntax@0.4.2:
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-/l2UZ5fhGZLVZa16XQM9/Vq/hezGGbdHeVEA01uWjOL1+7Ek/gt6FquW0iKKws4a9AYPYvlz6RyVvjh3JxOteg==,
|
||||||
|
}
|
||||||
|
engines: { node: ">=16.0.0" }
|
||||||
|
|
||||||
|
tslib@2.6.3:
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==,
|
||||||
|
}
|
||||||
|
|
||||||
snapshots:
|
snapshots:
|
||||||
"@taplo/core@0.1.1": {}
|
"@taplo/core@0.1.1": {}
|
||||||
|
|
||||||
@ -60,11 +91,25 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@taplo/core": 0.1.1
|
"@taplo/core": 0.1.1
|
||||||
|
|
||||||
|
mvdan-sh@0.10.1: {}
|
||||||
|
|
||||||
prettier-plugin-nginx@1.0.3: {}
|
prettier-plugin-nginx@1.0.3: {}
|
||||||
|
|
||||||
|
prettier-plugin-sh@0.14.0(prettier@3.2.5):
|
||||||
|
dependencies:
|
||||||
|
mvdan-sh: 0.10.1
|
||||||
|
prettier: 3.2.5
|
||||||
|
sh-syntax: 0.4.2
|
||||||
|
|
||||||
prettier-plugin-toml@2.0.1(prettier@3.2.5):
|
prettier-plugin-toml@2.0.1(prettier@3.2.5):
|
||||||
dependencies:
|
dependencies:
|
||||||
"@taplo/lib": 0.4.0-alpha.2
|
"@taplo/lib": 0.4.0-alpha.2
|
||||||
prettier: 3.2.5
|
prettier: 3.2.5
|
||||||
|
|
||||||
prettier@3.2.5: {}
|
prettier@3.2.5: {}
|
||||||
|
|
||||||
|
sh-syntax@0.4.2:
|
||||||
|
dependencies:
|
||||||
|
tslib: 2.6.3
|
||||||
|
|
||||||
|
tslib@2.6.3: {}
|
||||||
|
@ -584,7 +584,7 @@ if hash pnpm 2>/dev/null; then
|
|||||||
alias npx=pnpx
|
alias npx=pnpx
|
||||||
alias pnpmx=pnpx
|
alias pnpmx=pnpx
|
||||||
if ! hash prettier 2>/dev/null; then
|
if ! hash prettier 2>/dev/null; then
|
||||||
alias prettier="pnpm exec prettier"
|
alias prettier="pnpm exec prettier --cache --ignore-unknown"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
2
rc/zshrc
2
rc/zshrc
@ -574,7 +574,7 @@ if hash pnpm 2>/dev/null; then
|
|||||||
alias npx=pnpx
|
alias npx=pnpx
|
||||||
alias pnpmx=pnpx
|
alias pnpmx=pnpx
|
||||||
if ! hash prettier 2>/dev/null; then
|
if ! hash prettier 2>/dev/null; then
|
||||||
alias prettier="pnpm exec prettier"
|
alias prettier="pnpm exec prettier --cache --ignore-unknown"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user