-
Notifications
You must be signed in to change notification settings - Fork 0
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
138c495
commit b1e4e6a
Showing
30 changed files
with
363 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# cavif | ||
|
||
> PNG/JPEG to AVIF converter. | ||
> More information: <https://github.com/kornelski/cavif-rs>. | ||
- Convert a JPEG file to AVIF: | ||
|
||
`cavif {{path/to/file.jpg}}` | ||
|
||
- Adjust the image quality (1-100) and convert a PNG file to AVIF: | ||
|
||
`cavif --quality {{60}} {{path/to/file.png}}` | ||
|
||
- Set the output location explicitly: | ||
|
||
`cavif {{path/to/file.jpg}} --output {{path/to/file.avif}}` | ||
|
||
- Overwrite the destination file if it already exists: | ||
|
||
`cavif --overwrite {{path/to/file.jpg}}` |
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,12 @@ | ||
# exfatlabel | ||
|
||
> Get or set an exFAT filesystem label. | ||
> More information: <https://manned.org/exfatlabel>. | ||
- Display the current filesystem label: | ||
|
||
`exfatlabel {{/dev/sda}}` | ||
|
||
- Set the filesystem label: | ||
|
||
`exfatlabel {{/dev/sda}} {{new_label}}` |
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
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,24 @@ | ||
# macchina | ||
|
||
> Display information about your computer. | ||
> More information: <https://github.com/Macchina-CLI/macchina>. | ||
- List out system information, with either default settings or those specified in your configuration file: | ||
|
||
`macchina` | ||
|
||
- Specify a custom configuration file path: | ||
|
||
`macchina --config {{path/to/configuration_file}}` | ||
|
||
- List system information, but lengthen uptime, shell and kernel output: | ||
|
||
`macchina --long-uptime --long-shell --long-kernel` | ||
|
||
- Check for any errors/system failures encountered when trying to fetch system information: | ||
|
||
`macchina --doctor` | ||
|
||
- List original artists of all the ASCII art: | ||
|
||
`macchina --ascii-artists` |
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 |
---|---|---|
@@ -1,28 +1,32 @@ | ||
# mtr | ||
|
||
> Matt's Traceroute: combined traceroute and ping tool. | ||
> More information: <https://bitwizard.nl/mtr>. | ||
> More information: <https://www.bitwizard.nl/mtr/>. | ||
- Traceroute to a host and continuously ping all intermediary hops: | ||
|
||
`mtr {{host}}` | ||
`mtr {{example.com}}` | ||
|
||
- Disable IP address and host name mapping: | ||
|
||
`mtr -n {{host}}` | ||
`mtr --no-dns {{example.com}}` | ||
|
||
- Generate output after pinging each hop 10 times: | ||
|
||
`mtr -w {{host}}` | ||
`mtr --report-wide {{example.com}}` | ||
|
||
- Force IP IPv4 or IPV6: | ||
|
||
`mtr -4 {{host}}` | ||
`mtr -4 {{example.com}}` | ||
|
||
- Wait for a given time (in seconds) before sending another packet to the same hop: | ||
|
||
`mtr -i {{seconds}} {{host}}` | ||
`mtr --interval {{10}} {{example.com}}` | ||
|
||
- Display the Autonomous System Number (ASN) for each hop: | ||
|
||
`mtr --aslookup {{hostname}}` | ||
`mtr --aslookup {{example.com}}` | ||
|
||
- Display both IP address and reverse DNS name: | ||
|
||
`mtr --show-ips {{example.com}}` |
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,36 @@ | ||
# nping | ||
|
||
> Network packet generation tool/ping utility. | ||
> More information: <https://nmap.org/nping/>. | ||
- Ping a specified host using ICMP if the user is allowed to, otherwise using TCP: | ||
|
||
`nping {{example.com}}` | ||
|
||
- Ping a specified host using ICMP assuming that the user is allowed to do so: | ||
|
||
`nping --icmp --privileged {{example.com}}` | ||
|
||
- Ping a specified host using UDP: | ||
|
||
`nping --udp {{example.com}}` | ||
|
||
- Ping a specified host on a given port using TCP: | ||
|
||
`nping --tcp --dest-port {{443}} {{example.com}}` | ||
|
||
- Ping a certain number of times: | ||
|
||
`nping --count {{10}} {{example.com}}` | ||
|
||
- Wait a certain amount of time between each ping: | ||
|
||
`nping --delay {{5s}} {{example.com}}` | ||
|
||
- Send the request over a specified interface: | ||
|
||
`nping --interface {{eth0}} {{example.com}}` | ||
|
||
- Set the Reserved/Evil bit in sent packets: | ||
|
||
`nping --evil {{example.com}}` |
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,17 @@ | ||
# yacc | ||
|
||
> Generate an LALR parser (in C) with a given formal grammar specification file. | ||
> See also: `bison`. | ||
> More information: <https://manned.org/man/yacc.1p>. | ||
- Create a file `y.tab.c` containing the C parser code and compile the grammar file with all necessary constant declarations for values. (Constant declarations file `y.tab.h` is created only when the `-d` flag is used): | ||
|
||
`yacc -d {{path/to/grammar_file.y}}` | ||
|
||
- Compile a grammar file containing the description of the parser and a report of conflicts generated by ambiguities in the grammar: | ||
|
||
`yacc -d {{path/to/grammar_file.y}} -v` | ||
|
||
- Compile a grammar file, and prefix output filenames with `prefix` instead of `y`: | ||
|
||
`yacc -d {{path/to/grammar_file.y}} -v -b {{prefix}}` |
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,16 @@ | ||
# yard | ||
|
||
> Documentation tool for Ruby. | ||
> More information: <https://yardoc.org/>. | ||
- Create the documentation: | ||
|
||
`yard` | ||
|
||
- Create the documentation and save it to one file: | ||
|
||
`yard --one-file` | ||
|
||
- List all undocumented objects: | ||
|
||
`yard stats --list-undoc` |
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,24 @@ | ||
# farge | ||
|
||
> Display the color of a specific pixel on the screen in either hexadecimal or RGB formats. | ||
> More information: <https://github.com/sdushantha/farge>. | ||
- Display a small preview window of a pixel's color with it's hexadecimal value, and copy this value to the clipboard: | ||
|
||
`farge` | ||
|
||
- Copy a pixel's hexadecimal value to the clipboard without displaying a preview window: | ||
|
||
`farge --no-preview` | ||
|
||
- Output a pixel's hexadecimal value to `stdout`, and copy this value to the clipboard: | ||
|
||
`farge --stdout` | ||
|
||
- Output a pixel's RGB value to `stdout`, and copy this value to the clipboard: | ||
|
||
`farge --rgb --stdout` | ||
|
||
- Display a pixel's hexadecimal value as a notification which expires in 5000 milliseconds, and copy this value to the clipboard: | ||
|
||
`farge --notify --expire-time 5000` |
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,17 @@ | ||
# qm suspend | ||
|
||
> Suspends a virtual machine (VM) in the Proxmox Virtual Environment (PVE). | ||
> Use `--skiplock` and `--skiplockstorage` flags with caution, as they may lead to data corruption in certain situations. | ||
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>. | ||
- Suspend a virtual machine by id: | ||
|
||
`qm suspend {{vm_id}} {{integer}}` | ||
|
||
- Skip the lock check when suspending the VM: | ||
|
||
`qm suspend {{vm_id}} {{integer}} --skiplock` | ||
|
||
- Skip the lock check for storage when suspending the VM: | ||
|
||
`qm suspend {{vm_id}} {{integer}} --skiplockstorage` |
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,8 @@ | ||
# qm template | ||
|
||
> Create a Proxmox VM template. | ||
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>. | ||
- Create a template out of a specific virtual machine: | ||
|
||
`qm template {{vm_id}}` |
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,17 @@ | ||
# swaplabel | ||
|
||
> Print or change the label or UUID of a swap area. | ||
> Note: `path/to/file` can either point to a regular file or a swap partition. | ||
> More information: <https://manned.org/swaplabel>. | ||
- Display the current label and UUID of a swap area: | ||
|
||
`swaplabel {{path/to/file}}` | ||
|
||
- Set the label of a swap area: | ||
|
||
`swaplabel --label {{new_label}} {{path/to/file}}` | ||
|
||
- Set the UUID of a swap area (you can generate a UUID using `uuidgen`): | ||
|
||
`swaplabel --uuid {{new_uuid}} {{path/to/file}}` |
Oops, something went wrong.