Update cheatsheets

This commit is contained in:
ivuorinen
2024-09-07 00:15:45 +00:00
parent 797d626b21
commit 72cd9d9e94
4 changed files with 107 additions and 0 deletions

25
tldr/hugo-server Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# hugo server
> Build and serve a site with Hugo's built-in webserver.
> More information: <https://gohugo.io/commands/hugo_server/>.
- Build and serve a site:
`hugo server`
- Build and serve a site on a specified port number:
`hugo server --port {{port_number}}`
- Build and serve a site while minifying supported output formats (HTML, XML, etc.):
`hugo server --minify`
- Display help:
`hugo server --help`

38
tldr/linux/deb-get Normal file
View File

@@ -0,0 +1,38 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# deb-get
> `apt-get` functionality for `.deb` packages published in third party repositories or via direct download.
> Works with Linux distributions which use `apt-get`.
> More information: <https://github.com/wimpysworld/deb-get>.
- Update the list of available packages and versions:
`deb-get update`
- Search for a given package:
`deb-get search {{package}}`
- Show information about a package:
`deb-get show {{package}}`
- Install a package, or update it to the latest available version:
`deb-get install {{package}}`
- Remove a package (using `purge` instead also removes its configuration files):
`deb-get remove {{package}}`
- Upgrade all installed packages to their newest available versions:
`deb-get upgrade`
- List all available packages:
`deb-get list`

23
tldr/linux/wofi Normal file
View File

@@ -0,0 +1,23 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# wofi
> An application launcher for wlroots-based Wayland compositors, similar to `rofi` and `dmenu`.
> More information: <https://hg.sr.ht/~scoopta/wofi>.
- Show the list of apps:
`wofi --show drun`
- Show the list of all commands:
`wofi --show run`
- Pipe a list of items to `stdin` and print the selected item to `stdout`:
`printf "{{Choice1
Choice2
Choice3}}" | wofi --dmenu`

21
tldr/pulumi-login Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pulumi login
> Log in to the Pulumi cloud.
> More information: <https://www.pulumi.com/docs/cli/commands/pulumi_login/>.
- Log in to the managed Pulumi Cloud backend, defaults to `app.pulumi.cloud`:
`pulumi login`
- Log in to a self-hosted Pulumi Cloud backend on a specified URL:
`pulumi login {{url}}`
- Use Pulumi locally, independent of a Pulumi Cloud:
`pulumi login {{-l|--local}}`