From c97d225ae0d0208de884ddb8d8c63faa5f1bcb54 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Thu, 5 Feb 2026 00:27:50 +0000 Subject: [PATCH] Update cheatsheets --- tldr/dos/ren | 13 +++++++++++++ tldr/dos/rescan | 13 +++++++++++++ tldr/dos/set | 13 +++++++++++++ tldr/dos/type | 13 +++++++++++++ tldr/dos/ver | 13 +++++++++++++ tldr/ng-new | 37 +++++++++++++++++++++++++++++++++++++ tldr/noseyparker | 39 +++++++++++++++++++++++++++++++++++++++ tldr/osv-scanner | 2 +- tldr/run-help | 22 ++++++++++++++++++++++ 9 files changed, 164 insertions(+), 1 deletion(-) create mode 100644 tldr/dos/ren create mode 100644 tldr/dos/rescan create mode 100644 tldr/dos/set create mode 100644 tldr/dos/type create mode 100644 tldr/dos/ver create mode 100644 tldr/ng-new create mode 100644 tldr/noseyparker create mode 100644 tldr/run-help diff --git a/tldr/dos/ren b/tldr/dos/ren new file mode 100644 index 00000000..88826ec1 --- /dev/null +++ b/tldr/dos/ren @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# REN + +> Rename files (use for moving too). +> More information: . + +- Rename file: + +`REN {{path/to/file}} {{new_name}}` diff --git a/tldr/dos/rescan b/tldr/dos/rescan new file mode 100644 index 00000000..8b6dc121 --- /dev/null +++ b/tldr/dos/rescan @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# RESCAN + +> Refresh mounted drives (like CTRL-F4). +> More information: . + +- Refresh mounted drives: + +`RESCAN` diff --git a/tldr/dos/set b/tldr/dos/set new file mode 100644 index 00000000..665c12df --- /dev/null +++ b/tldr/dos/set @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# SET + +> Set/display environment variables. +> More information: . + +- Set variable: + +`SET {{VAR}}={{value}}` diff --git a/tldr/dos/type b/tldr/dos/type new file mode 100644 index 00000000..2cc7fdf8 --- /dev/null +++ b/tldr/dos/type @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# TYPE + +> Display the contents of a text file. +> More information: . + +- Show file: + +`TYPE {{path/to/file.txt}}` diff --git a/tldr/dos/ver b/tldr/dos/ver new file mode 100644 index 00000000..5bea6e3f --- /dev/null +++ b/tldr/dos/ver @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, dos] +source: https://github.com/tldr-pages/tldr.git +--- +# VER + +> View/set reported DOS version. +> More information: . + +- Set version: + +`VER set {{major_version}} {{minor_version}}` diff --git a/tldr/ng-new b/tldr/ng-new new file mode 100644 index 00000000..68dc05d1 --- /dev/null +++ b/tldr/ng-new @@ -0,0 +1,37 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# ng new + +> Create and initialize a new Angular application. +> More information: . + +- Create a new Angular application: + +`ng {{[n|new]}} {{app_name}}` + +- Preview the actions without creating files: + +`ng {{[n|new]}} {{app_name}} {{[-d|--dry-run]}}` + +- Skip generating unit test (`spec.ts`) files: + +`ng {{[n|new]}} {{app_name}} {{[-S|--skip-tests]}}` + +- Skip automatic package installation: + +`ng {{[n|new]}} {{app_name}} --skip-install` + +- Skip Git repository initialization: + +`ng {{[n|new]}} {{app_name}} {{[-g|--skip-git]}}` + +- Configure AI tooling for the project: + +`ng {{[n|new]}} {{app_name}} --ai-config {{claude|copilot|cursor|gemini|jetbrains|none|windsurf}}` + +- Disable interactive prompts: + +`ng {{[n|new]}} {{app_name}} --interactive false` diff --git a/tldr/noseyparker b/tldr/noseyparker new file mode 100644 index 00000000..b8cd7c17 --- /dev/null +++ b/tldr/noseyparker @@ -0,0 +1,39 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# noseyparker + +> Scan text and Git history for secrets and sensitive information. +> Note: Use a separate datastore directory (`--datastore`) for each scan. +> See also: `trufflehog`. +> More information: . + +- Scan a local file or directory for secrets: + +`noseyparker scan {{path/to/file_or_directory}} {{[-d|--datastore]}} {{path/to/datastore.np}}` + +- Show a report from a previous scan: + +`noseyparker report {{[-d|--datastore]}} {{path/to/datastore.np}}` + +- Show a report in different format (default is `human`): + +`noseyparker report {{[-d|--datastore]}} {{path/to/datastore.np}} {{[-f|--format]}} {{human|json|jsonl|sarif}}` + +- Scan a remote Git repo (and Git history) for secrets: + +`noseyparker scan --git-url {{URL}} {{[-d|--datastore]}} {{path/to/datastore.np}}` + +- Scan all GitHub repositories of a user or organization for secrets: + +`noseyparker scan {{--github-user|--github-organization}} {{username_or_org_name}} {{[-d|--datastore]}} {{path/to/datastore.np}}` + +- List all scan rules: + +`noseyparker rules list` + +- List all GitHub repositories of a user or organization: + +`noseyparker github repos list {{--user|--organization}} {{username_or_org_name}}` diff --git a/tldr/osv-scanner b/tldr/osv-scanner index d27fca97..edee2834 100644 --- a/tldr/osv-scanner +++ b/tldr/osv-scanner @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # osv-scanner > Scan various mediums for dependencies and matches them against the OSV database. -> More information: . +> More information: . - Scan a Docker image: diff --git a/tldr/run-help b/tldr/run-help new file mode 100644 index 00000000..2b3f8246 --- /dev/null +++ b/tldr/run-help @@ -0,0 +1,22 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# run-help + +> Get instructions for Zsh commands. +> Note: This command is an alias of `man` by default. +> More information: . + +- Activate Zsh's `run-help`, which adds instructions for Zsh built-ins: + +`unalias run-help && autoload run-help` + +- Display all Zsh-specific topics: + +`run-help` + +- Display help for a command: + +`run-help {{command}}`