mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-08 17:46:08 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/hugo-server
Normal file
25
tldr/hugo-server
Normal 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
38
tldr/linux/deb-get
Normal 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
23
tldr/linux/wofi
Normal 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
21
tldr/pulumi-login
Normal 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}}`
|
||||
Reference in New Issue
Block a user