Skip to content

Commit

Permalink
Update pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jiripospisil committed Feb 5, 2024
1 parent c65a133 commit 794d6c5
Show file tree
Hide file tree
Showing 584 changed files with 1,417 additions and 1,048 deletions.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const std = @import("std");
const Allocator = std.mem.Allocator;

const VERSION = "0.0.15";
const VERSION = "0.0.16";

fn embedData(b: *std.Build, exe: *std.Build.Step.Compile) !void {
var options = b.addOptions();
Expand Down
8 changes: 4 additions & 4 deletions pages/android/bugreportz.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

`bugreportz -p`

- Display version:

`bugreportz -v`

- Display help:

`bugreportz -h`

- Display version:

`bugreportz -v`
2 changes: 1 addition & 1 deletion pages/android/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
> Get information about the Android OS.
> More information: <https://adbinstaller.com/commands/adb-shell-settings-5b670d5ee7958178a2955536>.
- Display a list of settings in the `global` namespace:
- List the settings in the `global` namespace:

`settings list {{global}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/2to3.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

`2to3 --write {{path/to/file.py}} --nofix={{has_key}} --nofix={{isinstance}}`

- Display a list of all available language features that can be converted from Python 2 to Python 3:
- List all available language features that can be converted from Python 2 to Python 3:

`2to3 --list-fixes`

Expand Down
8 changes: 4 additions & 4 deletions pages/common/act.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
> Execute GitHub Actions locally using Docker.
> More information: <https://github.com/nektos/act>.
- [l]ist the available actions:
- [l]ist the available jobs:

`act -l`

Expand All @@ -15,9 +15,9 @@

`act {{event_type}}`

- Run a specific [a]ction:
- Run a specific [j]ob:

`act -a {{action_id}}`
`act -j {{job_id}}`

- Do [n]ot actually run the actions (i.e. a dry run):

Expand All @@ -27,6 +27,6 @@

`act -v`

- Run a specific [W]orkflow:
- Run a specific [W]orkflow with the push event:

`act push -W {{path/to/workflow}}`
2 changes: 1 addition & 1 deletion pages/common/acyclic.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@

`acyclic -v -n {{path/to/input.gv}}`

- Display help for `acyclic`:
- Display help:

`acyclic -?`
2 changes: 1 addition & 1 deletion pages/common/adb.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@

`adb push {{path/to/local_file_or_directory}} {{path/to/device_destination_directory}}`

- Get a list of connected devices:
- List all connected devices:

`adb devices`
2 changes: 1 addition & 1 deletion pages/common/adguardhome.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

`AdGuardHome`

- Run AdGuard Home with a specific config:
- Specify a configuration file:

`AdGuardHome --config {{path/to/AdGuardHome.yaml}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/amass.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

`amass {{subcommand}}`

- Show general help:
- Display help:

`amass -help`

Expand Down
8 changes: 4 additions & 4 deletions pages/common/asciinema.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

- Make a new recording and save it to a local file:

`asciinema rec {{path/to/file}}.cast`
`asciinema rec {{path/to/file.cast}}`

- Replay a terminal recording from a local file:

`asciinema play {{path/to/file}}.cast`
`asciinema play {{path/to/file.cast}}`

- Replay a terminal recording hosted on asciinema.org:

Expand All @@ -29,8 +29,8 @@

- Print the full output of a locally saved recording:

`asciinema cat {{path/to/file}}.cast`
`asciinema cat {{path/to/file.cast}}`

- Upload a locally saved terminal session to asciinema.org:

`asciinema upload {{path/to/file}}.cast`
`asciinema upload {{path/to/file.cast}}`
4 changes: 2 additions & 2 deletions pages/common/assimp.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@

`assimp info {{path/to/file}}`

- List all supported subcommands ("verbs"):
- Display help:

`assimp help`

- Get help on a specific subcommand (e.g. the parameters specific to it):
- Display help for a specific subcommand:

`assimp {{subcommand}} --help`
2 changes: 1 addition & 1 deletion pages/common/aws-backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

`aws backup delete-backup-plan --backup-plan-id {{id}}`

- Return a list of all active backup plans for the current account:
- List all active backup plans for the current account:

`aws backup list-backup-plans`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/aws-cloud9.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
> Manage Cloud9 - a collection of tools to code, build, run, test, debug, and release software in the cloud.
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloud9/index.html>.
- Get a list of Cloud9 development environment identifiers:
- List all Cloud9 development environment identifiers:

`aws cloud9 list-environments`

Expand Down
8 changes: 4 additions & 4 deletions pages/common/aws-codecommit.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
> A managed source control service that hosts private Git repositories.
> More information: <https://docs.aws.amazon.com/cli/latest/reference/codecommit/>.
- Display help for a specific command:

`aws codecommit {{command}} help`

- Display help:

`aws codecommit help`

- Display help for a specific command:

`aws codecommit {{command}} help`
8 changes: 4 additions & 4 deletions pages/common/aws-iam.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
> CLI for AWS IAM.
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/index.html>.
- Show `aws iam` help page (including all available iam commands):

`aws iam help`

- List users:

`aws iam list-users`
Expand Down Expand Up @@ -34,3 +30,7 @@
- List access keys for a specific user:

`aws iam list-access-keys --user-name {{user_name}}`

- Display help:

`aws iam help`
4 changes: 2 additions & 2 deletions pages/common/aws-lambda.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
- Run a function:

`aws lambda invoke --function-name {{name}} {{path/to/response}}.json`
`aws lambda invoke --function-name {{name}} {{path/to/response.json}}`

- Run a function with an input payload in JSON format:

`aws lambda invoke --function-name {{name}} --payload {{json}} {{path/to/response}}.json`
`aws lambda invoke --function-name {{name}} --payload {{json}} {{path/to/response.json}}`

- List functions:

Expand Down
2 changes: 1 addition & 1 deletion pages/common/aws-rds.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
> Create and manage relational databases.
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/index.html>.
- Display help for specific RDS subcommand:
- Display help for a specific RDS subcommand:

`aws rds {{subcommand}} help`

Expand Down
4 changes: 2 additions & 2 deletions pages/common/aws-s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@

- Sync files and directories from local to bucket:

`aws s3 sync {{path/to/files}} s3://{{bucket_name}}`
`aws s3 sync {{path/to/file1 path/to/file2 ...}} s3://{{bucket_name}}`

- Sync files and directories from bucket to local:

`aws s3 sync s3://{{bucket_name}} {{path/to/target}}`

- Sync files and directories with exclusions:

`aws s3 sync {{path/to/files}} s3://{{bucket_name}} --exclude {{path/to/file}} --exclude {{path/to/directory}}/*`
`aws s3 sync {{path/to/file1 path/to/file2 ...}} s3://{{bucket_name}} --exclude {{path/to/file}} --exclude {{path/to/directory}}/*`

- Remove file from bucket:

Expand Down
8 changes: 4 additions & 4 deletions pages/common/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@

`aws configure sso`

- See help text for the AWS command:

`aws {{command}} help`

- Get the caller identity (used to troubleshoot permissions):

`aws sts get-caller-identity`
Expand All @@ -35,3 +31,7 @@
- Generate a JSON CLI Skeleton (useful for infrastructure as code):

`aws dynamodb update-table --generate-cli-skeleton`

- Display help for a specific command:

`aws {{command}} help`
2 changes: 1 addition & 1 deletion pages/common/az-account.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
> Part of `azure-cli` (also known as `az`).
> More information: <https://learn.microsoft.com/cli/azure/account>.
- Print a list of subscriptions for the logged in account:
- List all subscriptions for the logged in account:

`az account list`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/az-pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@

`az pipelines update --org {{organization_url}} --project {{project_name}} --name {{pipeline_name}} --new-name {{pipeline_new_name}} --new-folder-path {{user1/production_pipelines}}`

- Get a list of agents in a pool:
- List all agents in a pool:

`az pipelines agent list --org {{organization_url}} --pool-id {{agent_pool}}`
6 changes: 3 additions & 3 deletions pages/common/babel.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@

- Ignore specified comma-separated files in a directory:

`babel {{path/to/input_directory}} --ignore {{ignored_files}}`
`babel {{path/to/input_directory}} --ignore {{ignored_file1,ignored_file2,...}}`

- Transpile and output as minified JavaScript:

`babel {{path/to/input_file}} --minified`

- Choose a set of presets for output formatting:

`babel {{path/to/input_file}} --presets {{presets}}`
`babel {{path/to/input_file}} --presets {{preset1,preset2,...}}`

- Output all available options:
- Display help:

`babel --help`
8 changes: 4 additions & 4 deletions pages/common/bat.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
> A `cat` clone with syntax highlighting and Git integration.
> More information: <https://github.com/sharkdp/bat>.
- Print the contents of a file to `stdout`:
- Print the contents of one or more files to `stdout`:

`bat {{path/to/file}}`
`bat {{path/to/file1 path/to/file2 ...}}`

- Concatenate several files into the target file:

`bat {{file1}} {{file2}} > {{target_file}}`
`bat {{path/to/file1 path/to/file2 ...}} > {{path/to/target_file}}`

- Append several files into the target file:

`bat {{file1}} {{file2}} >> {{target_file}}`
`bat {{path/to/file1 path/to/file2 ...}} >> {{path/to/target_file}}`

- Number all output lines:

Expand Down
4 changes: 2 additions & 2 deletions pages/common/bcomps.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

- Write each block and block-cutvertex tree to multiple numbered filenames based on `output.gv`:

`bcomps -x -o {{path/to/output.gv}} {{path/to/input1.gv}} {{path/to/input2.gv ...}}`
`bcomps -x -o {{path/to/output.gv}} {{path/to/input1.gv path/to/input2.gv ...}}`

- Display help for `bcomps`:
- Display help:

`bcomps -?`
2 changes: 1 addition & 1 deletion pages/common/behat.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@

`behat --out {{path/to/file}}`

- Display a list of definitions in your test suites:
- List the definitions in your test suites:

`behat --definitions`
14 changes: 7 additions & 7 deletions pages/common/bgpgrep.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
# bgpgrep

> Filter and print BGP data within MRT dumps.
> Can read files compressed with gzip, bzip2 and xz.
> Can read files compressed with `gzip`, `bzip2` and `xz`.
> More information: <https://codeberg.org/1414codeforge/ubgpsuite>.
- Output all routes:
- List all routes:

`bgpgrep {{master6.mrt}}`

- Output all routes received from a specific peer, determined by the peer's AS number:
- List routes received from a specific peer, determined by the peer's AS number:

`bgpgrep {{master4.mrt}} -peer {{64498}}`

- Output all routes received from a specific peer, determined by the peer's IP address:
- List routes received from a specific peer, determined by the peer's IP address:

`bgpgrep {{master4.mrt.bz2}} -peer {{2001:db8:dead:cafe:acd::19e}}`

- Output all routes which have certain ASNs in their AS path:
- List routes which have certain ASNs in their AS path:

`bgpgrep {{master6.mrt.bz2}} -aspath '{{64498 64510}}'`

- Output all routes that lead to a specific address:
- List routes that lead to a specific address:

`bgpgrep {{master6.mrt.bz2}} -supernet '{{2001:db8:dead:cafe:aef::5}}'`

- Output all routes that have communities from a specific AS:
- List routes that have communities from a specific AS:

`bgpgrep {{master4.mrt}} -communities \( '{{64497}}:*' \)`
4 changes: 2 additions & 2 deletions pages/common/black.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

`black -c "{{code}}"`

- Output whether a file or a directory would have changes made to them if they were to be formatted:
- Show whether a file or a directory would have changes made to them if they were to be formatted:

`black --check {{path/to/file_or_directory}}`

- Output changes that would be made to a file or a directory without performing them (dry-run):
- Show changes that would be made to a file or a directory without performing them (dry-run):

`black --diff {{path/to/file_or_directory}}`

Expand Down
Loading

0 comments on commit 794d6c5

Please sign in to comment.