mirror of https://github.com/CrimsonTome/tldr.git
*: convert en-GB to en-US (#8155)
parent
a5933966dd
commit
34fde6d16f
|
@ -3,7 +3,7 @@
|
|||
> A simple, modern and intuitive unit testing framework for PHP.
|
||||
> More information: <http://atoum.org>.
|
||||
|
||||
- Initialise a configuration file:
|
||||
- Initialize a configuration file:
|
||||
|
||||
`atoum --init`
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
> A PHP framework for Behaviour-Driven Development.
|
||||
> More information: <https://behat.org>.
|
||||
|
||||
- Initialise a new Behat project:
|
||||
- Initialize a new Behat project:
|
||||
|
||||
`behat --init`
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
> A command-line profiling tool for PHP.
|
||||
> More information: <https://blackfire.io>.
|
||||
|
||||
- Initialise and configure the Blackfire client:
|
||||
- Initialize and configure the Blackfire client:
|
||||
|
||||
`blackfire config`
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
> Creates local or remote backups that are mountable as filesystems.
|
||||
> More information: <https://borgbackup.readthedocs.io/en/stable/usage/general.html>.
|
||||
|
||||
- Initialise a (local) repository:
|
||||
- Initialize a (local) repository:
|
||||
|
||||
`borg init {{path/to/repo_directory}}`
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# colordiff
|
||||
|
||||
> A tool to colorize diff output.
|
||||
> The Perl script colordiff is a wrapper for `diff` and produces the same output but with pretty syntax highlighting. Colour schemes can be customized.
|
||||
> The Perl script colordiff is a wrapper for `diff` and produces the same output but with pretty syntax highlighting. Color schemes can be customized.
|
||||
> More information: <https://github.com/kimmel/colordiff>.
|
||||
|
||||
- Compare files:
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# composer-require-checker
|
||||
|
||||
> A CLI tool to analyse Composer dependencies for soft dependencies.
|
||||
> A CLI tool to analyze Composer dependencies for soft dependencies.
|
||||
> More information: <https://github.com/maglnet/ComposerRequireChecker>.
|
||||
|
||||
- Analyse a Composer JSON file:
|
||||
- Analyze a Composer JSON file:
|
||||
|
||||
`composer-require-checker check {{path/to/composer.json}}`
|
||||
|
||||
- Analyse a Composer JSON file with a specific configuration:
|
||||
- Analyze a Composer JSON file with a specific configuration:
|
||||
|
||||
`composer-require-checker check --config-file {{path/to/config.json}} {{path/to/composer.json}}`
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# dfc
|
||||
|
||||
> Gives an overview of the filesystem disk space usage with colours and graphs.
|
||||
> Gives an overview of the filesystem disk space usage with colors and graphs.
|
||||
> More information: <https://projects.gw-computing.net/projects/dfc/wiki>.
|
||||
|
||||
- Display filesystems and their disk usage in human-readable form with colours and graphs:
|
||||
- Display filesystems and their disk usage in human-readable form with colors and graphs:
|
||||
|
||||
`dfc`
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
|||
|
||||
`dfc -a`
|
||||
|
||||
- Display filesystems without colour:
|
||||
- Display filesystems without color:
|
||||
|
||||
`dfc -c never`
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# dig
|
||||
|
||||
> DNS Lookup utility.
|
||||
> DNS lookup utility.
|
||||
> More information: <https://manned.org/dig>.
|
||||
|
||||
- Lookup the IP(s) associated with a hostname (A records):
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
> A PHP-based task manager for Laravel remote servers.
|
||||
> More information: <https://laravel.com/docs/envoy>.
|
||||
|
||||
- Initialise a configuration file:
|
||||
- Initialize a configuration file:
|
||||
|
||||
`envoy init {{host_name}}`
|
||||
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
# flex
|
||||
|
||||
> Lexical analyser generator. Based on `lex`.
|
||||
> Given the specification for a lexical analyser, generates C code implementing it.
|
||||
> Lexical analyzer generator. Based on `lex`.
|
||||
> Given the specification for a lexical analyzer, generates C code implementing it.
|
||||
> More information: <https://manned.org/flex>.
|
||||
|
||||
- Generate an analyser from a flex file:
|
||||
- Generate an analyzer from a flex file:
|
||||
|
||||
`flex {{analyser.l}}`
|
||||
`flex {{analyzer.l}}`
|
||||
|
||||
- Specify the output file:
|
||||
|
||||
`flex --outfile {{analyser.c}} {{analyser.l}}`
|
||||
`flex --outfile {{analyzer.c}} {{analyzer.l}}`
|
||||
|
||||
- Compile a C file generated by flex:
|
||||
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
|
||||
`fls -r -m {{C:}} {{/dev/loop1p1}}`
|
||||
|
||||
- Analyse a single partition, providing the sector offset at which the filesystem starts in the image:
|
||||
- Analyze a single partition, providing the sector offset at which the filesystem starts in the image:
|
||||
|
||||
`fls -r -m {{C:}} -o {{sector}} {{path/to/image_file}}`
|
||||
|
||||
- Analyse a single partition, providing the timezone of the original system:
|
||||
- Analyze a single partition, providing the timezone of the original system:
|
||||
|
||||
`fls -r -m {{C:}} -z {{timezone}} {{/dev/loop1p1}}`
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
|
||||
`gdalbuildvrt -separate {{path/to/rgb.vrt}} {{path/to/red.tif}} {{path/to/green.tif}} {{path/to/blue.tif}}`
|
||||
|
||||
- Make a virtual mosaic with blue background colour (RGB: 0 0 255):
|
||||
- Make a virtual mosaic with blue background color (RGB: 0 0 255):
|
||||
|
||||
`gdalbuildvrt -hidenodata -vrtnodata "{{0 0 255}}" {{path/to/output.vrt}} {{path/to/input_directory/*.tif}}`
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# git check-ignore
|
||||
|
||||
> Analyse and debug Git ignore / exclude (".gitignore") files.
|
||||
> Analyze and debug Git ignore / exclude (".gitignore") files.
|
||||
> More information: <https://git-scm.com/docs/git-check-ignore>.
|
||||
|
||||
- Check whether a file or directory is ignored:
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
> Work with large files in Git repositories.
|
||||
> More information: <https://git-lfs.github.com>.
|
||||
|
||||
- Initialise Git LFS:
|
||||
- Initialize Git LFS:
|
||||
|
||||
`git lfs install`
|
||||
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# github-label-sync
|
||||
|
||||
> A command-line interface for synchronising GitHub labels.
|
||||
> A command-line interface for synchronizing GitHub labels.
|
||||
> More information: <https://github.com/Financial-Times/github-label-sync>.
|
||||
|
||||
- Synchronise labels using a local `labels.json` file:
|
||||
- Synchronize labels using a local `labels.json` file:
|
||||
|
||||
`github-label-sync --access-token {{token}} {{repository_name}}`
|
||||
|
||||
- Synchronise labels using a specific labels JSON file:
|
||||
- Synchronize labels using a specific labels JSON file:
|
||||
|
||||
`github-label-sync --access-token {{token}} --labels {{url|path/to/json_file}} {{repository_name}}`
|
||||
|
||||
- Perform a dry run instead of actually synchronising labels:
|
||||
- Perform a dry run instead of actually synchronizing labels:
|
||||
|
||||
`github-label-sync --access-token {{token}} --dry-run {{repository_name}}`
|
||||
|
||||
|
@ -19,6 +19,6 @@
|
|||
|
||||
`github-label-sync --access-token {{token}} --allow-added-labels {{repository_name}}`
|
||||
|
||||
- Synchronise using the `GITHUB_ACCESS_TOKEN` environment variable:
|
||||
- Synchronize using the `GITHUB_ACCESS_TOKEN` environment variable:
|
||||
|
||||
`github-label-sync {{repository_name}}`
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
> Standard Unix Password Manager for Teams. Written in Go.
|
||||
> More information: <https://www.gopass.pw>.
|
||||
|
||||
- Initialise the configuration settings:
|
||||
- Initialize the configuration settings:
|
||||
|
||||
`gopass init`
|
||||
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
> Create a new repository in the specified directory.
|
||||
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#init>.
|
||||
|
||||
- Initialise a new repository in the current directory:
|
||||
- Initialize a new repository in the current directory:
|
||||
|
||||
`hg init`
|
||||
|
||||
- Initialise a new repository in the specified directory:
|
||||
- Initialize a new repository in the specified directory:
|
||||
|
||||
`hg init {{path/to/directory}}`
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
> A mutation testing framework for PHP.
|
||||
> More information: <https://infection.github.io>.
|
||||
|
||||
- Analyse code using the configuration file (or create one if it does not exist):
|
||||
- Analyze code using the configuration file (or create one if it does not exist):
|
||||
|
||||
`infection`
|
||||
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
> A Laravel-based static site builder for PHP.
|
||||
> More information: <https://jigsaw.tighten.co>.
|
||||
|
||||
- Initialise a project:
|
||||
- Initialize a project:
|
||||
|
||||
`jigsaw init`
|
||||
|
||||
- Initialise a project using a starter template:
|
||||
- Initialize a project using a starter template:
|
||||
|
||||
`jigsaw init {{template_name}}`
|
||||
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
# lex
|
||||
|
||||
> Lexical analyser generator.
|
||||
> Given the specification for a lexical analyser, generates C code implementing it.
|
||||
> Lexical analyzer generator.
|
||||
> Given the specification for a lexical analyzer, generates C code implementing it.
|
||||
> More information: <https://manned.org/lex.1>.
|
||||
|
||||
- Generate an analyser from a Lex file:
|
||||
- Generate an analyzer from a Lex file:
|
||||
|
||||
`lex {{analyser.l}}`
|
||||
`lex {{analyzer.l}}`
|
||||
|
||||
- Specify the output file:
|
||||
|
||||
`lex {{analyser.l}} --outfile {{analyser.c}}`
|
||||
`lex {{analyzer.l}} --outfile {{analyzer.c}}`
|
||||
|
||||
- Compile a C file generated by Lex:
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
`nokogiri {{url|path/to/file}} --type {{xml|html}}`
|
||||
|
||||
- Load a specific initialisation file before parsing:
|
||||
- Load a specific initialization file before parsing:
|
||||
|
||||
`nokogiri {{url|path/to/file}} -C {{path/to/config_file}}`
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# opt
|
||||
|
||||
> A tool that takes LLVM source files and runs specified optimizations and/or analyses on them.
|
||||
> A tool that takes LLVM source files and runs specified optimizations and/or analysis on them.
|
||||
> More information: <https://llvm.org/docs/CommandGuide/opt.html>.
|
||||
|
||||
- Run an optimization or analysis on a bitcode file:
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
> A PHP testing framework with a focus on simplicity.
|
||||
> More information: <https://pestphp.com>.
|
||||
|
||||
- Initialise a standard Pest configuration in the current directory:
|
||||
- Initialize a standard Pest configuration in the current directory:
|
||||
|
||||
`pest --init`
|
||||
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
|
||||
`phan --init --init-level {{level}}`
|
||||
|
||||
- Analyse the current directory:
|
||||
- Analyze the current directory:
|
||||
|
||||
`phan`
|
||||
|
||||
- Analyse one or more directories:
|
||||
- Analyze one or more directories:
|
||||
|
||||
`phan --directory {{path/to/directory}} --directory {{path/to/another_directory}}`
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
`phing`
|
||||
|
||||
- Initialise a new build file:
|
||||
- Initialize a new build file:
|
||||
|
||||
`phing -i {{path/to/build.xml}}`
|
||||
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
> A copy and paste detector for PHP code.
|
||||
> More information: <https://github.com/sebastianbergmann/phpcpd>.
|
||||
|
||||
- Analyse duplicated code for a specific file or directory:
|
||||
- Analyze duplicated code for a specific file or directory:
|
||||
|
||||
`phpcpd {{path/to/file_or_directory}}`
|
||||
|
||||
- Analyse using fuzzy matching for variable names:
|
||||
- Analyze using fuzzy matching for variable names:
|
||||
|
||||
`phpcpd --fuzzy {{path/to/file_or_directory}}`
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
> A tool for quickly measuring the size and analyzing the structure of a PHP project.
|
||||
> More information: <https://github.com/sebastianbergmann/phploc>.
|
||||
|
||||
- Analyse a directory and print the result:
|
||||
- Analyze a directory and print the result:
|
||||
|
||||
`phploc {{path/to/directory}}`
|
||||
|
||||
|
|
|
@ -7,19 +7,19 @@
|
|||
|
||||
`phpstan analyse --help`
|
||||
|
||||
- Analyse the specified space-separated directories:
|
||||
- Analyze the specified space-separated directories:
|
||||
|
||||
`phpstan analyse {{path/to/directory}}`
|
||||
|
||||
- Analyse a directory using a configuration file:
|
||||
- Analyze a directory using a configuration file:
|
||||
|
||||
`phpstan analyse {{path/to/directory}} --configuration {{path/to/config}}`
|
||||
|
||||
- Analyse using a specific rule level (0-7, higher is stricter):
|
||||
- Analyze using a specific rule level (0-7, higher is stricter):
|
||||
|
||||
`phpstan analyse {{path/to/directory}} --level {{level}}`
|
||||
|
||||
- Specify an autoload file to load before analysing:
|
||||
- Specify an autoload file to load before analyzing:
|
||||
|
||||
`phpstan analyse {{path/to/directory}} --autoload-file {{path/to/autoload_file}}`
|
||||
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
> A PHP static analysis tool for detecting security vulnerabilities.
|
||||
> More information: <https://github.com/designsecurity/progpilot>.
|
||||
|
||||
- Analyse the current directory:
|
||||
- Analyze the current directory:
|
||||
|
||||
`progpilot`
|
||||
|
||||
- Analyse a specific file or directory:
|
||||
- Analyze a specific file or directory:
|
||||
|
||||
`progpilot {{path/to/file_or_directory}}`
|
||||
|
||||
|
|
|
@ -7,15 +7,15 @@
|
|||
|
||||
`psalm --init`
|
||||
|
||||
- Analyse the current working directory:
|
||||
- Analyze the current working directory:
|
||||
|
||||
`psalm`
|
||||
|
||||
- Analyse a specific directory or file:
|
||||
- Analyze a specific directory or file:
|
||||
|
||||
`psalm {{path/to/file_or_directory}}`
|
||||
|
||||
- Analyse a project with a specific configuration file:
|
||||
- Analyze a project with a specific configuration file:
|
||||
|
||||
`psalm --config {{path/to/psalm.xml}}`
|
||||
|
||||
|
@ -23,10 +23,10 @@
|
|||
|
||||
`psalm --show-info`
|
||||
|
||||
- Analyse a project and display statistics:
|
||||
- Analyze a project and display statistics:
|
||||
|
||||
`psalm --stats`
|
||||
|
||||
- Analyse a project in parallel with 4 threads:
|
||||
- Analyze a project in parallel with 4 threads:
|
||||
|
||||
`psalm --threads {{4}}`
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
> Behavior-driven development testing framework written in Ruby to test Ruby code.
|
||||
> More information: <https://rspec.info>.
|
||||
|
||||
- Initialise an .rspec config and a spec helper file:
|
||||
- Initialize an .rspec config and a spec helper file:
|
||||
|
||||
`rspec --init`
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
> The command-line utility for the Satis static Composer repository.
|
||||
> More information: <https://github.com/composer/satis>.
|
||||
|
||||
- Initialise a Satis configuration:
|
||||
- Initialize a Satis configuration:
|
||||
|
||||
`satis init {{satis.json}}`
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# sshfs
|
||||
|
||||
> Filesystem client based on ssh.
|
||||
> Filesystem client based on SSH.
|
||||
> More information: <https://github.com/libfuse/sshfs>.
|
||||
|
||||
- Mount remote directory:
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
> Transcode video and audio codecs, and convert between media formats.
|
||||
> More information: <https://manned.org/transcode>.
|
||||
|
||||
- Create stabilisation file to be able to remove camera shakes:
|
||||
- Create stabilization file to be able to remove camera shakes:
|
||||
|
||||
`transcode -J stabilize -i {{input_file}}`
|
||||
|
||||
- Remove camera shakes after creating stabilisation file, transform video using XviD:
|
||||
- Remove camera shakes after creating stabilization file, transform video using XviD:
|
||||
|
||||
`transcode -J transform -i {{input_file}} -y xvid -o {{output_file}}`
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
> Bidirectional file synchronisation tool.
|
||||
> More information: <https://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html>.
|
||||
|
||||
- Sync two directories (creates log first time these two directories are synchronised):
|
||||
- Sync two directories (creates log first time these two directories are synchronized):
|
||||
|
||||
`unison {{path/to/directory_1}} {{path/to/directory_2}}`
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# zeek
|
||||
|
||||
> Passive network traffic analyser.
|
||||
> Passive network traffic analyzer.
|
||||
> Any output and log files will be saved to the current working directory.
|
||||
> More information: <https://docs.zeek.org/en/lts/quickstart.html#zeek-as-a-command-line-utility>.
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
`dumpe2fs -b {{/dev/sdXN}}`
|
||||
|
||||
- Force display filesystem information even with non-recognisable feature flags:
|
||||
- Force display filesystem information even with unrecognizable feature flags:
|
||||
|
||||
`dumpe2fs -f {{/dev/sdXN}}`
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
`goaccess {{path/to/logfile}} --log-format={{format}}`
|
||||
|
||||
- Analyse a log from stdin:
|
||||
- Analyze a log from stdin:
|
||||
|
||||
`tail -f {{path/to/logfile}} | goaccess -`
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# radeontop
|
||||
|
||||
> Show utilisation of AMD GPUs.
|
||||
> Show utilization of AMD GPUs.
|
||||
> May require root privileges depending on your system.
|
||||
> More information: <https://github.com/clbr/radeontop>.
|
||||
|
||||
- Show the utilisation of the default AMD GPU:
|
||||
- Show the utilization of the default AMD GPU:
|
||||
|
||||
`radeontop`
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# reset
|
||||
|
||||
> Reinitialises the current terminal. Clears the entire terminal screen.
|
||||
> Reinitializes the current terminal. Clears the entire terminal screen.
|
||||
> More information: <https://manned.org/reset>.
|
||||
|
||||
- Reinitialise the current terminal:
|
||||
- Reinitialize the current terminal:
|
||||
|
||||
`reset`
|
||||
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
|
||||
`sudo modprobe zram num_devices={{2}}`
|
||||
|
||||
- Find and initialise the next free zram device to a 2 GB virtual drive using LZ4 compression:
|
||||
- Find and initialize the next free zram device to a 2 GB virtual drive using LZ4 compression:
|
||||
|
||||
`sudo zramctl --find --size {{2GB}} --algorithm {{lz4}}`
|
||||
|
||||
- List currently initialised devices:
|
||||
- List currently initialized devices:
|
||||
|
||||
`zramctl`
|
||||
|
|
Loading…
Reference in New Issue