mirror of https://github.com/CrimsonTome/tldr.git
Compare commits
10 Commits
438372779d
...
25eccebd68
Author | SHA1 | Date |
---|---|---|
pull[bot] | 25eccebd68 | |
dependabot[bot] | ec1f1cd3df | |
dependabot[bot] | 6ad1c12d44 | |
dependabot[bot] | f1c5bda466 | |
Darío Hereñú | ba787f09d8 | |
Darío Hereñú | 0d6c59f855 | |
Darío Hereñú | 90a76dec79 | |
Darío Hereñú | 44cf048494 | |
Darío Hereñú | 247d636e0f | |
Darío Hereñú | cd27fd77c7 |
|
@ -17,7 +17,7 @@ jobs:
|
||||||
|
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@v44.5.2
|
uses: tj-actions/changed-files@v44.5.5
|
||||||
with:
|
with:
|
||||||
# Ignore all other languages except English
|
# Ignore all other languages except English
|
||||||
files_ignore: |
|
files_ignore: |
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"name": "tldr-pages",
|
"name": "tldr-pages",
|
||||||
"license": "SEE LICENSE IN LICENSE.md",
|
"license": "SEE LICENSE IN LICENSE.md",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"glob": "10.4.1",
|
"glob": "10.4.2",
|
||||||
"markdownlint-cli": "^0.41.0",
|
"markdownlint-cli": "^0.41.0",
|
||||||
"tldr-lint": "^0.0.15"
|
"tldr-lint": "^0.0.15"
|
||||||
},
|
},
|
||||||
|
@ -173,14 +173,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/glob": {
|
"node_modules/glob": {
|
||||||
"version": "10.4.1",
|
"version": "10.4.2",
|
||||||
"resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz",
|
||||||
"integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==",
|
"integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"foreground-child": "^3.1.0",
|
"foreground-child": "^3.1.0",
|
||||||
"jackspeak": "^3.1.2",
|
"jackspeak": "^3.1.2",
|
||||||
"minimatch": "^9.0.4",
|
"minimatch": "^9.0.4",
|
||||||
"minipass": "^7.1.2",
|
"minipass": "^7.1.2",
|
||||||
|
"package-json-from-dist": "^1.0.0",
|
||||||
"path-scurry": "^1.11.1"
|
"path-scurry": "^1.11.1"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
|
@ -395,6 +396,11 @@
|
||||||
"node": ">=16 || 14 >=14.17"
|
"node": ">=16 || 14 >=14.17"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/package-json-from-dist": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw=="
|
||||||
|
},
|
||||||
"node_modules/path-key": {
|
"node_modules/path-key": {
|
||||||
"version": "3.1.1",
|
"version": "3.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"repository": "tldr-pages/tldr",
|
"repository": "tldr-pages/tldr",
|
||||||
"homepage": "https://tldr.sh/",
|
"homepage": "https://tldr.sh/",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"glob": "10.4.1",
|
"glob": "10.4.2",
|
||||||
"markdownlint-cli": "^0.41.0",
|
"markdownlint-cli": "^0.41.0",
|
||||||
"tldr-lint": "^0.0.15"
|
"tldr-lint": "^0.0.15"
|
||||||
},
|
},
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
# knotc
|
||||||
|
|
||||||
|
> Controla el servidor DNS knot.
|
||||||
|
> Más información: <https://www.knot-dns.cz/docs/latest/html/man_knotc.html>.
|
||||||
|
|
||||||
|
- Comienza a editar una zona:
|
||||||
|
|
||||||
|
`knotc zone-begin {{zona}}`
|
||||||
|
|
||||||
|
- Establece un registro A con TTL de 3600:
|
||||||
|
|
||||||
|
`knotc zone-set {{zona}} {{subdominio}} 3600 A {{dirección_ip}}`
|
||||||
|
|
||||||
|
- Finaliza la edición de la zona:
|
||||||
|
|
||||||
|
`knotc zone-commit {{zona}}`
|
||||||
|
|
||||||
|
- Obtén los datos de la zona actual:
|
||||||
|
|
||||||
|
`knotc zone-read {{zona}}`
|
||||||
|
|
||||||
|
- Obtén la configuración actual del servidor:
|
||||||
|
|
||||||
|
`knotc conf-read server`
|
|
@ -0,0 +1,20 @@
|
||||||
|
# streamlit
|
||||||
|
|
||||||
|
> Marco de aplicación para crear aplicaciones web interactivas y basadas en datos en Python.
|
||||||
|
> Más información: <https://docs.streamlit.io/>.
|
||||||
|
|
||||||
|
- Comprueba la instalación de Streamlit:
|
||||||
|
|
||||||
|
`streamlit hello`
|
||||||
|
|
||||||
|
- Ejecuta una aplicación Streamlit:
|
||||||
|
|
||||||
|
`streamlit run {{nombre_del_proyecto}}`
|
||||||
|
|
||||||
|
- Muestra ayuda:
|
||||||
|
|
||||||
|
`streamlit --help`
|
||||||
|
|
||||||
|
- Muestra la versión:
|
||||||
|
|
||||||
|
`streamlit --version`
|
|
@ -0,0 +1,16 @@
|
||||||
|
# zint
|
||||||
|
|
||||||
|
> Genera códigos de barras y códigos QR.
|
||||||
|
> Más información: <https://www.zint.org.uk/manual/chapter/4>.
|
||||||
|
|
||||||
|
- Crea un archivo con un código de barras:
|
||||||
|
|
||||||
|
`zint --data "{{datos_UTF-8}}" --output {{ruta/al/archivo}}`
|
||||||
|
|
||||||
|
- Crea un archivo con otro tipo de código de barras:
|
||||||
|
|
||||||
|
`zint --barcode {{tipo_de_código}} --data "{{datos_UTF-8}}" --output {{ruta/al/archivo}}`
|
||||||
|
|
||||||
|
- Lista todos los tipos de códigos de barras soportados:
|
||||||
|
|
||||||
|
`zint --types`
|
|
@ -0,0 +1,32 @@
|
||||||
|
# hyprpm
|
||||||
|
|
||||||
|
> Complementos de control para el compositor Hyprland Wayland.
|
||||||
|
> Más información: <https://wiki.hyprland.org/Plugins/Using-Plugins/#hyprpm>.
|
||||||
|
|
||||||
|
- Añade un complemento:
|
||||||
|
|
||||||
|
`hyprpm add {{url_de_repositorio_git}}`
|
||||||
|
|
||||||
|
- Elimina un complemento:
|
||||||
|
|
||||||
|
`hyprpm remove {{url_de_repositorio_git|nombre_del_complemento}}`
|
||||||
|
|
||||||
|
- Activa un complemento:
|
||||||
|
|
||||||
|
`hyprpm enable {{nombre_del_complemento}}`
|
||||||
|
|
||||||
|
- Desactiva un complemento:
|
||||||
|
|
||||||
|
`hyprpm disable {{nombre_del_complemento}}`
|
||||||
|
|
||||||
|
- Actualiza y comprueba todos los complementos:
|
||||||
|
|
||||||
|
`hyprpm update`
|
||||||
|
|
||||||
|
- Fuerza una operación:
|
||||||
|
|
||||||
|
`hyprpm {{-f|--force}} {{operación}}`
|
||||||
|
|
||||||
|
- Lista todos los complementos instalados:
|
||||||
|
|
||||||
|
`hyprpm list`
|
|
@ -0,0 +1,25 @@
|
||||||
|
# zramctl
|
||||||
|
|
||||||
|
> Configura y controla dispositivos zram.
|
||||||
|
> Usa `mkfs` o `mkswap` para formatear dispositivos zram a particiones.
|
||||||
|
> Más información: <https://manned.org/zramctl>.
|
||||||
|
|
||||||
|
- Comprueba si zram está habilitado:
|
||||||
|
|
||||||
|
`lsmod | grep -i zram`
|
||||||
|
|
||||||
|
- Habilita zram con un número dinámico de dispositivos (usa `zramctl` para configurar más dispositivos):
|
||||||
|
|
||||||
|
`sudo modprobe zram`
|
||||||
|
|
||||||
|
- Habilita zram con exactamente 2 dispositivos:
|
||||||
|
|
||||||
|
`sudo modprobe zram num_devices={{2}}`
|
||||||
|
|
||||||
|
- Encuentra e inicializa el siguiente dispositivo zram libre a una unidad virtual de 2 GB usando compresión LZ4:
|
||||||
|
|
||||||
|
`sudo zramctl --find --size {{2GB}} --algorithm {{lz4}}`
|
||||||
|
|
||||||
|
- Lista los dispositivos actualmente inicializados:
|
||||||
|
|
||||||
|
`sudo zramctl`
|
|
@ -0,0 +1,37 @@
|
||||||
|
# mist
|
||||||
|
|
||||||
|
> MIST - macOS Installer Super Tool.
|
||||||
|
> Descarga automáticamente Firmwares/Instaladores de macOS.
|
||||||
|
> Más información: <https://github.com/ninxsoft/mist-cli>.
|
||||||
|
|
||||||
|
- Lista todos los firmwares de macOS disponibles para los Mac Silicon de Apple:
|
||||||
|
|
||||||
|
`mist list firmware`
|
||||||
|
|
||||||
|
- Lista todos los instaladores de macOS disponibles para Mac Intel, incluidos los instaladores universales para macOS Big Sur y versiones posteriores:
|
||||||
|
|
||||||
|
`mist list installer`
|
||||||
|
|
||||||
|
- Lista todos los instaladores de macOS compatibles con esta Mac, incluidos los instaladores universales de macOS Big Sur y posteriores:
|
||||||
|
|
||||||
|
`mist list installer --compatible`
|
||||||
|
|
||||||
|
- Lista todos los instaladores de macOS disponibles para Mac Intel, incluidas las betas tanto como también los instaladores universales para macOS Big Sur y versiones posteriores:
|
||||||
|
|
||||||
|
`mist list installer --include-betas`
|
||||||
|
|
||||||
|
- Lista solo el último instalador de macOS Sonoma para las Macs Intel, incluidos los instaladores universales de macOS Big Sur y posteriores:
|
||||||
|
|
||||||
|
`mist list installer --latest "macOS Sonoma"`
|
||||||
|
|
||||||
|
- Lista y exporta instaladores de macOS a un archivo CSV:
|
||||||
|
|
||||||
|
`mist list installer --export "{{/ruta/a/archivo_con_datos_exportados.csv}}"`
|
||||||
|
|
||||||
|
- Descarga el último firmware de macOS Sonoma para los Mac Silicon de Apple, con un nombre personalizado:
|
||||||
|
|
||||||
|
`mist download firmware "macOS Sonoma" --firmware-name "{{Install %NAME% %VERSION%-%BUILD%.ipsw}}"`
|
||||||
|
|
||||||
|
- Descarga una versión específica del instalador de macOS para Mac Intel, incluidos los instaladores universales de macOS Big Sur y posteriores:
|
||||||
|
|
||||||
|
`mist download installer "{{13.5.2}}" application`
|
|
@ -1,3 +1,3 @@
|
||||||
black==24.4.2
|
black==24.4.2
|
||||||
flake8==7.0.0
|
flake8==7.1.0
|
||||||
requests==2.32.3
|
requests==2.32.3
|
||||||
|
|
Loading…
Reference in New Issue