Fixed typos, titles and spacing

This commit is contained in:
Michele Cereda
2022-04-17 23:11:55 +02:00
parent 8a51f25964
commit af19baf99f
8 changed files with 16 additions and 16 deletions

View File

@@ -7,7 +7,7 @@
Change font to `NotoSansMono Nerd Font` in Platformio Ide Terminal's settings. Change font to `NotoSansMono Nerd Font` in Platformio Ide Terminal's settings.
See [Why Zsh terminal icons are not getting displayed in Atom Platformio Ide Terminal?] See [Why Zsh terminal icons are not getting displayed in Atom Platformio Ide Terminal?]
## Sources ## Further readings
- [Why Zsh terminal icons are not getting displayed in Atom Platformio Ide Terminal?] - [Why Zsh terminal icons are not getting displayed in Atom Platformio Ide Terminal?]

View File

@@ -26,13 +26,10 @@ command 1>/dev/null 2> >(grep -oP "(.*)(?=pattern)")
> Do note that **the target command of process substitution runs asynchronously**. > Do note that **the target command of process substitution runs asynchronously**.
> As a consequence, `stderr` lines that get through the grep filter may not appear at the place you would expect in the rest of the output, but even on your next command prompt. > As a consequence, `stderr` lines that get through the grep filter may not appear at the place you would expect in the rest of the output, but even on your next command prompt.
## See also
- Knowledge base on [grep]
## Further readings ## Further readings
- Answer on [StackExchange] about [how to grep the standard error stream] - Answer on [StackExchange] about [how to grep the standard error stream]
- Knowledge base on [grep]
[grep]: grep.md [grep]: grep.md

View File

@@ -8,7 +8,7 @@ grep 'pattern' path/to/search
# recursive search # recursive search
grep -R 'pattern' path/to/search/recursively grep -R 'pattern' path/to/search/recursively
grep -R --exclude-dir excluded/dir 'pattern' path/to/search/recursively # gnu grep >= 2.5.2 grep -R --exclude-dir excluded/dir 'pattern' path/to/search/recursively # gnu grep >= 2.5.2
# show line numbers # show line numbers
grep -n 'pattern' path/to/search grep -n 'pattern' path/to/search

View File

@@ -6,7 +6,7 @@
sudo mount -t cifs -o user=my-user //nas.local/shared_folder local_folder sudo mount -t cifs -o user=my-user //nas.local/shared_folder local_folder
``` ```
## Sources ## Further readings
- [Mounting samba shares from a unix client] - [Mounting samba shares from a unix client]

View File

@@ -38,7 +38,7 @@ opkg list-changed-conffiles
opkg depends dropbear opkg depends dropbear
``` ```
## Sources ## Further readings
- [Opkg package manager] - [Opkg package manager]

View File

@@ -7,8 +7,8 @@
pre-commit sample-config > .pre-commit-config.yaml pre-commit sample-config > .pre-commit-config.yaml
# manually run checks # manually run checks
pre-commit run --all-files # all checks pre-commit run --all-files # all checks
pre-commit run ansible-lint # ansible-lint only pre-commit run ansible-lint # ansible-lint only
# automatically run checks at every commit # automatically run checks at every commit
pre-commit install pre-commit install
@@ -22,12 +22,8 @@ SKIP=flake8 git commit -m "foo"
## Further readings ## Further readings
- Pre-commit's [website]
- List of [supported hooks] - List of [supported hooks]
[supported hooks]: https://pre-commit.com/hooks.html [supported hooks]: https://pre-commit.com/hooks.html
## Sources
- [Website]
[website]: https://pre-commit.com [website]: https://pre-commit.com

View File

@@ -0,0 +1,7 @@
# Rotate a PDF file
## Further readings
- [pdftk]
[pdftk]: pdftk.md#rotate-a-file

View File

@@ -9,7 +9,7 @@ brew install sponge # or moreutils
# append file content to the source file # append file content to the source file
cat path/to/file | sponge -a path/to/other/file cat path/to/file | sponge -a path/to/other/file
# remove all lines starting with # in a file: # remove all lines starting with "#" in a file
grep -v '^{{#}}' path/to/file | sponge path/to/other/file grep -v '^{{#}}' path/to/file | sponge path/to/other/file
``` ```