mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
devfsadm, bun-pm-pkg, piper, aa-unconfined, wmic, trdsql, electron-packager, cheatshh: adhere to the style guide (#22003)
* Update devfsadm.md * Update devfsadm.md * Update piper.md * Update bun-pm-pkg.md * Update aa-unconfined.md * Update wmic.md * Update trdsql.md * Update elm.md * Update electron-packager.md * Update cheatshh.md
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# bun pm pkg
|
||||
|
||||
> Manage package.json data with `get`, `set`, `delete`, and `fix` operations.
|
||||
> Manage `package.json` data with `get`, `set`, `delete`, and `fix` operations.
|
||||
> More information: <https://bun.com/docs/pm/cli/pm#pkg>.
|
||||
|
||||
- Get all properties from `package.json`:
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
`cheatshh {{[-eg|--edit-group]}}`
|
||||
|
||||
- Delete an existing group and it's sub commands from commands.json file:
|
||||
- Delete an existing group and it's sub commands from `commands.json` file:
|
||||
|
||||
`cheatshh {{[-dg|--delete-group]}}`
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# electron-packager
|
||||
|
||||
> Build Electron app executables for Windows, Linux, and macOS.
|
||||
> Requires a valid package.json in the application directory.
|
||||
> Requires a valid `package.json` in the application directory.
|
||||
> More information: <https://github.com/electron/packager>.
|
||||
|
||||
- Package an application for the current architecture and platform:
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
> Compile and run Elm source files.
|
||||
> More information: <https://guide.elm-lang.org/install/elm.html>.
|
||||
|
||||
- Initialize an Elm project, generates an elm.json file:
|
||||
- Initialize an Elm project, generates an `elm.json` file:
|
||||
|
||||
`elm init`
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
> Try out and download speech models from <https://rhasspy.github.io/piper-samples>.
|
||||
> More information: <https://github.com/OHF-Voice/piper1-gpl>.
|
||||
|
||||
- Output a WAV [f]ile using a text-to-speech [m]odel (assuming a configuration file at model_path + .json):
|
||||
- Output a WAV [f]ile using a text-to-speech [m]odel (assuming a configuration file at model_path + `.json`):
|
||||
|
||||
`echo {{Thing to say}} | piper -m {{path/to/model.onnx}} -f {{outputfile.wav}}`
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
`trdsql -ocsv -oh "SELECT * FROM {{path/to/directory/*.json}}" | sed 's/\([^,]*\)/"&"/g' > {{path/to/file.csv}}`
|
||||
|
||||
- Interpret JSON list as a table and put objects inside as columns (path/to/file.json: `{"list":[{"age":"26","name":"Tanaka"}]}`):
|
||||
- Interpret JSON list as a table and put objects inside as columns (`path/to/file.json: {"list":[{"age":"26","name":"Tanaka"}]}`):
|
||||
|
||||
`trdsql "SELECT * FROM {{path/to/file.json}}::.list"`
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
`sudo aa-unconfined --with-netstat`
|
||||
|
||||
- Show all processes from /proc with TCP/UDP ports and no AppArmor profiles (more detailed):
|
||||
- Show all processes from `/proc` with TCP/UDP ports and no AppArmor profiles (more detailed):
|
||||
|
||||
`sudo aa-unconfined --paranoid`
|
||||
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
# devfsadm
|
||||
|
||||
> Administration command for `/dev`. Maintains the `/dev` namespace.
|
||||
> Administer `/dev`.
|
||||
> Maintains the `/dev` namespace.
|
||||
> More information: <https://www.unix.com/man-page/sunos/1m/devfsadm>.
|
||||
|
||||
- Scan for new disks:
|
||||
|
||||
`devfsadm -c disk`
|
||||
|
||||
- Cleanup any dangling /dev links and scan for new device:
|
||||
- Cleanup any dangling `/dev` links and scan for new device:
|
||||
|
||||
`devfsadm -C -v`
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
- Access specific fields such as process name, process ID, and parent process ID:
|
||||
|
||||
`wmic process get {{name,processid,parentprocessid}}`
|
||||
`wmic process get {{name,process_id,parent_process_id}}`
|
||||
|
||||
- Display information about a specific process:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user