*: fix errors reported by languagetool (#6069)

beep
Seth Falco 2021-08-15 19:59:09 +02:00 committed by GitHub
parent 3fbefc8b77
commit 3e4c519004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
281 changed files with 433 additions and 429 deletions

View File

@ -15,6 +15,6 @@
`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}`
- Convert an intent to an URI:
- Convert an intent to a URI:
`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}`

View File

@ -27,6 +27,6 @@
`getprop {{ro.oem_unlock_supported}}`
- Display the MAC address of the Android's WiFi card:
- Display the MAC address of the Android's Wi-Fi card:
`getprop {{ro.boot.wifimacaddr}}`

View File

@ -9,7 +9,7 @@
- Issue a wildcard certificate (denoted by an asterisk) using an automatic DNS API mode:
`acme.sh --issue --dns {{dns_namesilo}} --domain {{example.com}} --domain {{*.example.com}}`
`acme.sh --issue --dns {{dns_namesilo}} --domain {{example.com}} --domain {{*.example.com}}`
- Issue a certificate using a DNS alias mode:

View File

@ -15,7 +15,7 @@
`ansible-playbook {{playbook}} -e "{{variable1}}={{value1}} {{variable2}}={{value2}}"`
- Run tasks in playbook with extra variables defined in a json file:
- Run tasks in playbook with extra variables defined in a JSON file:
`ansible-playbook {{playbook}} -e "@{{variables.json}}"`

View File

@ -11,6 +11,6 @@
`apropos -l {{regular_expression}}`
- Search for pages that contain all of the expressions given:
- Search for pages that contain all the expressions given:
`apropos {{regular_expression_1}} -a {{regular_expression_2}} -a {{regular_expression_3}}`

View File

@ -16,7 +16,7 @@
`aria2c --force-sequential {{url_1}} {{url_2}}`
- Download from multiple sources each URI pointing to the same file:
- Download from multiple sources with each URI pointing to the same file:
`aria2c {{url_1}} {{url_2}}`

View File

@ -24,6 +24,6 @@
`arping -U {{ip_to_broadcast}}`
- Detect duplicated IP addresses in the network by sending ARP requests with a 3 seconds timeout:
- Detect duplicated IP addresses in the network by sending ARP requests with a 3 second timeout:
`arping -D -w {{3}} {{ip_to_check}}`

View File

@ -11,6 +11,6 @@
`atq -q {{a}}`
- Show jobs of all users (run as super user):
- Show jobs of all users (run as superuser):
`sudo atq`

View File

@ -20,7 +20,7 @@
`aws sts get-caller-identity`
- List AWS resources in a region and output in yaml:
- List AWS resources in a region and output in YAML:
`aws dynamodb list-tables --region {{us-east-1}} --output yaml`

View File

@ -3,7 +3,7 @@
> Clone of the game Tetris in the terminal.
> More information: <https://fph.altervista.org/prog/bastet.html>.
- Start a tetris game:
- Start a Tetris game:
`bastet`

View File

@ -20,7 +20,7 @@
`bat -n {{file}}`
- Syntax highlight a json file:
- Syntax highlight a JSON file:
`bat --language json {{file.json}}`

View File

@ -4,7 +4,7 @@
> Used to intersect, group, convert and count data in BAM, BED, GFF/GTF, VCF format.
> More information: <https://bedtools.readthedocs.io/en/latest/>.
- Intersect two files with respect to the sequences' strand and save the result to {{`path/to/output_file`}}:
- Intersect two files regarding the sequences' strand and save the result to the specified file:
`bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -s > {{path/to/output_file}}`

View File

@ -1,6 +1,6 @@
# Brotli
# brotli
> Compress/uncompress files with brotli compression.
> Compress/uncompress files with Brotli compression.
> More information: <https://github.com/google/brotli>.
- Compress a file, creating a compressed version next to the file:
@ -15,7 +15,7 @@
`brotli {{file.ext}} -o {{compressed_file.ext.br}}`
- Decompress a brotli file specifying the output filename:
- Decompress a Brotli file specifying the output filename:
`brotli -d {{compressed_file.ext.br}} -o {{file.ext}}`

View File

@ -7,7 +7,7 @@
`browser-sync start --server {{path/to/directory}} --files {{path/to/directory}}`
- Start a server from local directory, watching all css files in some directory:
- Start a server from local directory, watching all CSS files in a directory:
`browser-sync start --server --files '{{path/to/directory/*.css}}'`

View File

@ -4,7 +4,7 @@
> Aims to be lightweight, cross-platform and more graphical than `top`.
> More information: <https://github.com/ClementTsang/bottom>.
- Show the default layout (cpu, memory, temperatures, disk, network, and processes):
- Show the default layout (CPU, memory, temperatures, disk, network, and processes):
`btm`

View File

@ -7,7 +7,7 @@
`cd {{path/to/directory}}`
- Go to home directory of current user:
- Go to the home directory of the current user:
`cd`

View File

@ -7,10 +7,10 @@
`chroma --lexer="{{python}}" {{source_file}}`
- Highlight a source file with Go lexer and output to a HTML file:
- Highlight a source file with the Go lexer and output to an HTML file:
`chroma --lexer="{{go}}" --formatter="{{html}}" {{source_file}} > {{html_file}}`
- Highlight a source file with C++ lexer and output to an SVG image, using the Monokai style:
- Highlight a source file with the C++ lexer and output to an SVG, using the Monokai style:
`chroma --lexer="{{c++}}" --formatter="{{svg}}" --syle="{{monokai}}" {{source_file}} > {{svg_file}}`

View File

@ -7,7 +7,7 @@
`chromium {{path/to/file.html}}`
- Open an URL:
- Open a URL:
`chromium {{example.com}}`

View File

@ -4,6 +4,6 @@
> Note, on old UNIX systems the CRC implementation may differ.
> More information: <https://www.gnu.org/software/coreutils/cksum>.
- Display a 32 bit checksum, size in bytes and filename:
- Display a 32-bit checksum, size in bytes and filename:
`cksum {{filename}}`

View File

@ -23,6 +23,6 @@
`code -d {{file1}} {{file2}}`
- Open VS Code with super user (sudo) permissions:
- Open VS Code with superuser (sudo) permissions:
`sudo code {{path/to/file_or_directory}} --user-data-dir`

View File

@ -12,7 +12,7 @@
`printf "header1 header2\nbar foo\n" | column --table`
- Specify the column delimiter character for the `--table` option (e.g. "," for csv) (defaults to whitespace):
- Specify the column delimiter character for the `--table` option (e.g. "," for CSV) (defaults to whitespace):
`printf "header1,header2\nbar,foo\n" | column --table --separator {{,}}`

View File

@ -3,7 +3,7 @@
> Create new conda environments.
> More information: <https://docs.conda.io/projects/conda/en/latest/commands/create.html>.
- Create a new environment named `py39`, and install Python 3.9 and numpy v1.11 or above in it:
- Create a new environment named `py39`, and install Python 3.9 and NumPy v1.11 or above in it:
`conda create --yes --name {{py39}} python={{3.9}} "{{numpy>=1.11}}"`

View File

@ -23,7 +23,7 @@
`convert {{image1.png}} {{image2.png}} {{image3.png}} -append {{image123.png}}`
- Create a gif from a series of images with 100ms delay between them:
- Create a GIF from a series of images with 100ms delay between them:
`convert {{image1.png}} {{image2.png}} {{image3.png}} -delay {{10}} {{animation.gif}}`

View File

@ -3,7 +3,7 @@
> Mobile apps with HTML, CSS & JS.
> More information: <https://cordova.apache.org/docs/en/latest/guide/cli/>.
- Create a cordova project:
- Create a Cordova project:
`cordova create {{path}} {{package_name}} {{project_name}}`
@ -11,18 +11,18 @@
`cordova info`
- Add a cordova platform:
- Add a Cordova platform:
`cordova platform add {{platform}}`
- Remove a cordova platform:
- Remove a Cordova platform:
`cordova platform remove {{platform}}`
- Add a cordova plugin:
- Add a Cordova plugin:
`cordova plugin add {{pluginid}}`
- Remove a cordova plugin:
- Remove a Cordova plugin:
`cordova plugin remove {{pluginid}}`

View File

@ -3,15 +3,15 @@
> Command-line interface for Apache CouchDB database server.
> More information: <https://couchdb.apache.org>.
- Start couchdb:
- Start CouchDB:
`couchdb`
- Start couchdb interactive shell:
- Start CouchDB interactive shell:
`couchdb -i`
- Start couchdb as a background process:
- Start CouchDB as a background process:
`couchdb -b`

View File

@ -1,28 +1,28 @@
# cradle elastic
> Manage the ElasticSearch instances for a Cradle instance.
> Manage the Elasticsearch instances for a Cradle instance.
> More information: <https://cradlephp.github.io/docs/3.B.-Reference-Command-Line-Tools.html#elastic>.
- Truncate the ElasticSearch index:
- Truncate the Elasticsearch index:
`cradle elastic flush`
- Truncate the ElasticSearch index for a specific package:
- Truncate the Elasticsearch index for a specific package:
`cradle elastic flush {{package_name}}`
- Submit the ElasticSearch schema:
- Submit the Elasticsearch schema:
`cradle elastic map`
- Submit the ElasticSearch schema for a specific package:
- Submit the Elasticsearch schema for a specific package:
`cradle elastic map {{package_name}}`
- Populate the ElasticSearch indices for all packages:
- Populate the Elasticsearch indices for all packages:
`cradle elastic populate`
- Populate the ElasticSearch indices for a specific package:
- Populate the Elasticsearch indices for a specific package:
`cradle elastic populate {{package_name}}`

View File

@ -23,6 +23,6 @@
`csslint --warnings={{box-sizing,selector-max,floats}} {{file.css}}`
- Specify certain rules to completely ignore:
- Specify certain rules to ignore:
`csslint --ignore={{ids,rules-count,shorthand}} {{file.css}}`

View File

@ -4,7 +4,7 @@
> Supports most protocols, including HTTP, FTP, and POP3.
> More information: <https://curl.se>.
- Download the contents of an URL to a file:
- Download the contents of a URL to a file:
`curl {{http://example.com}} --output {{filename}}`
@ -28,7 +28,7 @@
`curl --data {{'{"name":"bob"}'}} --header {{'Content-Type: application/json'}} {{http://example.com/users/1234}}`
- Pass a user name and password for server authentication:
- Pass a username and password for server authentication:
`curl --user myusername:mypassword {{http://example.com}}`

View File

@ -7,6 +7,6 @@
`dcfldd if=/dev/{{disk_device}} of={{file.img}} hash=sha256 hashlog={{file.hash}}`
- Copy a disk to a raw image file, hashing each 1GB chunk:
- Copy a disk to a raw image file, hashing each 1 GB chunk:
`dcfldd if=/dev/{{disk_device}} of={{file.img}} hash={{sha512|sha384|sha256|sha1|md5}} hashlog={{file.hash}} hashwindow={{1G}}`

View File

@ -3,11 +3,11 @@
> Convert and copy a file.
> More information: <https://www.gnu.org/software/coreutils/dd>.
- Make a bootable usb drive from an isohybrid file (such like `archlinux-xxx.iso`) and show the progress:
- Make a bootable USB drive from an isohybrid file (such like `archlinux-xxx.iso`) and show the progress:
`dd if={{file.iso}} of=/dev/{{usb_drive}} status=progress`
- Clone a drive to another drive with 4MB block, ignore error and show progress:
- Clone a drive to another drive with 4 MiB block, ignore error and show progress:
`dd if=/dev/{{source_drive}} of=/dev/{{dest_drive}} bs=4M conv=noerror status=progress`

View File

@ -8,7 +8,7 @@
`detox {{file}}`
- Show how detox would rename all of the files in a directory tree:
- Show how detox would rename all the files in a directory tree:
`detox --dry-run -r {{directory}}`

View File

@ -7,7 +7,7 @@
`df`
- Display all filesystems and their disk usage in human readable form:
- Display all filesystems and their disk usage in human-readable form:
`df -h`

View File

@ -3,7 +3,7 @@
> Gives an overview of the filesystem disk space usage with colours 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 colours and graphs:
`dfc`

View File

@ -11,7 +11,7 @@
`diffoscope --no-progress {{path/to/file1}} {{path/to/file2}}`
- Compare two files and write a HTML-report to a file (use `-` for stdout):
- Compare two files and write an HTML-report to a file (use `-` for stdout):
`diffoscope --html {{path/to/outfile|-}} {{path/to/file1}} {{path/to/file2}}`

View File

@ -3,7 +3,7 @@
> Djangos utility for administrative tasks.
> More information: <https://docs.djangoproject.com/en/3.0/ref/django-admin/>.
- Create a new django project:
- Create a new Django project:
`django-admin startproject {{project_name}}`

View File

@ -19,7 +19,7 @@
`docker exec --interactive --detach {{container_name}} {{command}}`
- Set an environment variable in a running bash session:
- Set an environment variable in a running Bash session:
`docker exec --interactive --tty --env {{variable_name}}={{value}} {{container_name}} {{/bin/bash}}`

View File

@ -7,7 +7,7 @@
`docker network ls`
- Create a user defined network:
- Create a user-defined network:
`docker network create --driver {{driver_name}} {{network_name}}`

View File

@ -11,7 +11,7 @@
`docker stats {{container_name}}`
- Change the columns format to display container's cpu usage percentage:
- Change the columns format to display container's CPU usage percentage:
`docker stats --format "{{.Name}}:\t{{.CPUPerc}}"`

View File

@ -23,7 +23,7 @@
`docker pull {{image}}`
- Open a shell inside of an already running container:
- Open a shell inside a running container:
`docker exec -it {{container_name}} {{sh}}`

View File

@ -11,11 +11,11 @@
`dolt config --get {{name}}`
- Modify the value of a local configuration variable, creating it if does not exist:
- Modify the value of a local configuration variable, creating it if it doesn't exist:
`dolt config --add {{name}} {{value}}`
- Modify the value of a global configuration variable, creating it if does not exist:
- Modify the value of a global configuration variable, creating it if it doesn't exist:
`dolt config --global --add {{name}} {{value}}`

View File

@ -1,6 +1,6 @@
# dolt
> Dolt is a SQL database that you can fork, clone, branch, merge, push and pull just like a Git repository.
> Dolt is an SQL database that you can fork, clone, branch, merge, push and pull just like a Git repository.
> More information: <https://github.com/dolthub/dolt>.
- Execute a dolt subcommand:

View File

@ -7,7 +7,7 @@
`dotnet new {{template_short_name}}`
- Restore nuget packages:
- Restore NuGet packages:
`dotnet restore`

View File

@ -11,7 +11,7 @@
`du -h {{path/to/directory}}`
- Show the size of a single directory, in human readable units:
- Show the size of a single directory, in human-readable units:
`du -sh {{path/to/directory}}`

View File

@ -7,7 +7,7 @@
`dvc checkout`
- Checkout to latest version of a specified target:
- Checkout the latest version of a specified target:
`dvc checkout {{target}}`

View File

@ -1,6 +1,6 @@
# ebook-convert
> Can be used to convert e-books between common formats, e.g., pdf, epub and mobi.
> Can be used to convert e-books between common formats, e.g. PDF, EPUB and MOBI.
> Part of the Calibre e-book library tool.
> More information: <https://manual.calibre-ebook.com/generated/en/ebook-convert.html>.

View File

@ -19,7 +19,7 @@
`envoy run --continue {{task_name}}`
- Dump a task as a bash script for inspection:
- Dump a task as a Bash script for inspection:
`envoy run --pretend {{task_name}}`

View File

@ -3,7 +3,7 @@
> A pluggable linting utility for JavaScript and JSX.
> More information: <https://eslint.org>.
- Create eslint config:
- Create ESLint config:
`eslint --init`

View File

@ -16,7 +16,7 @@
`exrex --max-number {{100}} '{{regular_expression}}'`
- Generate all possible strings that match a regular expression, joined together by a custom delimiter string:
- Generate all possible strings that match a regular expression, joined by a custom delimiter string:
`exrex --delimiter "{{, }}" '{{regular_expression}}'`

View File

@ -16,6 +16,10 @@
`figlet {{input_text}} -f {{font_filename}}`
- Pipe command output through figlet:
- Pipe command output through FIGlet:
`{{command}} | figlet`
- Show available FIGlet fonts:
`showfigfonts {{optional_string_to_display}}`

View File

@ -12,7 +12,7 @@
`fisher {{gist_url}}`
- Edit 'fishfile' by hand with your favorite editor and install multiple plugins:
- Edit 'fishfile' manually with your favorite editor and install multiple plugins:
`{{editor}} ~/.config/fish/fishfile; fisher`

View File

@ -7,6 +7,6 @@
`fkill`
- Kill the process by pid, name or port:
- Kill the process by PID, name or port:
`fkill {{pid|name|:port}}`

View File

@ -1,20 +1,20 @@
# flac
> Encodes, decodes and tests flac files.
> Encodes, decodes and tests FLAC files.
> More information: <https://xiph.org/flac>.
- Encode a wav file to flac (this will create a flac file in the same location as the wav file):
- Encode a WAV file to FLAC (this will create a FLAC file in the same location as the WAV file):
`flac {{path/to/file.wav}}`
- Encode a wav file to flac, specifying the output file:
- Encode a WAV file to FLAC, specifying the output file:
`flac -o {{path/to/output.flac}} {{path/to/file.wav}}`
- Decode a flac file to wav, specifying the output file:
- Decode a FLAC file to WAV, specifying the output file:
`flac -d -o {{path/to/output.wav}} {{path/to/file.flac}}`
- Test a flac file for the correct encoding:
- Test a FLAC file for the correct encoding:
`flac -t {{path/to/file.flac}}`

View File

@ -3,7 +3,7 @@
> A cross-platform file change monitor.
> More information: <https://emcrisostomo.github.io/fswatch>.
- Run a bash command on file creation, update or deletion:
- Run a Bash command on file creation, update or deletion:
`fswatch {{path/to/file}} | xargs -n 1 {{bash_command}}`
@ -15,6 +15,6 @@
`fswatch {{path/to/directory}} | xargs -n 1 -I {} echo {}`
- Filter by event type, eg. Updated, Deleted or Created:
- Filter by event type:
`fswatch --event {{Updated}} {{path/to/directory}} | xargs -n 1 {{bash_command}}`
`fswatch --event {{Updated|Deleted|Created}} {{path/to/directory}} | xargs -n 1 {{bash_command}}`

View File

@ -11,7 +11,7 @@
`gdalbuildvrt -input_file_list {{path/to/list.txt}} {{path/to/output.vrt}}`
- Make a RGB virtual mosaic from 3 single-band input files:
- Make an RGB virtual mosaic from 3 single-band input files:
`gdalbuildvrt -separate {{path/to/rgb.vrt}} {{path/to/red.tif}} {{path/to/green.tif}} {{path/to/blue.tif}}`

View File

@ -1,21 +1,21 @@
# gdrive
> Command-line tool to interact with Google Drive.
> Folder/file id can be obtained from the Google Drive folder or id url.
> Folder/file ID can be obtained from the Google Drive folder or ID URL.
> More information: <https://github.com/gdrive-org/gdrive>.
- Upload a local path to the parent folder with the specified id:
- Upload a local path to the parent folder with the specified ID:
`gdrive upload -p {{id}} {{path/to/file_or_folder}}`
- Download file or directory by id to current directory:
- Download file or directory by ID to current directory:
`gdrive download {{id}}`
- Download to a given local path by its id:
- Download to a given local path by its ID:
`gdrive download --path {{path/to/folder}} {{id}}`
- Create a new revision of an id using a given file or folder:
- Create a new revision of an ID using a given file or folder:
`gdrive update {{id}} {{path/to/file_or_folder}}`

View File

@ -7,7 +7,7 @@
`gem search {{regular_expression}} --all`
- Install latest version of a gem:
- Install the latest version of a gem:
`gem install {{gemname}}`

View File

@ -7,7 +7,7 @@
`gh alias`
- List all of the aliases `gh` is configured to use:
- List all the aliases `gh` is configured to use:
`gh alias list`

View File

@ -27,6 +27,6 @@
`gist --list {{username}}`
- Update a gist using the id from URL:
- Update a gist using the ID from URL:
`gist --update {{GIST_ID}} {{file.txt}}`

View File

@ -8,10 +8,10 @@
`git authors --list`
- Append the list of committers to the the `AUTHORS` file and open it in the default editor:
- Append the list of committers to the `AUTHORS` file and open it in the default editor:
`git authors`
- Append the list of committers, excluding emails, to the the `AUTHORS` file and open it in the default editor:
- Append the list of committers, excluding emails, to the `AUTHORS` file and open it in the default editor:
`git authors --no-email`

View File

@ -3,14 +3,14 @@
> Captures debug information from the system and user, generating a text file to aid in the reporting of a bug in Git.
> More information: <https://git-scm.com/docs/git-bugreport>.
- Create a new bugreport file in the current directory:
- Create a new bug report file in the current directory:
`git bugreport`
- Create a new bugreport file in the specified directory, creating it if it does not exist:
- Create a new bug report file in the specified directory, creating it if it does not exist:
`git bugreport --output-directory {{path/to/directory}}`
- Create a new bugreport file with the specified filename suffix in `strftime` format:
- Create a new bug report file with the specified filename suffix in `strftime` format:
`git bugreport --suffix {{%m%d%y}}`

View File

@ -7,7 +7,7 @@
`git count-objects`
- Display a count of all objects and their total disk usage, displaying sizes in human readable units:
- Display a count of all objects and their total disk usage, displaying sizes in human-readable units:
`git count-objects --human-readable`
@ -15,6 +15,6 @@
`git count-objects --verbose`
- Display more verbose information, displaying sizes in human readable units:
- Display more verbose information, displaying sizes in human-readable units:
`git count-objects --human-readable --verbose`

View File

@ -8,6 +8,6 @@
`git delta {{main}}`
- List files from specific branch that differ from another specific branch:
- List files from a specific branch that differ from another specific branch:
`git delta {{branch_1}} {{branch_2}}`

View File

@ -1,6 +1,6 @@
# git describe
> Give an object a human readable name based on an available ref.
> Give an object a human-readable name based on an available ref.
> More information: <https://git-scm.com/docs/git-describe>.
- Create a unique name for the current commit (the name contains the most recent annotated tag, the number of additional commits, and the abbreviated commit hash):

View File

@ -1,9 +1,9 @@
# git instaweb
> Helper to launch a gitweb server.
> Helper to launch a GitWeb server.
> More information: <https://git-scm.com/docs/git-instaweb>.
- Launch a gitweb server for the current Git repository:
- Launch a GitWeb server for the current Git repository:
`git instaweb --start`
@ -15,7 +15,7 @@
`git instaweb --start --port {{1234}}`
- Use a specified http daemon:
- Use a specified HTTP daemon:
`git instaweb --start --httpd {{lighttpd|apache2|mongoose|plackup|webrick}}`
@ -23,10 +23,10 @@
`git instaweb --start --browser`
- Stop the currently running gitweb server:
- Stop the currently running GitWeb server:
`git instaweb --stop`
- Restart the currently running gitweb server:
- Restart the currently running GitWeb server:
`git instaweb --restart`

View File

@ -7,7 +7,7 @@
`git pull`
- Download changes from default remote repository and use fast forward:
- Download changes from default remote repository and use fast-forward:
`git pull --rebase`

View File

@ -7,7 +7,7 @@
`git svn clone {{https://example.com/subversion_repo}} {{local_dir}}`
- Clone a SVN repository starting at a given revision number:
- Clone an SVN repository starting at a given revision number:
`git svn clone -r{{1234}}:HEAD {{https://svn.example.net/subversion/repo}} {{local_dir}}`

View File

@ -11,7 +11,7 @@
`go list std`
- List packages in json format:
- List packages in JSON format:
`go list -json time net/http`

View File

@ -12,7 +12,7 @@
`gource -{{width}}x{{height}}`
- Set a custom time scale for the animation:
- Set a custom timescale for the animation:
`gource -c {{time_scale_multiplier}}`

View File

@ -7,10 +7,10 @@
`guetzli {{input.jpg}} {{output.jpg}}`
- Create compressed JPEG image from PNG image:
- Create a compressed JPEG from a PNG:
`guetzli {{input.png}} {{output.jpg}}`
- Compress a JPEG image with desired visual quality (84-100):
- Compress a JPEG with the desired visual quality (84-100):
`guetzli --quality {{quality_value}} {{input.jpg}} {{output.jpg}}`

View File

@ -3,11 +3,11 @@
> Create and manage Heroku apps from the command-line.
> More information: <https://www.heroku.com/>.
- Log in to your heroku account:
- Log in to your Heroku account:
`heroku login`
- Create a heroku app:
- Create a Heroku app:
`heroku create`

View File

@ -3,7 +3,7 @@
> An idempotent command-line utility for managing the `/etc/hosts` file.
> More information: <https://github.com/cbednarski/hostess>.
- List domains, target ips and on/off status:
- List domains, target IP addresses and on/off status:
`hostess list`
@ -15,6 +15,6 @@
`hostess del {{local.example.com}}`
- Disable a domain (but don't remove it completely):
- Disable a domain (but don't remove it):
`hostess off {{local.example.com}}`

View File

@ -23,7 +23,7 @@
`http {{example.org}} {{X-MyHeader:123}}`
- Pass a user name and password for server authentication:
- Pass a username and password for server authentication:
`http --auth {{username:password}} {{example.org}}`

View File

@ -3,7 +3,7 @@
> Display current user and group identity.
> More information: <https://www.gnu.org/software/coreutils/id>.
- Display current user's id (UID), group id (GID) and groups to which they belong:
- Display current user's ID (UID), group ID (GID) and groups to which they belong:
`id`
@ -15,6 +15,6 @@
`id -g`
- Display an arbitrary user's id (UID), group id (GID) and groups to which they belong:
- Display an arbitrary user's ID (UID), group ID (GID) and groups to which they belong:
`id {{username}}`

View File

@ -3,6 +3,6 @@
> Command-line utility of Image Magick project to describe the format and characteristics of one or more image files.
> More information: <https://imagemagick.org/script/identify.php>.
- Collect dimensions of all jpeg files under current directory:
- Collect dimensions of all JPEG files under current directory:
`identify -format "%f,%w,%h\n" *.{{jpg}} > {{filelist.csv}}`

View File

@ -3,7 +3,7 @@
> Network Interface Configurator.
> More information: <https://net-tools.sourceforge.io/man/ifconfig.8.html>.
- View network settings of an ethernet adapter:
- View network settings of an Ethernet adapter:
`ifconfig eth0`

View File

@ -1,8 +1,8 @@
# imapsync
> Email IMAP tool for syncing, copying and migrating email mailboxes between two imap servers, one way, and without duplicates.
> Email IMAP tool for syncing, copying and migrating email mailboxes between two IMAP servers, one way, and without duplicates.
> More information: <https://imapsync.lamiral.info>.
- Synchronize imap account between host1 and host2:
- Synchronize IMAP account between host1 and host2:
`imapsync --host1 {{host1}} --user1 {{user1}} --password1 {{secret1}} --host2 {{host2}} --user2 {{user2}} --password2 {{secret2}}`

View File

@ -7,9 +7,9 @@
`import -window root {{output.postscript}}`
- Capture contents of a remote X server screen in the PNG image format:
- Capture contents of a remote X server screen in the PNG format:
`import -window root -display {{remote_host}}:{screen}.{display} {{output.png}}`
`import -window root -display {{remote_host}}:{{screen}}.{{display}} {{output.png}}`
- Capture a specific window, given its ID as displayed by `xwininfo`, into the JPEG format:

View File

@ -19,7 +19,7 @@
`infection --min-covered-msi {{percentage}}`
- Use a specific test framework (defaults to phpunit):
- Use a specific test framework (defaults to PHPUnit):
`infection --test-framework {{phpunit|phpspec}}`

View File

@ -4,22 +4,22 @@
> Copy files (often executable) to a system location like `/usr/local/bin`, give them the appropriate permissions/ownership.
> More information: <https://www.gnu.org/software/coreutils/install>.
- Copy files to destination:
- Copy files to the destination:
`install {{path/to/source}} {{path/to/destination}}`
- Copy files to destination, setting their ownership:
- Copy files to the destination, setting their ownership:
`install -o {{user}} {{path/to/source}} {{path/to/destination}}`
- Copy files to destination, setting their group ownership:
- Copy files to the destination, setting their group ownership:
`install -g {{user}} {{path/to/source}} {{path/to/destination}}`
- Copy files to destination, setting their `mode`:
- Copy files to the destination, setting their `mode`:
`install -m {{+x}} {{path/to/source}} {{path/to/destination}}`
- Copy files and apply access/modification times of source to destination:
- Copy files and apply access/modification times of source to the destination:
`install -p {{path/to/source}} {{path/to/destination}}`

View File

@ -15,14 +15,14 @@
`ionic g {{page}}`
- Show versions of ionic, cordova, environment, etc.:
- Show versions of Ionic, Cordova, environment, etc.:
`ionic info`
- Run app on an android/ios device:
- Run app on an Android/iOS device:
`ionic cordova run {{android|ios}} --device`
- Check the health of a ionic app:
- Check the health of an Ionic app:
`ionic doctor {{check}}`

View File

@ -2,7 +2,7 @@
> Display information about resources used in IPC (Inter-process Communication).
- Specific information about the Message Queue which has the id 32768:
- Specific information about the Message Queue which has the ID 32768:
`ipcs -qi 32768`

View File

@ -3,11 +3,11 @@
> Text based IRC client.
> More information: <https://irssi.org>.
- Open irssi and connect to a server with a nickname:
- Open Irssi and connect to a server with a nickname:
`irssi -n {{nickname}} -c {{irc.example.com}}`
- Open irssi and connect with a specific server on a given port:
- Open Irssi and connect with a specific server on a given port:
`irssi -c {{irc.example.com}} -p {{port}}`

View File

@ -3,7 +3,7 @@
> Java Heap Analysis Tool.
> More information: <https://docs.oracle.com/javase/8/docs/technotes/tools/unix/jhat.html>.
- Analyze a heap dump (from jmap), view via http on port 7000:
- Analyze a heap dump (from `jmap`), view via HTTP on port 7000:
`jhat {{dump_file.bin}}`
@ -11,6 +11,6 @@
`jhat -p {{port}} {{dump_file.bin}}`
- Analyze a dump letting jhat use up to 8GB RAM (2-4x dump size recommended):
- Analyze a dump letting `jhat` use up to 8 GB RAM (2-4x dump size recommended):
`jhat -J-mx8G {{dump_file.bin}}`

View File

@ -20,7 +20,7 @@
`%s{{foo}}<Enter>c{{bar}}<Escape>`
- Un-select all secondary selections, and keep only the main one:
- Unselect all secondary selections, and keep only the main one:
`<Space>`

View File

@ -3,7 +3,7 @@
> A light-weight password manager.
> More information: <https://keepass.info>.
- Start KeePass 2, opening the most recently-opened password database:
- Start KeePass 2, opening the most recently opened password database:
`keepass2`

View File

@ -15,7 +15,7 @@
`kops export kubecfg {{cluster_name}}`
- Get the cluster configuration as yaml:
- Get the cluster configuration as YAML:
`kops get cluster {{cluster_name}} -o yaml`

View File

@ -14,7 +14,7 @@
`last -F -a`
- View all logins by a specific user and show the ip address instead of the hostname:
- View all logins by a specific user and show the IP address instead of the hostname:
`last {{username}} -i`

View File

@ -12,7 +12,7 @@
`latexmk {{source.tex}}`
- Compile a pdf document:
- Compile a PDF document:
`latexmk -pdf {{source.tex}}`
@ -20,10 +20,10 @@
`latexmk -f {{source.tex}}`
- Clean up temporary tex files created for a specific tex file:
- Clean up temporary TEX files created for a specific TEX file:
`latexmk -c {{source.tex}}`
- Clean up all temporary tex files in the current directory:
- Clean up all temporary TEX files in the current directory:
`latexmk -c`

View File

@ -1,13 +1,13 @@
# leave
> Remind when it's time to leave.
> Set a reminder for when it's time to leave.
> To remove reminders use `kill $(pidof leave)`.
- Set a reminder at a given time:
`leave {{time_to_leave}}`
- Remind to leave at noon:
- Set a reminder to leave at noon:
`leave {{1200}}`
@ -15,6 +15,6 @@
`leave +{{amount_of_time}}`
- Remind to leave in 4 hours and 4 minutes:
- Set a reminder to leave in 4 hours and 4 minutes:
`leave +{{0404}}`

View File

@ -1,6 +1,6 @@
# live-server
> A simple development http server with live reload capability.
> A simple development HTTP server with live reload capability.
> More information: <https://www.npmjs.com/package/live-server>.
- Serve an `index.html` file and reload on changes:

View File

@ -4,14 +4,14 @@
> Commonly used to load data from various sources (such as databases and log files) into Elasticsearch.
> More information: <https://www.elastic.co/products/logstash>.
- Check validity of a logstash configuration:
- Check validity of a Logstash configuration:
`logstash --configtest --config {{logstash_config.conf}}`
- Run logstash using configuration:
- Run Logstash using configuration:
`sudo logstash --config {{logstash_config.conf}}`
- Run logstash with the most basic inline configuration string:
- Run Logstash with the most basic inline configuration string:
`sudo logstash -e 'input {} filter {} output {}'`

View File

@ -14,6 +14,6 @@
`lorem -s {{5}} --raven`
- Print 40 random characters from Boccacio's Decameron:
- Print 40 random characters from Boccaccio's Decameron:
`lorem --randomize -c {{40}} --decamerone`

View File

@ -20,7 +20,7 @@
`lpr -o page-ranges={{2|2-16}} {{path/to/file}}`
- Print double sided either in portrait (long) or in landscape (short):
- Print double-sided either in portrait (long) or in landscape (short):
`lpr -o sides={{two_sided_long_edge|two_sided_short_edge}} {{path/to/file}}`

View File

@ -19,7 +19,7 @@
`ls -la`
- Long format list with size displayed using human readable units (KiB, MiB, GiB):
- Long format list with size displayed using human-readable units (KiB, MiB, GiB):
`ls -lh`

View File

@ -3,7 +3,7 @@
> SCons-like build system that uses python as a front-end language and Ninja as a building backend.
> More information: <https://mesonbuild.com>.
- Generate a c project with a given name and version:
- Generate a C project with a given name and version:
`meson init --language={{c}} --name={{myproject}} --version={{0.1}}`

View File

@ -4,11 +4,11 @@
> See also `minetestserver`, the server-only binary.
> More information: <https://wiki.minetest.net/Minetest>.
- Start minetest in client mode:
- Start Minetest in client mode:
`minetest`
- Start minetest in server mode by hosting a specific world:
- Start Minetest in server mode by hosting a specific world:
`minetest --server --world {{name}}`

View File

@ -15,7 +15,7 @@
`mixxx --debugAssertBreak --developer --loglevel trace`
- Start mixxx using the specified settings file:
- Start Mixxx using the specified settings file:
`mixxx --resourcePath {{mixxx/res/controllers}} --settingsPath {{path/to/settings-file}}`

View File

@ -12,7 +12,7 @@
`mogrify -resize {{800x600}} {{DSC*}}`
- Convert all PNG images in the directory to JPEG:
- Convert all PNGs in the directory to JPEG:
`mogrify -format {{jpg}} {{*.png}}`

View File

@ -1,9 +1,9 @@
# molecule
> Molecule helps testing ansible roles.
> Molecule helps testing Ansible roles.
> More information: <https://molecule.readthedocs.io>.
- Create a new ansible role:
- Create a new Ansible role:
`molecule init role --role-name {{role_name}}`

View File

@ -3,18 +3,18 @@
> Utility to import a collection or database from a binary dump into a MongoDB instance.
> More information: <https://docs.mongodb.com/database-tools/mongorestore/>.
- Import a bson data dump from a directory to a MongoDB database:
- Import a BSON data dump from a directory to a MongoDB database:
`mongorestore --db {{database_name}} {{path/to/directory}}`
- Import a bson data dump from a directory to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password):
- Import a BSON data dump from a directory to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password):
`mongorestore --host {{database_host:port}} --db {{database_name}} --username {{username}} {{path/to/directory}} --password`
- Import a collection from a bson file to a MongoDB database:
- Import a collection from a BSON file to a MongoDB database:
`mongorestore --db {{database_name}} {{path/to/file}}`
- Import a collection from a bson file to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password):
- Import a collection from a BSON file to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password):
`mongorestore --host {{database_host:port}} --db {{database_name}} --username {{username}} {{path/to/file}} --password`

Some files were not shown because too many files have changed in this diff Show More