-
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
a6441e9
commit 8306368
Showing
47 changed files
with
604 additions
and
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# apkleaks | ||
|
||
> An APK file scanner for exposing URIs, endpoints, and secrets. | ||
> Note: APKLeaks utilizes the `jadx` disassembler to decompile APK files. | ||
> More information: <https://github.com/dwisiswant0/apkleaks>. | ||
- Scan an APK [f]ile for URIs, endpoints, and secrets: | ||
|
||
`apkleaks --file {{path/to/file.apk}}` | ||
|
||
- Scan and save the [o]utput to a specific file: | ||
|
||
`apkleaks --file {{path/to/file.apk}} --output {{path/to/output.txt}}` | ||
|
||
- Pass `jadx` disassembler [a]rguments: | ||
|
||
`apkleaks --file {{path/to/file.apk}} --args "{{--threads-count 5 --deobf}}"` |
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 @@ | ||
# archwiki-rs | ||
|
||
> Read, search and download pages from the ArchWiki. | ||
> More information: <https://gitlab.com/lucifayr/archwiki-rs>. | ||
- Read a page from the ArchWiki: | ||
|
||
`archwiki-rs read-page {{page_title}}` | ||
|
||
- Read a page from the ArchWiki in the specified format: | ||
|
||
`archwiki-rs read-page {{page_title}} --format {{plain-text|markdown|html}}` | ||
|
||
- Search the ArchWiki for pages containing the provided text: | ||
|
||
`archwiki-rs search "{{search_text}}" --text-search` | ||
|
||
- Download a local copy of all ArchWiki pages into a specific directory: | ||
|
||
`archwiki-rs local-wiki {{/path/to/local_wiki}} --format {{plain-text|markdown|html}}` |
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,33 @@ | ||
# cheatshh | ||
|
||
> CLI cheatsheet with customized descriptions, tldr and groups, to look into for your reference. | ||
> Press Enter to a command to copy it to your clipboard and exit. | ||
> More information: <https://github.com/AnirudhG07/cheatshh>. | ||
- [a]dd a new command to the cheatshheet: | ||
|
||
`cheatshh --add` | ||
|
||
- Edit ([ec]) an existing command's description or group in the cheatshheet: | ||
|
||
`cheatshh --edit-command` | ||
|
||
- Delete ([dc]) an existing command from the cheatshheet: | ||
|
||
`cheatshh --delete-command` | ||
|
||
- Create a new [g]roup: | ||
|
||
`cheatshh --group` | ||
|
||
- Edit ([eg]) an existing group's name or description in the cheatsheet: | ||
|
||
`cheatshh --edit-group` | ||
|
||
- Delete ([dg]) an existing group and it's sub commands from commands.json file: | ||
|
||
`cheatshh --delete-group` | ||
|
||
- Display [m]an pages after tldr in the preview: | ||
|
||
`cheatshh --man` |
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,29 @@ | ||
# d2 | ||
|
||
> A modern diagram scripting language that turns text to diagrams. | ||
> Note: the output file supports SVG and PNG file formats. | ||
> More information: <https://d2lang.com/tour/man>. | ||
- Compile and render a D2 source file into an output file: | ||
|
||
`d2 {{path/to/input_file.d2}} {{path/to/output_file.ext}}` | ||
|
||
- [w]atch live changes made to a D2 source file in the default web browser: | ||
|
||
`d2 --watch {{path/to/input_file.d2}} {{path/to/output_file.ext}}` | ||
|
||
- Format a D2 source file: | ||
|
||
`d2 fmt {{path/to/input_file.d2}}` | ||
|
||
- List available themes: | ||
|
||
`d2 themes` | ||
|
||
- Use a different [t]heme for the output file (list available themes first to get the desired `theme_id`): | ||
|
||
`d2 --theme {{theme_id}} {{path/to/input_file.d2}} {{path/to/output_file.ext}}` | ||
|
||
- Make rendered diagrams look like hand [s]ketches: | ||
|
||
`d2 --sketch true {{path/to/input_file.d2}} {{path/to/output_file.ext}}` |
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,36 @@ | ||
# gleam | ||
|
||
> The compiler, build tool, package manager and code formatter for Gleam, "a friendly language for building type-safe systems that scale!". | ||
> More information: <https://gleam.run/writing-gleam/command-line-reference/>. | ||
- Create a new gleam project: | ||
|
||
`gleam new {{project_name}}` | ||
|
||
- Build and run a gleam project: | ||
|
||
`gleam run` | ||
|
||
- Build the project: | ||
|
||
`gleam build` | ||
|
||
- Run a project for a particular platform and runtime: | ||
|
||
`gleam run --target {{platform}} --runtime {{runtime}}` | ||
|
||
- Add a hex dependency to your project: | ||
|
||
`gleam add {{dependency_name}}` | ||
|
||
- Run project tests: | ||
|
||
`gleam test` | ||
|
||
- Format source code: | ||
|
||
`gleam format` | ||
|
||
- Type check the project: | ||
|
||
`gleam check` |
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,8 +1,8 @@ | ||
# icontopbm | ||
|
||
> This command is superseded by `sunicontopbm`. | ||
> This command is superseded by `sunicontopnm`. | ||
> More information: <https://netpbm.sourceforge.net/doc/icontopbm.html>. | ||
- View documentation for the current command: | ||
|
||
`tldr sunicontopbm` | ||
`tldr sunicontopnm` |
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,29 @@ | ||
# immich-cli | ||
|
||
> Immich has a command line interface (CLI) that allows you to perform certain actions from the command line. | ||
> See also: `immich-go`. | ||
> More information: <https://immich.app/docs/features/command-line-interface/>. | ||
- Authenticate to Immich server: | ||
|
||
`immich login {{server_url/api}} {{server_key}}` | ||
|
||
- Upload some image files: | ||
|
||
`immich upload {{file1.jpg file2.jpg}}` | ||
|
||
- Upload a directory including subdirectories: | ||
|
||
`immich upload --recursive {{path/to/directory}}` | ||
|
||
- Create an album based on a directory: | ||
|
||
`immich upload --album-name "{{My summer holiday}}" --recursive {{path/to/directory}}` | ||
|
||
- Skip assets matching a glob pattern: | ||
|
||
`immich upload --ignore {{**/Raw/** **/*.tif}} --recursive {{path/to/directory}}` | ||
|
||
- Include hidden files: | ||
|
||
`immich upload --include-hidden --recursive {{path/to/directory}}` |
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,25 @@ | ||
# immich-go | ||
|
||
> Immich-Go is an open-source tool designed to streamline uploading large photo collections to your self-hosted Immich server. | ||
> See also: `immich-cli`. | ||
> More information: <https://github.com/simulot/immich-go>. | ||
- Upload a Google Photos takeout file to Immich server: | ||
|
||
`immich-go -server={{server_url}} -key={{server_key}} upload {{path/to/takeout_file.zip}}` | ||
|
||
- Import photos captured on June 2019, while auto-generating albums: | ||
|
||
`immich-go -server={{server_url}} -key={{server_key}} upload -create-albums -google-photos -date={{2019-06}} {{path/to/takeout_file.zip}}` | ||
|
||
- Upload a takeout file using server and key from a config file: | ||
|
||
`immich-go -use-configuration={{~/.immich-go/immich-go.json}} upload {{path/to/takeout_file.zip}}` | ||
|
||
- Examine Immich server content, remove less quality images, and preserve albums: | ||
|
||
`immich-go -server={{server_url}} -key={{server_key}} duplicate -yes` | ||
|
||
- Delete all albums created with the pattern "YYYY-MM-DD": | ||
|
||
`immich-go -server={{server_url}} -key={{server_key}} tool album delete {{\d{4}-\d{2}-\d{2}}}` |
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,12 +1,32 @@ | ||
# ipcs | ||
|
||
> Display information about resources used in IPC (Inter-process Communication). | ||
> More information: <https://manned.org/ipcs>. | ||
> Show information about the usage of XSI IPC facilities: shared memory segments, message queues, and semaphore arrays. | ||
> More information: <https://manned.org/ipcs.1p>. | ||
- Specific information about the Message Queue which has the ID 32768: | ||
- Show information about all the IPC: | ||
|
||
`ipcs -qi 32768` | ||
`ipcs -a` | ||
|
||
- General information about all the IPC: | ||
- Show information about active shared [m]emory segments, message [q]ueues or [s]empahore sets: | ||
|
||
`ipcs -a` | ||
`ipcs {{-m|-q|-s}}` | ||
|
||
- Show information on maximum allowable size in [b]ytes: | ||
|
||
`ipcs -b` | ||
|
||
- Show [c]reator’s user name and group name for all IPC facilities: | ||
|
||
`ipcs -c` | ||
|
||
- Show the [p]ID of the last operators for all IPC facilities: | ||
|
||
`ipcs -p` | ||
|
||
- Show access [t]imes for all IPC facilities: | ||
|
||
`ipcs -t` | ||
|
||
- Show [o]utstanding usage for active message queues, and shared memory segments: | ||
|
||
`ipcs -o` |
File renamed without changes.
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,29 @@ | ||
# lsar | ||
|
||
> List an archive file's contents. | ||
> See also: `unar`, `ar`. | ||
> More information: <https://manned.org/lsar>. | ||
- List an archive file's contents: | ||
|
||
`lsar {{path/to/archive}}` | ||
|
||
- List a password protected archive file's contents: | ||
|
||
`lsar {{path/to/archive}} --password {{password}}` | ||
|
||
- Print al[L] available information about each file in the archive (it's very long): | ||
|
||
`lsar {{-L|--verylong}} {{path/to/archive}}` | ||
|
||
- Test the integrity of the files in the archive (if possible): | ||
|
||
`lsar --test {{path/to/archive}}` | ||
|
||
- List the archive file's contents in JSON format: | ||
|
||
`lsar --json {{path/to/archive}}` | ||
|
||
- Display help: | ||
|
||
`lsar --help` |
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 @@ | ||
# lstopo | ||
|
||
> Show the hardware topology of the system. | ||
> More information: <https://manned.org/lstopo>. | ||
- Show the summarized system topology in a graphical window (or print to console if no graphical display is available): | ||
|
||
`lstopo` | ||
|
||
- Show the full system topology without summarizations: | ||
|
||
`lstopo --no-factorize` | ||
|
||
- Show the summarized system topology with only [p]hysical indices (i.e. as seen by the OS): | ||
|
||
`lstopo --physical` | ||
|
||
- Write the full system topology to a file in the specified format: | ||
|
||
`lstopo --no-factorize --output-format {{console|ascii|tex|fig|svg|pdf|ps|png|xml}} {{path/to/file}}` | ||
|
||
- Output in monochrome or greyscale: | ||
|
||
`lstopo --palette {{none|grey}}` |
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.