Update cheatsheets

This commit is contained in:
ivuorinen
2024-05-23 00:13:58 +00:00
parent ae53e48342
commit 9e6047a02d
15 changed files with 43 additions and 12 deletions

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# bru
> CLI for Bruno, an Opensource IDE for exploring and testing APIs.
> More information: <https://docs.usebruno.com/cli/overview.html>.
> More information: <https://docs.usebruno.com/bru-cli/overview>.
- Run all request files from the current directory:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Command-line interface to the Haskell package infrastructure (Cabal).
> Manage Haskell projects and Cabal packages from the Hackage package repository.
> More information: <https://cabal.readthedocs.io/en/latest/intro.html>.
> More information: <https://cabal.readthedocs.io/en/latest/getting-started.html>.
- Search and list packages from Hackage:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> A barebone deezer downloader library built from the ashes of Deezloader Remix.
> It can be used as a standalone CLI app or implemented in a UI using the API.
> More information: <https://deemix.app>.
> More information: <https://gitlab.com/RemixDev/deemix-py>.
- Download a track or playlist:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# docker-machine
> Create and manage machines running Docker.
> More information: <https://docs.docker.com/machine/reference/>.
> More information: <https://github.com/docker/machine>.
- List currently running Docker machines:

22
tldr/dotnet-test Normal file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# dotnet test
> Execute tests for a .NET application.
> Note: View <https://learn.microsoft.com/en-us/dotnet/core/testing/selective-unit-tests> for supported filter expressions.
> More information: <https://learn.microsoft.com/dotnet/core/tools/dotnet-test>.
- Execute tests for a .NET project/solution in the current directory:
`dotnet test`
- Execute tests for a .NET project/solution in a specific location:
`dotnet test {{path/to/project_or_solution}}`
- Execute tests matching the given filter expression:
`dotnet test --filter {{Name~TestMethod1}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gcloud info
> Display information about the current `gcloud` environment.
> More information: <https://cloud.google.com/sdk/gcloud/reference/topic/info>.
> More information: <https://cloud.google.com/sdk/gcloud/reference/info>.
- Display `gcloud` environment information:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# golangci-lint
> Parallelized, smart and fast Go linters runner that integrates with all major IDEs and supports YAML configuration.
> More information: <https://golangci-lint.run/usage/quick-start/>.
> More information: <https://golangci-lint.run/welcome/quick-start/>.
- Run linters in the current folder:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hub browse
> Open a GitHub repository in the browser or print the URL.
> More information: <https://cli.github.com/manual/hub_browse>.
> More information: <https://hub.github.com/hub-browse.1.html>.
- Open the homepage of the current repository in the default web browser:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Check internet-drafts for submission nits.
> Looks for violations of Section 2.1 and 2.2 of the requirements listed on <https://www.ietf.org/id-info/checklist>.
> More information: <https://tools.ietf.org/tools/idnits/>.
> More information: <https://github.com/ietf-tools/idnits>.
- Check a file for nits:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jdupes
> A powerful duplicate file finder and an enhanced fork of fdupes.
> More information: <https://github.com/jbruchon/jdupes>.
> More information: <https://codeberg.org/jbruchon/jdupes>.
- Search a single directory:

View File

@@ -31,3 +31,7 @@ source: https://github.com/tldr-pages/tldr.git
- Set the brightness for LVDS1 to 50%:
`xrandr --output {{LVDS1}} --brightness {{0.5}}`
- Display the current state of any X server:
`xrandr --display :{{0}} --query`

View File

@@ -27,3 +27,7 @@ source: https://github.com/tldr-pages/tldr.git
- Enable DPMS (Energy Star) features:
`xset +dpms`
- Query information on any X server:
`xset -display :{{0}} q`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# nf-core
> The nf-core framework tools, to create, check and develop best-practice guidelines for Nextflow.
> More information: <https://nf-co.re/tools>.
> More information: <https://nf-co.re/docs/nf-core-tools>.
- List existing pipelines on nf-core:

View File

@@ -6,7 +6,8 @@ source: https://github.com/tldr-pages/tldr.git
# pnpx
> Directly execute binaries from npm packages, using `pnpm` instead of `npm`.
> More information: <https://pnpm.io/pnpx-cli>.
> Note: This command is deprecated! Use `pnpm exec` and `pnpm dlx` instead.
> More information: <https://web.archive.org/web/20220117192755/https://pnpm.io/pnpx-cli>.
- Execute the binary from a given npm module:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qemu-img
> Create and manipulate Quick Emulator Virtual HDD images.
> More information: <https://qemu.readthedocs.io/en/latest/tools/qemu-img.html>.
> More information: <https://qemu.readthedocs.io/en/master/tools/qemu-img.html>.
- Create disk image with a specific size (in gigabytes):