Separated further readings from sources

This commit is contained in:
Michele Cereda
2022-05-01 11:03:32 +02:00
parent 35cce39ed7
commit 10cac45a7d
24 changed files with 86 additions and 45 deletions

View File

@@ -31,8 +31,12 @@ op list items
## Further readings
- [CLI getting started] guide
- [CLI guide]
[cli getting started]: https://support.1password.com/command-line-getting-started/
[cli guide]: https://support.1password.com/command-line/
## Sources
- [CLI getting started] guide
[cli getting started]: https://support.1password.com/command-line-getting-started/

View File

@@ -23,7 +23,7 @@ setfacl -x u:dummy:rw test
setfacl -b test/declarations.h
```
## Further readings
## Sources
- [Access Control Lists (ACL) in Linux]

View File

@@ -7,7 +7,7 @@
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?]
## Further readings
## Sources
- [Why Zsh terminal icons are not getting displayed in Atom Platformio Ide Terminal?]

View File

@@ -14,7 +14,11 @@ pkexec COMMAND
## Further readings
- [pkexec]
- [How to get gui sudo password prompt without command line]
[pkexec]: pkexec.md
## Sources
- [How to get gui sudo password prompt without command line]
[how to get gui sudo password prompt without command line]: https://askubuntu.com/questions/515292/how-to-get-gui-sudo-password-prompt-without-command-line

View File

@@ -36,7 +36,7 @@ Default output format [None]: json
$ export AWS_PROFILE="work"
```
## Further readings
## Sources
- CLI [quickstart]
- [Configure profiles] in the CLI

View File

@@ -36,7 +36,7 @@ az acr helm push -n acr-name chart.tgz --force
export AZURE_CLI_DISABLE_CONNECTION_VERIFICATION=1
```
## Further readings
## Sources
- [Install Azure CLI on macOS]
- [Get started with Azure CLI]

View File

@@ -2,8 +2,26 @@
## TL;DR
```shell
# Run a command or function on exit, kill or error.
trap "rm -f $tempfile" EXIT SIGTERM ERR
trap function-name EXIT SIGTERM ERR
# Disable CTRL-C
trap "" SIGINT
# Re-enable CTRL-C
trap - SIGINT
```
## Further readings
- [Trap]
[trap]: trap.md
## Sources
- [The Bash trap command]
[the bash trap command]: https://www.linuxjournal.com/content/bash-trap-command

View File

@@ -32,7 +32,7 @@ In `/etc/bluetooth/main.conf`, under the `Policy` section, set `Autoenable` to `
+ AutoEnable = true
```
## Further readings
## Sources
- [Failing to use bluetooth keyboard at login]

View File

@@ -24,4 +24,4 @@ boinccmd --get_project_status | grep "master URL" | awk -F ": " '{print $2}' | x
## Gotchas
`boinccmd` looks for the `gui_rpc_auth.cfg` file in the same directory it is launched from.
- `boinccmd` looks for the `gui_rpc_auth.cfg` file in the same directory it is launched from.

View File

@@ -55,12 +55,14 @@ sudo snapper -c config diff 445..446
- [Gentoo wiki]
- [Snapper]
[gentoo wiki]: https://wiki.gentoo.org/wiki/Btrfs
[snapper]: snapper.md
## Sources
- [does btrfs have an efficient way to compare snapshots?]
- [determine if a btrfs subvolume is read-only]
[snapper]: snapper.md
[gentoo wiki]: https://wiki.gentoo.org/wiki/Btrfs
[determine if a btrfs subvolume is read-only]: https://unix.stackexchange.com/questions/375645/determine-if-btrfs-subvolume-is-read-only#375646
[does btrfs have an efficient way to compare snapshots?]: https://serverfault.com/questions/399894/does-btrfs-have-an-efficient-way-to-compare-snapshots#419444

View File

@@ -110,13 +110,16 @@ $
- Chezmoi [user guide]
- [Go text/template]
- [Sprig]
- [cheat.sh]
[user guide]: https://www.chezmoi.io/user-guide/setup/
[go text/template]: https://pkg.go.dev/text/template
[sprig]: https://masterminds.github.io/sprig/
[custom data fields appear as all lowercase strings]: https://github.com/twpayne/chezmoi/issues/463
## Sources
- [cheat.sh]
- [custom data fields appear as all lowercase strings]
[cheat.sh]: https://cheat.sh/chezmoi
[custom data fields appear as all lowercase strings]: https://github.com/twpayne/chezmoi/issues/463

View File

@@ -46,8 +46,12 @@ nice -n 15 clamscan && clamscan --bell -i -r /home
## Further readings
- [Install ClamAV on Fedora Linux 35]
- [Gentoo Wiki]
[gentoo wiki]: https://wiki.gentoo.org/wiki/ClamAV
## Sources
- [Install ClamAV on Fedora Linux 35]
[install clamav on fedora linux 35]: https://www.linuxcapable.com/how-to-install-clamav-on-fedora-35/

View File

@@ -16,7 +16,7 @@ compare -verbose -debug coder $PDF_1 $PDF_2 -compose src /tmp/$OUT_FILE.tmp
pdftk /tmp/$OUT_FILE.tmp background $PDF_1 output $OUT_FILE
```
## Further readings
## Sources
- [Compare PDF Files With DiffPDF]
- [PDF compare on linux command line]

View File

@@ -20,7 +20,11 @@ sudo cpupower frequency-set --governor schedutil
## Further readings
- [CPU frequency scaling]
- [CPU governer settings ignore nice load]
[cpu frequency scaling]: https://wiki.archlinux.org/title/CPU_frequency_scaling
## Sources
- [CPU governer settings ignore nice load]
[cpu governer settings ignore nice load]: https://forum.manjaro.org/t/cpu-governer-settings-ignore-nice-load/71476/3

View File

@@ -14,10 +14,11 @@
1. under the USB drive, select the USB flash drive that you would like to use to create the USB recovery media and check the button _I understand that the selected drive will be reformatted and existing data will be deleted._
1. click _Download_ to begin downloading the operating system recovery image; once the process is complete, a summary screen is shown
[os recovery tool]: https://www.dell.com/support/home/en-us/drivers/osiso/
## Further readings
## Sources
- [How to download and use the Dell operating system recovery image in Microsoft Windows]
[os recovery tool]: https://www.dell.com/support/home/en-us/drivers/osiso/
[how to download and use the dell operating system recovery image in microsoft windows]: https://www.dell.com/support/kbdoc/en-us/000123667/how-to-download-and-use-the-dell-os-recovery-image-in-microsoft-windows

View File

@@ -1,6 +1,6 @@
# Dig
## Further readings
## Sources
- [Using dig +trace to Understand DNS Resolution from Start to Finish]

View File

@@ -1,14 +0,0 @@
# Disable fast startup on Windows 10
1. open the Control Panel
1. choose on _Power Options_
1. choose _Choose what the power buttons do_
1. choose _Change settings that are currently unavailable_ to make the setting editable
1. deselect _Turn on fast startup (recommended)_
1. save the changes
## Further readings
- [How to disable Windows 10 fast startup (and why you'd want to)]
[how to disable windows 10 fast startup (and why you'd want to)]: https://www.windowscentral.com/how-disable-windows-10-fast-startup

View File

@@ -20,7 +20,7 @@ apt-get purge $(dpkg --get-selections | grep --color=never i386 | awk '{print $1
dpkg --remove-architecture i386
```
## Further readings
## Sources
- [How to check if dpkg-architecture --list has all the architectures?]

View File

@@ -7,3 +7,7 @@ On GNU/Linux:
1. enable the `bluetooth` service on boot
1. make sure the `AutoEnable` option in `/etc/bluetooth/main.conf` is set to `true`
1. [optional] make sure the `FastConnectable` option in `/etc/bluetooth/main.conf` is set to `true`
## Further readings:
[bluetooth]: bluetooth.md

View File

@@ -155,7 +155,7 @@ find / -newer file.txt -user wnj -print
find -mtime 1.5h
```
## Further readings
## Sources
- [How can I find broken symlinks?]
- [find . -type f -exec chmod 644 {} ;]

View File

@@ -76,11 +76,14 @@ sudo firewall-cmd --reload
- [Website]
- [Documentation]
- [Open TCP Port on openSUSE Firewall]
- [How To Set Up a Firewall Using firewalld on CentOS 8]
[documentation]: https://firewalld.org/documentation/
[website]: https://firewalld.org/
## Sources
- [Open TCP Port on openSUSE Firewall]
- [How To Set Up a Firewall Using firewalld on CentOS 8]
[how to set up a firewall using firewalld on centos 8]: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-8
[open tcp port on opensuse firewall]: https://vazhavandan.blogspot.com/2020/08/open-tcp-port-on-opensuse-firewall.html

View File

@@ -20,9 +20,12 @@ flatpak uninstall --unused
## Further readings
- [Using Flatpak] getting started guide on the official [documentation]
- [How to clean up Flatpak apps to clear disk space]
[documentation]: https://docs.flatpak.org/en/latest/
[using flatpak]: https://docs.flatpak.org/en/latest/using-flatpak.html
## Sources
- [How to clean up Flatpak apps to clear disk space]
[how to clean up flatpak apps to clear disk space]: https://www.debugpoint.com/2021/10/clean-up-flatpak/

View File

@@ -2,7 +2,7 @@
## TL;DR
```plaintext
```text
# by label
# e2label /dev/sdc1
# mount -L seagate_2tb_usb /media/usb
@@ -14,7 +14,7 @@ LABEL=seagate_2tb_usb /media/usb ext3 defaults 0 0
UUID=41c22818-fbad-4da6-8196-c816df0b7aa8 /disk2p2 ext3 defaults,errors=remount-ro 0 1
```
## Further readings
## Sources
- [Mount a disk partition using LABEL]
- [Mount a disk partition using UUID]

View File

@@ -2,6 +2,7 @@
- [TL;DR](#tldr)
- [Further readings](#further-readings)
- [Sources](#sources)
## TL;DR
@@ -67,12 +68,16 @@ gcloud auth revoke account
- [Gcloud cheat-sheet]
- [Kubectl cluster access]
- [How to run gcloud command line using a service account]
- [How to change the active configuration profile in gcloud]
- [Gcloud config configurations]
[gcloud cheat-sheet]: https://cloud.google.com/sdk/gcloud/reference/cheat-sheet
[gcloud config configurations]: https://cloud.google.com/sdk/gcloud/reference/config/configurations
[kubectl cluster access]: https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl
## Sources
- [How to run gcloud command line using a service account]
- [How to change the active configuration profile in gcloud]
[how to change the active configuration profile in gcloud]: https://stackoverflow.com/questions/35744901/how-to-change-the-active-configuration-profile-in-gcloud#35750001
[how to run gcloud command line using a service account]: https://pnatraj.medium.com/how-to-run-gcloud-command-line-using-a-service-account-f39043d515b9
[kubectl cluster access]: https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl