Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
73b6daa
*: fix errors reported by languagetool
SethFalco May 29, 2021
8127a8f
rclone: revert a rclone to an rclone
SethFalco May 29, 2021
ed1aff5
faketime: replace any with a
SethFalco May 29, 2021
e132770
sreport: cpu -> CPU
SethFalco May 29, 2021
5d8d6fb
*: capitalize acronyms
SethFalco May 29, 2021
a8046fd
*: shorten wordy wordings
SethFalco May 29, 2021
9f462fa
dockerd: replace comma with and
SethFalco May 29, 2021
badbe86
*: id -> ID
SethFalco May 29, 2021
db277f0
dockerd: capitalize unix and tcp
SethFalco May 29, 2021
49fd2b3
rtcwake: linux -> Linux
SethFalco May 29, 2021
9395ea9
*: correctly capitalize more words
SethFalco May 29, 2021
5510974
webpack: JS -> JavaScript
SethFalco May 29, 2021
f30bdd0
rg: e.g., -> e.g.
SethFalco May 29, 2021
5e42446
*: normalize e.g.
SethFalco May 29, 2021
31a2440
browser-sync: some directory -> a directory
SethFalco May 29, 2021
8e63f43
*: normalize ip address
SethFalco May 29, 2021
1e34c98
*: fix problems reported by languagetool
SethFalco Jun 1, 2021
8007cd1
2to3: revert change
SethFalco Jun 1, 2021
5008103
rtcwake: remove space between symbol and version
SethFalco Jun 1, 2021
4b758cd
rtcwake: Linux -> Linux kernel
SethFalco Jun 1, 2021
a3f52d8
*: capitalize nouns correctly
SethFalco Jun 1, 2021
cce53df
*: add space between value and units
SethFalco Jun 2, 2021
219f610
truncate: replace M with MiB
SethFalco Jun 2, 2021
a5ad25d
caffeinate: mac -> macOS
SethFalco Jun 2, 2021
6683357
cksum, mcookie: add hyphen before bit
SethFalco Jun 2, 2021
a376531
*: restructure pages
SethFalco Jun 19, 2021
cfbe2e7
docker: an already running -> a running
SethFalco Jun 19, 2021
463c28e
*: restructure pages
SethFalco Jun 20, 2021
f95fc0e
rtcwake: use words instead of syntax to indicate version
SethFalco Jun 20, 2021
fa21751
webpack: wrap css=css argument in brackets
SethFalco Jul 16, 2021
7cdeb19
mogrify: revert change to halve
SethFalco Jul 17, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/android/am.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`
2 changes: 1 addition & 1 deletion pages/android/getprop.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`
2 changes: 1 addition & 1 deletion pages/common/acme.sh-dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion pages/common/ansible-playbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/apropos.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`
2 changes: 1 addition & 1 deletion pages/common/aria2c.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/arping.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`
2 changes: 1 addition & 1 deletion pages/common/atq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
2 changes: 1 addition & 1 deletion pages/common/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/bastet.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

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

`bat -n {{file}}`

- Syntax highlight a json file:
- Syntax highlight a JSON file:

`bat --language json {{file.json}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/bedtools.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`

Expand Down
6 changes: 3 additions & 3 deletions pages/common/brotli.md
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/browser-sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}'`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/btm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
4 changes: 2 additions & 2 deletions pages/common/chroma.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`
2 changes: 1 addition & 1 deletion pages/common/chromium.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

`chromium {{path/to/file.html}}`

- Open an URL:
- Open a URL:

`chromium {{example.com}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/cksum.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`
2 changes: 1 addition & 1 deletion pages/common/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
2 changes: 1 addition & 1 deletion pages/common/column.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {{,}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/conda-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/convert.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`

Expand Down
10 changes: 5 additions & 5 deletions pages/common/cordova.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@
> 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}}`

- Display the current workspace status:

`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}}`
6 changes: 3 additions & 3 deletions pages/common/couchdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
14 changes: 7 additions & 7 deletions pages/common/cradle-elastic.md
Original file line number Diff line number Diff line change
@@ -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}}`
2 changes: 1 addition & 1 deletion pages/common/csslint.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`
4 changes: 2 additions & 2 deletions pages/common/curl.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`

Expand All @@ -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}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/dcfldd.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`
4 changes: 2 additions & 2 deletions pages/common/dd.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/detox.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/df.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/dfc.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/diffoscope.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/django-admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
> Django’s 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}}`

Expand Down
Loading