From 72cd9d9e9495a7a4322a87bd208e2888a209e1e0 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Sat, 7 Sep 2024 00:15:45 +0000 Subject: [PATCH] Update cheatsheets --- tldr/hugo-server | 25 +++++++++++++++++++++++++ tldr/linux/deb-get | 38 ++++++++++++++++++++++++++++++++++++++ tldr/linux/wofi | 23 +++++++++++++++++++++++ tldr/pulumi-login | 21 +++++++++++++++++++++ 4 files changed, 107 insertions(+) create mode 100644 tldr/hugo-server create mode 100644 tldr/linux/deb-get create mode 100644 tldr/linux/wofi create mode 100644 tldr/pulumi-login diff --git a/tldr/hugo-server b/tldr/hugo-server new file mode 100644 index 00000000..645e6144 --- /dev/null +++ b/tldr/hugo-server @@ -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: . + +- 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` diff --git a/tldr/linux/deb-get b/tldr/linux/deb-get new file mode 100644 index 00000000..4bd778ca --- /dev/null +++ b/tldr/linux/deb-get @@ -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: . + +- 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` diff --git a/tldr/linux/wofi b/tldr/linux/wofi new file mode 100644 index 00000000..a6cda999 --- /dev/null +++ b/tldr/linux/wofi @@ -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: . + +- 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` diff --git a/tldr/pulumi-login b/tldr/pulumi-login new file mode 100644 index 00000000..c2fe2c33 --- /dev/null +++ b/tldr/pulumi-login @@ -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: . + +- 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}}`