mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 01:55:49 +00:00
Update cheatsheets
This commit is contained in:
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
> Client for the Open Asset Import Library.
|
> Client for the Open Asset Import Library.
|
||||||
> Supports loading of 40+ 3D file formats, and exporting to several popular 3D formats.
|
> Supports loading of 40+ 3D file formats, and exporting to several popular 3D formats.
|
||||||
> More information: <https://assimp-docs.readthedocs.io/>.
|
> More information: <https://manned.org/assimp>.
|
||||||
|
|
||||||
- List all supported import formats:
|
- List all supported import formats:
|
||||||
|
|
||||||
|
|||||||
33
tldr/distcc
Normal file
33
tldr/distcc
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, common]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# distcc
|
||||||
|
|
||||||
|
> Distributed C/C++/ObjC compilation client that works with `distccd`.
|
||||||
|
> More information: <https://manned.org/distcc>.
|
||||||
|
|
||||||
|
- Compile a source file using a compiler like `gcc`:
|
||||||
|
|
||||||
|
`distcc {{gcc}} -c {{path/to/source.c}} -o {{path/to/output.o}}`
|
||||||
|
|
||||||
|
- Set remote hosts to distribute compilation:
|
||||||
|
|
||||||
|
`export DISTCC_HOSTS="localhost {{ip1 ip2 ...}}"`
|
||||||
|
|
||||||
|
- Compile a project with `make` using `distcc`:
|
||||||
|
|
||||||
|
`make {{[-j|--jobs]}} {{parallel_jobs}} CC="distcc {{gcc}}"`
|
||||||
|
|
||||||
|
- Show the list of current `distcc` hosts:
|
||||||
|
|
||||||
|
`distcc --show-hosts`
|
||||||
|
|
||||||
|
- Display help:
|
||||||
|
|
||||||
|
`distcc --help`
|
||||||
|
|
||||||
|
- Display version:
|
||||||
|
|
||||||
|
`distcc --version`
|
||||||
@@ -12,14 +12,10 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
`grub-editenv /boot/grub/grubenv set default={{Ubuntu}}`
|
`grub-editenv /boot/grub/grubenv set default={{Ubuntu}}`
|
||||||
|
|
||||||
- Display the current value of the `timeout` variable:
|
- Display all GRUB environment variables:
|
||||||
|
|
||||||
`grub-editenv /boot/grub/grubenv list timeout`
|
`grub-editenv /boot/grub/grubenv list`
|
||||||
|
|
||||||
- Reset the `saved_entry` variable to the default:
|
- Reset the `saved_entry` variable to the default:
|
||||||
|
|
||||||
`grub-editenv /boot/grub/grubenv unset saved_entry`
|
`grub-editenv /boot/grub/grubenv unset saved_entry`
|
||||||
|
|
||||||
- Append "quiet splash" to the kernel command-line:
|
|
||||||
|
|
||||||
`grub-editenv /boot/grub/grubenv list kernel_cmdline`
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# nordvpn
|
# nordvpn
|
||||||
|
|
||||||
> Command-line interface for NordVPN.
|
> Command-line interface for NordVPN.
|
||||||
> More information: <https://nordvpn.com/download/linux/>.
|
> More information: <https://support.nordvpn.com/hc/en-us/articles/20196094470929-Installing-NordVPN-on-Linux-distributions>.
|
||||||
|
|
||||||
- Interactively log into a NordVPN account:
|
- Interactively log into a NordVPN account:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# lychee
|
# lychee
|
||||||
|
|
||||||
> Find broken URLs.
|
> Find broken URLs.
|
||||||
> More information: <https://lychee.cli.rs/usage/cli/>.
|
> More information: <https://github.com/lycheeverse/lychee/blob/master/README.md#commandline-usage>.
|
||||||
|
|
||||||
- Scan a website for broken links:
|
- Scan a website for broken links:
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
> Advanced client for MySQL, supporting SQL, JavaScript, and Python.
|
> Advanced client for MySQL, supporting SQL, JavaScript, and Python.
|
||||||
> It offers features for managing InnoDB clusters and document store collections.
|
> It offers features for managing InnoDB clusters and document store collections.
|
||||||
> More information: <https://dev.mysql.com/doc/mysql-shell/en/mysql-shell-commands.html>.
|
> More information: <https://manned.org/mysqlsh>.
|
||||||
|
|
||||||
- Start MySQL Shell in interactive mode:
|
- Start MySQL Shell in interactive mode:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# octave
|
# octave
|
||||||
|
|
||||||
> A programming language for scientific computing.
|
> A programming language for scientific computing.
|
||||||
> More information: <https://docs.octave.org/latest/Invoking-Octave-from-the-Command-Line.html>.
|
> More information: <https://docs.octave.org/latest/Command-Line-Options.html>.
|
||||||
|
|
||||||
- Start an interactive session:
|
- Start an interactive session:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# xsltproc
|
# xsltproc
|
||||||
|
|
||||||
> Transform XML with XSLT to produce output (usually HTML or XML).
|
> Transform XML with XSLT to produce output (usually HTML or XML).
|
||||||
> More information: <http://www.xmlsoft.org/xslt/xsltproc.html>.
|
> More information: <https://manned.org/xsltproc>.
|
||||||
|
|
||||||
- Transform an XML file with a specific XSLT stylesheet:
|
- Transform an XML file with a specific XSLT stylesheet:
|
||||||
|
|
||||||
|
|||||||
12
tldr/sudoedit
Normal file
12
tldr/sudoedit
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, common]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# sudoedit
|
||||||
|
|
||||||
|
> This command is an alias of `sudo --edit`.
|
||||||
|
|
||||||
|
- View documentation for the original command:
|
||||||
|
|
||||||
|
`tldr sudo`
|
||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# zbarimg
|
# zbarimg
|
||||||
|
|
||||||
> Scan and decode bar codes from image file(s).
|
> Scan and decode bar codes from image file(s).
|
||||||
> More information: <https://zbar.sourceforge.net>.
|
> More information: <https://manned.org/zbarimg>.
|
||||||
|
|
||||||
- Process an image file:
|
- Process an image file:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user