Skip to content

Commit

Permalink
Update tldr-pages data
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Nov 25, 2019
1 parent d7558f6 commit 8181787
Show file tree
Hide file tree
Showing 4,271 changed files with 45,292 additions and 5,393 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
27 changes: 14 additions & 13 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,20 @@ builds:
goarch:
- amd64

archive:
wrap_in_directory: true
format: tar.gz
format_overrides:
- goos: windows
format: zip
replacements:
amd64: x64
386: x86
darwin: macos
files:
- LICENSE
- LICENSE-tldr-pages
archives:
-
wrap_in_directory: true
format: tar.gz
format_overrides:
- goos: windows
format: zip
replacements:
amd64: x64
386: x86
darwin: macos
files:
- LICENSE
- LICENSE-tldr-pages

brew:
skip_upload: true
Expand Down
13 changes: 9 additions & 4 deletions data/common/7z
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# 7z

> A file archiver with high compression ratio.
> More information: <https://www.7-zip.org/>.

- Archive a file or folder:
- Archive a file or directory:

`7z a {{archived.7z}} {{path/to/file}}`
`7z a {{archived.7z}} {{path/to/file_or_directory}}`

- Encrypt an existing archive (including headers):

`7z a {{encrypted.7z}} -p{{password}} -mhe {{archived.7z}}`
`7z a {{encrypted.7z}} -p{{password}} -mhe=on {{archived.7z}}`

- Extract an existing 7z file with original directory structure:

Expand All @@ -18,9 +19,13 @@

`7z x {{archived.7z}} -o{{path/to/output}}`

- Extract an archive to stdout:

`7z x {{archived.7z}} -so`

- Archive using a specific archive type:

`7z a -t {{zip|gzip|bzip2|tar|...}} {{archived.7z}} {{path/to/file}}`
`7z a -t{{zip|gzip|bzip2|tar}} {{archived.7z}} {{path/to/file_or_directory}}`

- List available archive types:

Expand Down
7 changes: 4 additions & 3 deletions data/common/7za
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@

> A file archiver with high compression ratio.
> A standalone version of `7z` with support for fewer archive types.
> More information: <https://www.7-zip.org/>.

- Archive a file or folder:
- Archive a file or directory:

`7za a {{archived.7z}} {{path/to/file}}`
`7za a {{archived.7z}} {{path/to/file_or_directory}}`

- Extract an existing 7z file with original directory structure:

`7za x {{archived}}`

- Archive using a specific archive type:

`7za a -t{{zip|gzip|bzip2|tar|...}} {{archived}} {{path/to/file}}`
`7za a -t{{zip|gzip|bzip2|tar}} {{archived}} {{path/to/file_or_directory}}`

- List available archive types:

Expand Down
5 changes: 3 additions & 2 deletions data/common/7zr
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

> A file archiver with high compression ratio.
> A standalone version of `7z` that only supports .7z files.
> More information: <https://www.7-zip.org/>.

- Archive a file or folder:
- Archive a file or directory:

`7zr a {{archived.7z}} {{path/to/file}}`
`7zr a {{archived.7z}} {{path/to/file_or_directory}}`

- Extract an existing 7z file with original directory structure:

Expand Down
16 changes: 16 additions & 0 deletions data/common/aapt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# aapt

> Android Asset Packaging Tool.
> Compile and package an Android app's resources.

- List files contained in an APK archive:

`aapt list {{path/to/app.apk}}`

- Display an app's metadata (version, permissions, etc.):

`aapt dump badging {{path/to/app.apk}}`

- Create a new APK archive with files from the specified directory:

`aapt package -F {{path/to/app.apk}} {{path/to/directory}}`
1 change: 1 addition & 0 deletions data/common/ab
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# ab

> Apache Benchmarking tool. The simplest tool to perform a load testing.
> More information: <https://httpd.apache.org/docs/2.4/programs/ab.html>.

- Execute 100 HTTP GET requests to given URL:

Expand Down
24 changes: 24 additions & 0 deletions data/common/abduco
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# abduco

> Terminal session manager.
> More information: <http://www.brain-dump.org/projects/abduco/>.

- List sessions:

`abduco`

- Attach to a session, creating it if it doesn't exist:

`abduco -A {{name}} {{bash}}`

- Attach to a session with `dvtm`, creating it if it doesn't exist:

`abduco -A {{name}}`

- Detach from a session:

`Ctrl + \`

- Attach to a session in read-only mode:

`abduco -Ar {{name}}`
9 changes: 7 additions & 2 deletions data/common/ack
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# ack

> A search tool like grep, optimized for programmers.
> More information: <https://beyondgrep.com/documentation/>.

- Find files containing "foo":

`ack {{foo}}`

- Find files in a specific language:
- Find files of a specific type:

`ack --ruby {{each_with_object}}`
`ack --ruby {{foo}}`

- Count the total number of matches for the term "foo":

Expand All @@ -17,3 +18,7 @@
- Show the file names containing "foo" and number of matches in each file:

`ack -cl {{foo}}`

- List all valid types:

`ack --help=types`
28 changes: 28 additions & 0 deletions data/common/act
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# act

> Execute GitHub Actions locally using Docker.
> More information: <https://github.com/nektos/act>.

- List the available actions:

`act -l`

- Run the default event:

`act`

- Run a specific event:

`act {{event_type}}`

- Run a specific action:

`act -a {{action_id}}`

- Do not actually run the actions (i.e. a dry run):

`act -n`

- Show verbose logs:

`act -v`
9 changes: 5 additions & 4 deletions data/common/adb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# adb

> Android Debug Bridge: communicate with an Android emulator instance or connected Android devices.
> More information: <https://developer.android.com/studio/command-line/adb>.

- Check whether the adb server process is running and start it:

Expand All @@ -18,13 +19,13 @@

`adb install -r {{path/to/file.apk}}`

- Copy a file/folder from the target device:
- Copy a file/directory from the target device:

`adb pull {{path/to/device_file_or_folder}} {{path/to/local_destination_folder}}`
`adb pull {{path/to/device_file_or_directory}} {{path/to/local_destination_directory}}`

- Copy a file/folder to the target device:
- Copy a file/directory to the target device:

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

- Get a list of connected devices:

Expand Down
3 changes: 2 additions & 1 deletion data/common/ag
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# ag

> The Silver Searcher. Like ack, but faster.
> More information: <https://github.com/ggreer/the_silver_searcher>.

- Find files containing "foo", and print the line matches in context:

`ag {{foo}}`

- Find files containing "foo" in a specific directory:

`ag {{foo}} {{path/to/folder}}`
`ag {{foo}} {{path/to/directory}}`

- Find files containing "foo", but only list the filenames:

Expand Down
24 changes: 24 additions & 0 deletions data/common/alacritty
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# alacritty

> Cross-platform, GPU-accelerated terminal emulator.
> More information: <https://github.com/jwilm/alacritty>.

- Open a new alacritty window:

`alacritty`

- Run in a specific directory:

`alacritty --working-directory {{path/to/directory}}`

- Run a command in a new alacritty window:

`alacritty -e {{command}}`

- Specify alternative configuration file (defaults to $XDG_CONFIG_HOME/alacritty/alacritty.yml):

`alacritty --config-file {{path/to/config.yml}}`

- Run with live config reload enabled (can also be enabled by default in alacritty.yml):

`alacritty --live-config-reload --config-file {{path/to/config.yml}}`
21 changes: 21 additions & 0 deletions data/common/alex
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# alex

> A tool that catches insensitive, inconsiderate writing.
> It helps you find gender favouring, polarising, race related, religion inconsiderate, or other unequal phrasing in text.
> More information: <https://github.com/get-alex/alex>.

- Analyze text from `stdin`:

`echo {{His network looks good}} | alex --stdin`

- Analyze all files in the current directory:

`alex`

- Analyze a specific file:

`alex {{textfile.md}}`

- Analyze all markdown files except `example.md`:

`alex *.md !{{example.md}}`
10 changes: 5 additions & 5 deletions data/common/alias
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
> Creates aliases -- words that are replaced by a command string.
> Aliases expire with the current shell session, unless they're defined in the shell's configuration file, e.g. `~/.bashrc`.

- List all aliases:

`alias`

- Create a generic alias:

`alias {{word}}="{{command}}"`
Expand All @@ -15,11 +19,7 @@

`unalias {{word}}`

- List all aliased words:

`alias -p`

- Turn rm into an interactive command:
- Turn `rm` into an interactive command:

`alias {{rm}}="{{rm -i}}"`

Expand Down
16 changes: 16 additions & 0 deletions data/common/androguard
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# androguard

> Reverse engineering tool for Android applications. Written in Python.
> More information: <https://github.com/androguard/androguard>.

- Display Android app manifest:

`androguard axml {{path/to/app.apk}}`

- Display app metadata (version and app ID):

`androguard apkid {{path/to/app.apk}}`

- Decompile Java code from an app:

`androguard decompile {{path/to/app.apk}} --output {{path/to/directory}}`
1 change: 1 addition & 0 deletions data/common/ansible
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

> Manage groups of computers remotely over SSH.
> Use the /etc/ansible/hosts file to add new groups/hosts.
> More information: <https://www.ansible.com/>.

- List hosts belonging to a group:

Expand Down
1 change: 1 addition & 0 deletions data/common/ansible-galaxy
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# ansible-galaxy

> Create and manage Ansible roles.
> More information: <https://docs.ansible.com/ansible/latest/cli/ansible-galaxy.html>.

- Install a role:

Expand Down
1 change: 1 addition & 0 deletions data/common/ansible-playbook
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# ansible-playbook

> Execute tasks defined in playbook on remote machines over SSH.
> More information: <https://docs.ansible.com/ansible/latest/cli/ansible-playbook.html>.

- Run tasks in playbook:

Expand Down
16 changes: 16 additions & 0 deletions data/common/ansiweather
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ansiweather

> A shell script for displaying the current weather conditions in your terminal.
> More information: <https://github.com/fcambus/ansiweather>.

- Display a forecast using metric units for the next five days for Rzeszow, Poland:

`ansiweather -u {{metric}} -f {{5}} -l {{Rzeszow,PL}}`

- Display a forecast showing symbols and daylight data for your current location:

`ansiweather -s {{true}} -d {{true}}`

- Display a forecast showing wind and humidity data for your current location:

`ansiweather -w {{true}} -h {{true}}`
1 change: 1 addition & 0 deletions data/common/apm
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

> Atom editor Package Manager.
> See `atom`.
> More information: <https://github.com/atom/apm>.

- Install packages from http://atom.io/packages and themes from http://atom.io/themes:

Expand Down
4 changes: 4 additions & 0 deletions data/common/apropos
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@
- Search without restricting output to terminal width:

`apropos -l {{regular_expression}}`

- Search for pages that only contain all of the expressions given (AND search):

`apropos {{regular_expression_1}} -a {{regular_expression_2}} -a {{regular_expression_3}`
Loading

0 comments on commit 8181787

Please sign in to comment.