Compare commits

...

3 Commits

10 changed files with 33 additions and 14 deletions

View File

@ -1,3 +1,5 @@
# @format
# Based on https://pre-commit.com # Based on https://pre-commit.com
#image: python:alpine #image: python:alpine
image: pypy:latest image: pypy:latest

3
.gitmodules vendored
View File

@ -1,9 +1,12 @@
[submodule "submodules/gist"] [submodule "submodules/gist"]
path = submodules/gist path = submodules/gist
url = https://gitea.blesmrt.net/mikaela/gist.git url = https://gitea.blesmrt.net/mikaela/gist.git
branch = master
[submodule "submodules/PPFI-Pikaviestimet"] [submodule "submodules/PPFI-Pikaviestimet"]
path = submodules/PPFI-Pikaviestimet path = submodules/PPFI-Pikaviestimet
url = https://git.piraattipuolue.fi/Pikaviestimet/Pikaviestimet.git url = https://git.piraattipuolue.fi/Pikaviestimet/Pikaviestimet.git
branch = master
[submodule "submodules/shell-things"] [submodule "submodules/shell-things"]
path = submodules/shell-things path = submodules/shell-things
url = https://gitea.blesmrt.net/Mikaela/shell-things.git url = https://gitea.blesmrt.net/Mikaela/shell-things.git
branch = master

View File

@ -1,3 +1,5 @@
# @format
# SPDX-FileCopyrightText: 2023 Aminda Suomalainen <suomalainen+git@mikaela.info> # SPDX-FileCopyrightText: 2023 Aminda Suomalainen <suomalainen+git@mikaela.info>
# #
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: CC0-1.0
@ -56,6 +58,7 @@ repos:
rev: "v1.10.0" rev: "v1.10.0"
hooks: hooks:
- id: mypy - id: mypy
args: [--install-types, --non-interactive]
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v3.16.0 rev: v3.16.0
hooks: hooks:

View File

@ -1,4 +1,7 @@
{ {
"insertPragma": true,
"proseWrap": "always",
"singleAttributePerLine": true,
"plugins": ["@prettier/plugin-ruby", "prettier-plugin-sh"], "plugins": ["@prettier/plugin-ruby", "prettier-plugin-sh"],
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }] "overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
} }

View File

@ -1,12 +1,13 @@
<!-- @format -->
## scripts ## scripts
Miscellaneous scripts sorted by language. Miscellaneous scripts sorted by language.
I have moved the repository from GitHub due to concerns related to I have moved the repository from GitHub due to concerns related to their
their relationship with the relationship with the [ICE](https://github.com/selfagency/microsoft-drop-ice)
[ICE](https://github.com/selfagency/microsoft-drop-ice) and and [Iran](https://github.com/1995parham/github-do-not-ban-us). The main
[Iran](https://github.com/1995parham/github-do-not-ban-us). The main branch branch used to be called as `gh-pages` so that the scripts were downloadable
used to be called as `gh-pages` so that the scripts were downloadable
through curl/wget. through curl/wget.
### Directories ### Directories
@ -15,8 +16,8 @@ through curl/wget.
- _nodejs_ **MIGHT** get some nodejs scripts - _nodejs_ **MIGHT** get some nodejs scripts
- _WeeChat_ is a placeholder and unlikely to get anything. - _WeeChat_ is a placeholder and unlikely to get anything.
- _ZNC_ is another placeholder which is unlikely to get anything. - _ZNC_ is another placeholder which is unlikely to get anything.
- note that they are _modules_ with ZNC, but I don't see why I - note that they are _modules_ with ZNC, but I don't see why I couldn't put
couldn't put them here. them here.
_I doubt I am going to write many WeeChat scripts or ZNC modules, so I _I doubt I am going to write many WeeChat scripts or ZNC modules, so I won't
won't be making subdirectories for different languages._ be making subdirectories for different languages._

View File

@ -1,5 +1,7 @@
Simple bash scripts I have in `/usr/local/bin` that may be trivial to recreate, <!-- @format -->
but why reinvent the wheel.
Simple bash scripts I have in `/usr/local/bin` that may be trivial to
recreate, but why reinvent the wheel.
## Does this make sense for Flatpaks? ## Does this make sense for Flatpaks?
@ -9,5 +11,5 @@ tail -n +1 /var/lib/flatpak/exports/bin/*
## Snap? ## Snap?
`/usr/local/bin` is more likely to be in `$PATH` than the usual Snap `/usr/local/bin` is more likely to be in `$PATH` than the usual Snap vriants.
vriants. If they are in $PATH, note `sudo snap alias ORIGINAL NEW` If they are in $PATH, note `sudo snap alias ORIGINAL NEW`

View File

@ -1,4 +1,5 @@
#!/usr/bin/env node #!/usr/bin/env node
/** @format */
// Require the dns module // Require the dns module
var dns = require("dns"); var dns = require("dns");

View File

@ -1,3 +1,5 @@
<!-- @format -->
Archived from https://github.com/Mikaela/mikaela.github.io/commits/master/php Archived from https://github.com/Mikaela/mikaela.github.io/commits/master/php
Not touched in ages. Not touched in ages.

2
pnpm-lock.yaml generated vendored
View File

@ -1,3 +1,5 @@
# @format
lockfileVersion: "9.0" lockfileVersion: "9.0"
settings: settings:

@ -1 +1 @@
Subproject commit c453240376a2190dda1f86b5a6b0cd380f6e49f3 Subproject commit 0b29f1e8133a20038f250dde83a1d84deca44771