-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e178431
commit 22474d3
Showing
1,181 changed files
with
19,691 additions
and
927 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,4 @@ | |
|
||
- Create an entry: | ||
|
||
`arp -s {{address}} {{mac address}}` | ||
`arp -s {{address}} {{mac_address}}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# asar | ||
|
||
> A file archiver for the Electron platform. | ||
|
||
- Archive a file or folder: | ||
|
||
`asar pack {{path/to/file}} {{archived.asar}}` | ||
|
||
- Extract an archive: | ||
|
||
`asar extract {{archived.asar}}` | ||
|
||
- Extract a specific file from an archive: | ||
|
||
`asar extract-file {{archived.asar}} {{file}}` | ||
|
||
- List the contents of an archive file: | ||
|
||
`asar list {{archived.asar}}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# b2sum | ||
|
||
> Calculate BLAKE2 cryptographic checksums. | ||
|
||
- Calculate the BLAKE2 checksum for a file: | ||
|
||
`b2sum {{filename1}}` | ||
|
||
- Calculate BLAKE2 checksums for multiple files: | ||
|
||
`b2sum {{filename1}} {{filename2}}` | ||
|
||
- Read a file of BLAKE2 sums and filenames and verify all files have matching checksums: | ||
|
||
`b2sum -c {{filename.b2}}` | ||
|
||
- Calculate the BLAKE2 checksum from stdin: | ||
|
||
`{{somecommand}} | shasum` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# banner | ||
|
||
> Print the given argument as a large ASCII art. | ||
|
||
- Print the text message as a large banner (quotes are optional): | ||
|
||
`banner {{"Hello World"}}` | ||
|
||
- Print the text message as a banner with a width of 50 characters: | ||
|
||
`banner -w {{50}} {{"Hello World"}}` | ||
|
||
- Read text from stdin: | ||
|
||
`banner` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# bat | ||
|
||
> Print and concatenate files. | ||
> A `cat` clone with syntax highlighting and Git integration. | ||
|
||
- Print the contents of a file to the standard output: | ||
|
||
`bat {{file}}` | ||
|
||
- Concatenate several files into the target file: | ||
|
||
`bat {{file1}} {{file2}} > {{target_file}}` | ||
|
||
- Append several files into the target file: | ||
|
||
`bat {{file1}} {{file2}} >> {{target_file}}` | ||
|
||
- Number all output lines: | ||
|
||
`bat -n {{file}}` | ||
|
||
- Syntax highlight a json file: | ||
|
||
`bat --language json {{file.json}}` | ||
|
||
- Display all supported languages: | ||
|
||
`bat --list-languages` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# bup | ||
|
||
> Backup system based on the git packfile format, providing fast incremental saves and global deduplication. | ||
|
||
- Initialize a backup repository in the specified local directory: | ||
|
||
`bup -d {{path/to/repository}} init` | ||
|
||
- Prepare a given folder before taking a backup: | ||
|
||
`bup -d {{path/to/repository}} index {{path/to/folder}}` | ||
|
||
- Backup a folder to the repository: | ||
|
||
`bup -d {{path/to/repository}} save -n {{backup_name}} {{path/to/folder}}` | ||
|
||
- Show the backup snapshots currently stored in the repository: | ||
|
||
`bup -d {{path/to/repository}} ls` | ||
|
||
- Restore a specific backup snapshot to a target directory: | ||
|
||
`bup -d {{path/to/repository}} restore -C {{path/to/target_directory}} {{backup_name}}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# chroot | ||
|
||
> Run command or interactive shell with special root directory. | ||
|
||
- Run command as new root directory: | ||
|
||
`chroot {{/path/to/new/root}} {{command}}` | ||
|
||
- Specify user and group (ID or name) to use: | ||
|
||
`chroot --userspec={{user:group}}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# clear | ||
|
||
> Clears the screen of the terminal. | ||
|
||
- Clear the screen (equivalent to typing Control-L when using the bash shell): | ||
|
||
`clear` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# cmark | ||
|
||
> Converts CommonMark Markdown formatted text to other formats. | ||
|
||
- Render a Commonmark Markdown file to HTML: | ||
|
||
`cmark --to html {{filename.md}}` | ||
|
||
- Convert data from standard input to latex: | ||
|
||
`cmark --to latex` | ||
|
||
- Convert straight quotes to smart quotes: | ||
|
||
`cmark --smart --to html {{filename.md}}` | ||
|
||
- Validate utf8 characters: | ||
|
||
`cmark --validate-utf8 {{filename.md}}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# coffee | ||
|
||
> Executes CoffeeScript scripts or compiles them into JavaScript. | ||
|
||
- Run a script: | ||
|
||
`coffee {{path/to/file.coffee}}` | ||
|
||
- Compile to JavaScript and save to a file with the same name: | ||
|
||
`coffee --compile {{path/to/file.coffee}}` | ||
|
||
- Compile to JavaScript and save to a given output file: | ||
|
||
`coffee --compile {{path/to/file.coffee}} --output {{path/to/file.js}}` | ||
|
||
- Run interactive REPL: | ||
|
||
`coffee --interactive` | ||
|
||
- Watch script for changes and re-run script: | ||
|
||
`coffee --watch {{path/to/file.coffee}}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# complete | ||
|
||
> Provides argument autocompletion to shell commands. | ||
|
||
- Apply a function that performs autocompletion to a command: | ||
|
||
`complete -F {{function}} {{command}}` | ||
|
||
- Apply a command that performs autocompletion to another command: | ||
|
||
`complete -C {{autocomplete_command}} {{command}}` | ||
|
||
- Apply autocompletion without appending a space to the completed word: | ||
|
||
`complete -o nospace -F {{function}} {{command}}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.