mirror of https://github.com/CrimsonTome/tldr.git
autopep8, openssl-req, safe, sn, lvm: fix typo (#5719)
parent
3815dd2178
commit
25a8f14863
|
@ -3,7 +3,7 @@
|
|||
> Format Python code according to the PEP 8 style guide.
|
||||
> More information: <https://github.com/hhatto/autopep8>.
|
||||
|
||||
- Format a file to stdout, with a custom maximium line length:
|
||||
- Format a file to stdout, with a custom maximum line length:
|
||||
|
||||
`autopep8 {{path/to/file.py}} --max-line-length {{length}}`
|
||||
|
||||
|
|
|
@ -7,6 +7,6 @@
|
|||
|
||||
`openssl req -new -sha256 -key {{filename.key}} -out {{filename.csr}}`
|
||||
|
||||
- Generate a self-signed certificate and a corresponding keypair, storing both in a file:
|
||||
- Generate a self-signed certificate and a corresponding key-pair, storing both in a file:
|
||||
|
||||
`openssl req -new -x509 -newkey {{rsa}}:{{4096}} -keyout {{filename.key}} -out {{filename.cert}} -subj "{{/C=XX/CN=foobar}}" -days {{365}}`
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
`safe move {{old/path/to/secret}} {{new/path/to/secret}}`
|
||||
|
||||
- Generate a new 2048-bit SSH keypair and store it:
|
||||
- Generate a new 2048-bit SSH key-pair and store it:
|
||||
|
||||
`safe ssh {{2048}} {{path/to/secret}}`
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
- Re-sign an assembly with the specified private key:
|
||||
|
||||
`sn -R {{path/to/assembly.dll}} {{path/to/keypair.snk}}`
|
||||
`sn -R {{path/to/assembly.dll}} {{path/to/key_pair.snk}}`
|
||||
|
||||
- Show the public key of the private key that was used to sign an assembly:
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
`sudo lvm pvcreate {{/dev/sdXY}}`
|
||||
|
||||
- Display information about physcial volumes:
|
||||
- Display information about physical volumes:
|
||||
|
||||
`sudo lvm pvdisplay`
|
||||
|
||||
|
|
Loading…
Reference in New Issue