mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-08 01:45:55 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# couchdb
|
||||
|
||||
> Command-line interface for Apache CouchDB database server.
|
||||
> More information: <https://couchdb.apache.org>.
|
||||
> More information: <https://manned.org/couchdb>.
|
||||
|
||||
- Start CouchDB:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# decaffeinate
|
||||
|
||||
> Move your CoffeeScript source to modern JavaScript.
|
||||
> More information: <https://decaffeinate-project.org>.
|
||||
> More information: <https://www.npmjs.com/package/decaffeinate#common-options>.
|
||||
|
||||
- Convert a CoffeeScript file to JavaScript:
|
||||
|
||||
|
||||
2
tldr/dep
2
tldr/dep
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Deploy PHP applications.
|
||||
> Note: The Go command `dep` with the same name is deprecated and archived.
|
||||
> More information: <https://deployer.org>.
|
||||
> More information: <https://deployer.org/docs/8.x/cli>.
|
||||
|
||||
- Interactively initialize deployer in the local path (use a framework template with `--template=template`):
|
||||
|
||||
|
||||
@@ -7,7 +7,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Generate boilerplate code, interact with and debug Drupal projects.
|
||||
> Some subcommands such as `check` have their own usage documentation.
|
||||
> More information: <https://drupalconsole.com/>.
|
||||
> `drupal` has been deprecated. Use `drush` instead.
|
||||
> More information: <https://drupalize.me/topic/drupal-console>.
|
||||
|
||||
- Install a module:
|
||||
|
||||
|
||||
2
tldr/elm
2
tldr/elm
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# elm
|
||||
|
||||
> Compile and run Elm source files.
|
||||
> More information: <https://elm-lang.org>.
|
||||
> More information: <https://guide.elm-lang.org/install/elm.html>.
|
||||
|
||||
- Initialize an Elm project, generates an elm.json file:
|
||||
|
||||
|
||||
2
tldr/erl
2
tldr/erl
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# erl
|
||||
|
||||
> Run and manage programs in the Erlang programming language.
|
||||
> More information: <https://www.erlang.org>.
|
||||
> More information: <https://erlang.org/documentation/doc-16.0/erts-16.0/doc/html/erl_cmd.html>.
|
||||
|
||||
- Compile and run sequential Erlang program as a common script and then exit:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# etcd
|
||||
|
||||
> A distributed, reliable key-value store for the most critical data of a distributed system.
|
||||
> More information: <https://etcd.io>.
|
||||
> More information: <https://etcd.io/docs/latest/op-guide/configuration/#command-line-flags>.
|
||||
|
||||
- Start a single-node etcd cluster:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ghost
|
||||
|
||||
> A blogging platform and headless CMS.
|
||||
> More information: <https://ghost.org>.
|
||||
> More information: <https://docs.ghost.org/ghost-cli>.
|
||||
|
||||
- Install Ghost in the current directory:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# gitstats
|
||||
|
||||
> Git repository statistics generator.
|
||||
> More information: <https://gitstats.sourceforge.net>.
|
||||
> More information: <https://gitstats.readthedocs.io/en/latest/usage.html>.
|
||||
|
||||
- Generate statistics for a local repository:
|
||||
|
||||
@@ -15,3 +15,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- View generated statistics in a web browser on Windows (PowerShell)/macOS/Linux:
|
||||
|
||||
`{{Invoke-Item|open|xdg-open}} {{path/to/output_folder/index.html}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`gitstats {{[-h|--help]}}`
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> A fast network scanner designed to be simple to use.
|
||||
> Also known as Angry IP Scanner.
|
||||
> More information: <https://angryip.org/>.
|
||||
> More information: <https://www.aldeid.com/wiki/Angry-IPScan#CLI>.
|
||||
|
||||
- Scan a specific IP address:
|
||||
|
||||
|
||||
10
tldr/jmeter
10
tldr/jmeter
@@ -6,20 +6,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# jmeter
|
||||
|
||||
> Open source Java application designed for load testing functional behavior and measure performance.
|
||||
> More information: <https://jmeter.apache.org>.
|
||||
> More information: <https://jmeter.apache.org/usermanual/get-started.html#options>.
|
||||
|
||||
- Run a specific test plan in nongui mode:
|
||||
|
||||
`jmeter --nongui --testfile {{path/to/file.jmx}}`
|
||||
`jmeter {{[-n|--nongui]}} {{[-t|--testfile]}} {{path/to/file.jmx}}`
|
||||
|
||||
- Run a test plan in nongui mode using a specific log file:
|
||||
|
||||
`jmeter --nogui --testfile {{path/to/file.jmx}} --logfile {{path/to/logfile.jtl}}`
|
||||
`jmeter {{[-n|--nongui]}} {{[-t|--testfile]}} {{path/to/file.jmx}} {{[-l|--logfile]}} {{path/to/logfile.jtl}}`
|
||||
|
||||
- Run a test plan in nongui mode using a specific proxy:
|
||||
|
||||
`jmeter --nongui --testfile {{path/to/file.jmx}} --proxyHost {{127.0.0.1}} --proxyPort {{8888}}`
|
||||
`jmeter {{[-n|--nongui]}} {{[-t|--testfile]}} {{path/to/file.jmx}} {{[-H-|--proxyHost]}} {{127.0.0.1}} {{[-P|--proxyPort]}} {{8888}}`
|
||||
|
||||
- Run a test plan in nongui mode using a specific JMeter property:
|
||||
|
||||
`jmeter --jmeterproperty {{key}}='{{value}}' --nongui --testfile {{path/to/file.jmx}}`
|
||||
`jmeter {{[-n|--nongui]}} {{[-t|--testfile]}} {{path/to/file.jmx}} {{[-J|--jmeterproperty]}} {{key}}='{{value}}'`
|
||||
|
||||
4
tldr/k3d
4
tldr/k3d
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# k3d
|
||||
|
||||
> A wrapper to easily create k3s clusters inside Docker.
|
||||
> More information: <https://k3d.io>.
|
||||
> More information: <https://k3d.io/stable/usage/commands/>.
|
||||
|
||||
- Create a cluster:
|
||||
|
||||
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Import an image from Docker into a k3d cluster:
|
||||
|
||||
`k3d image import {{image_name}} --cluster {{cluster_name}}`
|
||||
`k3d image import {{image_name}} {{[-c|--cluster]}} {{cluster_name}}`
|
||||
|
||||
- Create a new registry:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Code generation tool provided by the Go RPC framework Kitex.
|
||||
> Kitex accepts both thrift and protobuf IDLs, and supports generating a skeleton of a server side project.
|
||||
> More information: <https://www.cloudwego.io>.
|
||||
> More information: <https://www.cloudwego.io/docs/kitex/tutorials/code-gen/code_generation/#generate-code>.
|
||||
|
||||
- Generate client codes when a project is in `$GOPATH`:
|
||||
|
||||
|
||||
@@ -6,20 +6,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# kosmorro
|
||||
|
||||
> Compute the ephemerides and the events for a date at a position on Earth.
|
||||
> More information: <https://kosmorro.space>.
|
||||
> More information: <https://github.com/Kosmorro/kosmorro/blob/master/manpage/kosmorro.1.md>.
|
||||
|
||||
- Get ephemerides for Paris, France:
|
||||
|
||||
`kosmorro --latitude={{48.7996}} --longitude={{2.3511}}`
|
||||
`kosmorro {{[-la|--latitude]}} 48.7996 {{[-lo|--longitude]}} 2.3511`
|
||||
|
||||
- Get ephemerides for Paris, France, in the UTC+2 timezone:
|
||||
|
||||
`kosmorro --latitude={{48.7996}} --longitude={{2.3511}} --timezone={{2}}`
|
||||
`kosmorro {{[-la|--latitude]}} 48.7996 {{[-lo|--longitude]}} 2.3511 {{[-t|--timezone]}} 2`
|
||||
|
||||
- Get ephemerides for Paris, France, on June 9th, 2020:
|
||||
|
||||
`kosmorro --latitude={{48.7996}} --longitude={{2.3511}} --date={{2020-06-09}}`
|
||||
`kosmorro {{[-la|--latitude]}} 48.7996 {{[-lo|--longitude]}} 2.3511 {{[-d|--date]}} 2020-06-09`
|
||||
|
||||
- Generate a PDF (Note: TeXLive must be installed):
|
||||
|
||||
`kosmorro --format={{pdf}} --output={{path/to/file.pdf}}`
|
||||
`kosmorro {{[-f|--format]}} pdf {{[-o|--output]}} {{path/to/file.pdf}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# kotlin
|
||||
|
||||
> Kotlin application launcher.
|
||||
> More information: <https://kotlinlang.org>.
|
||||
> More information: <https://kotlinlang.org/docs/command-line.html#compile-a-library>.
|
||||
|
||||
- Run a jar file:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# kotlinc
|
||||
|
||||
> Kotlin compiler.
|
||||
> More information: <https://kotlinlang.org/docs/command-line.html>.
|
||||
> More information: <https://kotlinlang.org/docs/compiler-reference.html#common-options>.
|
||||
|
||||
- Start a REPL (interactive shell):
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# latex
|
||||
|
||||
> Compile a DVI document from LaTeX source files.
|
||||
> More information: <https://www.latex-project.org>.
|
||||
> More information: <https://texdoc.org/serve/tex.man1.pdf/0>.
|
||||
|
||||
- Compile a DVI document:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# lein
|
||||
|
||||
> Manage Clojure projects with declarative configuration.
|
||||
> More information: <https://leiningen.org>.
|
||||
> More information: <https://manned.org/lein>.
|
||||
|
||||
- Generate scaffolding for a new project based on a template:
|
||||
|
||||
|
||||
25
tldr/linux/nft-monitor
Normal file
25
tldr/linux/nft-monitor
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# nft monitor
|
||||
|
||||
> Show real-time changes happening inside the Linux firewall `nftables`.
|
||||
> More information: <https://manned.org/nft#head21>.
|
||||
|
||||
- Monitor all nftables events:
|
||||
|
||||
`sudo nft monitor`
|
||||
|
||||
- Monitor only rule updates (add, delete, replace):
|
||||
|
||||
`sudo nft monitor rules`
|
||||
|
||||
- Monitor set and element updates:
|
||||
|
||||
`sudo nft monitor sets`
|
||||
|
||||
- Monitor events and print JSON output:
|
||||
|
||||
`sudo nft {{[-j|--json]}} monitor`
|
||||
17
tldr/linux/systemctl-kexec
Normal file
17
tldr/linux/systemctl-kexec
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl kexec
|
||||
|
||||
> Reboot the system via kexec.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#kexec>.
|
||||
|
||||
- Fast reboot using kexec (if kernel is pre-loaded):
|
||||
|
||||
`systemctl kexec`
|
||||
|
||||
- Force normal reboot even if kexec is available:
|
||||
|
||||
`systemctl kexec {{[-f|--force]}}`
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# lualatex
|
||||
|
||||
> An extended version of TeX using Lua to compile.
|
||||
> More information: <https://manned.org/lualatex.1>.
|
||||
> More information: <https://texdoc.org/serve/tex.man1.pdf/0>.
|
||||
|
||||
- Start `texlua` to act as a Lua interpreter:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mh_copyright
|
||||
|
||||
> Adjust copyright headers for MATLAB or Octave code.
|
||||
> More information: <https://misshit.org>.
|
||||
> More information: <https://florianschanda.github.io/miss_hit/copyright.html>.
|
||||
|
||||
- Update the year (range) to include the current year for the specified files:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mh_metric
|
||||
|
||||
> Calculate and enforce code metrics for MATLAB or Octave code.
|
||||
> More information: <https://florianschanda.github.io/miss_hit/cli.html>.
|
||||
> More information: <https://florianschanda.github.io/miss_hit/metrics.html>.
|
||||
|
||||
- Print the code metrics for the specified files:
|
||||
|
||||
|
||||
4
tldr/nu
4
tldr/nu
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Nushell ("a new type of shell") takes a modern, structured approach to your command-line.
|
||||
> See also: `elvish`.
|
||||
> More information: <https://www.nushell.sh>.
|
||||
> More information: <https://www.nushell.sh/book/configuration.html#flag-behavior>.
|
||||
|
||||
- Start an interactive shell session:
|
||||
|
||||
@@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Execute specific commands:
|
||||
|
||||
`nu --commands "{{echo 'nu is executed'}}"`
|
||||
`nu {{[-c|--commands]}} "{{echo 'nu is executed'}}"`
|
||||
|
||||
- Execute a specific script:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# nyxt
|
||||
|
||||
> A keyboard-driven web browser for power users.
|
||||
> More information: <https://nyxt.atlas.engineer>.
|
||||
> More information: <https://nyxt-browser.com/documentation>.
|
||||
|
||||
- List all profiles:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> OpenSSL cryptographic toolkit.
|
||||
> Some subcommands such as `req` have their own usage documentation.
|
||||
> More information: <https://www.openssl.org>.
|
||||
> More information: <https://docs.openssl.org/master/man1/openssl/>.
|
||||
|
||||
- Display help:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# php yii
|
||||
|
||||
> Yii Framework's command-line interface.
|
||||
> More information: <https://yiiframework.com>.
|
||||
> More information: <https://www.yiiframework.com/doc/guide/2.0/en/tutorial-console>.
|
||||
|
||||
- Start PHP's built-in web server for the current Yii application:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# phpize
|
||||
|
||||
> Prepare a PHP extension for compiling.
|
||||
> More information: <https://www.php.net/manual/install.pecl.phpize>.
|
||||
> More information: <https://manned.org/phpize>.
|
||||
|
||||
- Prepare the PHP extension in the current directory for compiling:
|
||||
|
||||
|
||||
12
tldr/postcss
12
tldr/postcss
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# postcss
|
||||
|
||||
> Transform styles with JS plugins.
|
||||
> More information: <https://postcss.org>.
|
||||
> More information: <https://github.com/postcss/postcss-cli#usage>.
|
||||
|
||||
- Parse and transform a CSS file:
|
||||
|
||||
@@ -14,15 +14,15 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Parse and transform a CSS file and output to a specific file:
|
||||
|
||||
`postcss {{path/to/file}} --output {{path/to/file}}`
|
||||
`postcss {{path/to/file}} {{[-o|--output]}} {{path/to/file}}`
|
||||
|
||||
- Parse and transform a CSS file and output to a specific directory:
|
||||
|
||||
`postcss {{path/to/file}} --dir {{path/to/directory}}`
|
||||
`postcss {{path/to/file}} {{[-d|--dir]}} {{path/to/directory}}`
|
||||
|
||||
- Parse and transform a CSS file in-place:
|
||||
|
||||
`postcss {{path/to/file}} --replace`
|
||||
`postcss {{path/to/file}} {{[-r|--replace]}}`
|
||||
|
||||
- Specify a custom PostCSS parser:
|
||||
|
||||
@@ -34,8 +34,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Watch for changes to a CSS file:
|
||||
|
||||
`postcss {{path/to/file}} --watch`
|
||||
`postcss {{path/to/file}} {{[-w|--watch]}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`postcss --help`
|
||||
`postcss {{[-h|--help]}}`
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> PRQL compiler.
|
||||
> PRQL is a modern language for transforming data - a simple, powerful, pipelined SQL replacement.
|
||||
> More information: <https://prql-lang.org>.
|
||||
> More information: <https://prql-lang.org/book/project/integrations/prqlc-cli.html>.
|
||||
|
||||
- Run the compiler interactively:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# redis-server
|
||||
|
||||
> Persistent key-value database.
|
||||
> More information: <https://redis.io>.
|
||||
> More information: <https://redis.io/learn/operate/redis-at-scale/talking-to-redis/configuring-a-redis-server>.
|
||||
|
||||
- Start Redis server, using the default port (6379), and write logs to `stdout`:
|
||||
|
||||
|
||||
@@ -6,15 +6,15 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# scala
|
||||
|
||||
> Scala application launcher and interactive interpreter.
|
||||
> More information: <https://scala-lang.org>.
|
||||
> More information: <https://scala-cli.virtuslab.org/docs/reference/cli-options>.
|
||||
|
||||
- Start a REPL (interactive shell):
|
||||
|
||||
`scala`
|
||||
|
||||
- Start the interpreter with a dependency in the classpath:
|
||||
- Start the interpreter with a dependency in the [c]lass[p]ath:
|
||||
|
||||
`scala -classpath {{filename.jar}} {{command}}`
|
||||
`scala {{[-cp|--extra-jars]}} {{filename.jar}} {{command}}`
|
||||
|
||||
- Execute a Scala script:
|
||||
|
||||
@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Execute a single Scala command in the command-line:
|
||||
|
||||
`scala -e {{command}}`
|
||||
`scala {{[-e|--execute-script]}} {{command}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# standard
|
||||
|
||||
> The JavaScript Standard Style tool for linting and fixing JavaScript code.
|
||||
> More information: <https://standardjs.com>.
|
||||
> More information: <https://standardjs.com/#usage>.
|
||||
|
||||
- Lint all JavaScript source files in the current directory:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# swift
|
||||
|
||||
> Create, run and build Swift projects.
|
||||
> More information: <https://swift.org>.
|
||||
> More information: <https://manned.org/swiftc>.
|
||||
|
||||
- Start a REPL (interactive shell):
|
||||
|
||||
@@ -30,4 +30,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Compile project for release:
|
||||
|
||||
`swift build -c release`
|
||||
`swift build {{[-c|--configuration]}} {{debug|release}}`
|
||||
|
||||
14
tldr/tabula
14
tldr/tabula
@@ -6,28 +6,28 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# tabula
|
||||
|
||||
> Extract tables from PDF files.
|
||||
> More information: <https://tabula.technology>.
|
||||
> More information: <https://github.com/tabulapdf/tabula-java#commandline-usage-examples>.
|
||||
|
||||
- Extract all tables from a PDF to a CSV file:
|
||||
|
||||
`tabula -o {{file.csv}} {{file.pdf}}`
|
||||
`tabula {{[-o|--outfile]}} {{file.csv}} {{file.pdf}}`
|
||||
|
||||
- Extract all tables from a PDF to a JSON file:
|
||||
|
||||
`tabula --format JSON -o {{file.json}} {{file.pdf}}`
|
||||
`tabula {{[-f|--format]}} JSON {{[-o|--outfile]}} {{file.json}} {{file.pdf}}`
|
||||
|
||||
- Extract tables from pages 1, 2, 3, and 6 of a PDF:
|
||||
|
||||
`tabula --pages {{1-3,6}} {{file.pdf}}`
|
||||
`tabula {{[-p|--pages]}} 1-3,6 {{file.pdf}}`
|
||||
|
||||
- Extract tables from page 1 of a PDF, guessing which portion of the page to examine:
|
||||
|
||||
`tabula --guess --pages {{1}} {{file.pdf}}`
|
||||
`tabula {{[-g|--guess]}} {{[-p|--pages]}} 1 {{file.pdf}}`
|
||||
|
||||
- Extract all tables from a PDF, using ruling lines to determine cell boundaries:
|
||||
|
||||
`tabula --spreadsheet {{file.pdf}}`
|
||||
`tabula {{[-r|--spreadsheet]}} {{file.pdf}}`
|
||||
|
||||
- Extract all tables from a PDF, using blank space to determine cell boundaries:
|
||||
|
||||
`tabula --no-spreadsheet {{file.pdf}}`
|
||||
`tabula {{[-n|--no-spreadsheet]}} {{file.pdf}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# timidity
|
||||
|
||||
> Play and convert MIDI files.
|
||||
> More information: <https://timidity.sourceforge.net>.
|
||||
> More information: <https://manned.org/timidity>.
|
||||
|
||||
- Play a MIDI file:
|
||||
|
||||
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Play a MIDI file in a loop:
|
||||
|
||||
`timidity --loop {{path/to/file.mid}}`
|
||||
`timidity {{[--l|--loop]}} {{path/to/file.mid}}`
|
||||
|
||||
- Play a MIDI file in a specific key (0 = C major/A minor, -1 = F major/D minor, +1 = G major/E minor, etc.):
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# todo
|
||||
|
||||
> A simple, standards-based, cli todo manager.
|
||||
> More information: <https://todoman.readthedocs.io>.
|
||||
> More information: <https://todoman.readthedocs.io/en/stable/man.html>.
|
||||
|
||||
- List startable tasks:
|
||||
|
||||
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Add a new task to the work list:
|
||||
|
||||
`todo new {{thing_to_do}} --list {{work}}`
|
||||
`todo new {{thing_to_do}} {{[-l|--list]}} {{work}}`
|
||||
|
||||
- Add a location to a task with a given ID:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# virtualenvwrapper
|
||||
|
||||
> Group of simple wrapper commands for Python's `virtualenv` tool.
|
||||
> More information: <https://virtualenvwrapper.readthedocs.org>.
|
||||
> More information: <https://virtualenvwrapper.readthedocs.io/en/latest/command_ref.html>.
|
||||
|
||||
- Create a new Python `virtualenv` in `$WORKON_HOME`:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# webpack
|
||||
|
||||
> Bundle a web project's js files and other assets into a single output file.
|
||||
> More information: <https://webpack.js.org>.
|
||||
> More information: <https://webpack.js.org/api/cli/>.
|
||||
|
||||
- Create a single output file from an entry point file:
|
||||
|
||||
@@ -18,8 +18,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Pass a configuration file (with e.g. the entry script and the output filename) and show compilation progress:
|
||||
|
||||
`webpack --config {{webpack.config.js}} --progress`
|
||||
`webpack {{[-c|--config]}} {{webpack.config.js}} --progress`
|
||||
|
||||
- Automatically recompile on changes to project files:
|
||||
|
||||
`webpack --watch {{app.js}} {{bundle.js}}`
|
||||
`webpack {{[-w|--watch]}} {{app.js}} {{bundle.js}}`
|
||||
|
||||
Reference in New Issue
Block a user