diff --git a/doc/debian-connect-android.md b/doc/debian-connect-android.md new file mode 100644 index 0000000..8f7fb32 --- /dev/null +++ b/doc/debian-connect-android.md @@ -0,0 +1,33 @@ +* install `jmtpfs` like this + +``` +sudo apt install jmtpfs --no-install-recommends +``` + +* create folder as mount point like this + +``` +sudo mkdir -p /media/fp3 +sudo chown begerad:begerad /media/fp3/ +sudo chmod 755 /media/fp3/ +``` + +* created two aliases on .bashrc @home + +``` +emacs ~/.bashrc & +``` + +``` +alias fp3="jmtpfs /media/fp3" +alias unfp3="fusermount -u /media/fp3"` +`` + +NOTE: +* 1rs alias mounts the Android once pluged on system via phone cable/usb +* 2nd alias safely removes phone from system before disconnecting usb cable. + +NOTE: +* Make sure the phone is not locked when writing those two commands (or at least the mount ones). + +* on console write `fp3` or `unfp3` diff --git a/doc/debian-connect-android.md.license b/doc/debian-connect-android.md.license new file mode 100644 index 0000000..3c4280e --- /dev/null +++ b/doc/debian-connect-android.md.license @@ -0,0 +1,5 @@ +/* + * SPDX-FileCopyrightText: 2022 Software Ingenieur Begerad + * + * SPDX-License-Identifier: CC0-1.0 + */ diff --git a/doc/postgres-create-user.md b/doc/postgres-create-user.md index 1af5a96..6683196 100644 --- a/doc/postgres-create-user.md +++ b/doc/postgres-create-user.md @@ -8,12 +8,12 @@ ``` sudo -u postgres psql -W CREATE USER with encrypted password ''; -grant all privileges on database to ; +GRANT ALL PRIVILEGES ON DATABASE TO ; ``` * OPTION: add all privileges for a to a ``` -GRANT ALL ON SCHEMA TO ; +GRANT ALL PRIVILEGES ON ALL TABALES ON SCHEMA TO ; ``` * OPTION: if already exist, pw can be changed this way diff --git a/doc/xmllint.md b/doc/xmllint.md new file mode 100644 index 0000000..adbcd4b --- /dev/null +++ b/doc/xmllint.md @@ -0,0 +1,16 @@ +# Setup xmllint + +* update your APT cache using +``` +sudo apt update +``` + +* install +``` +sudo apt install libxml2-utils --no-install-recommends +``` + +* verify the installation by checking the APT-CACHE Policy using +``` +sudo apt-cache policy libxml2-utils +``` diff --git a/doc/xmllint.md.license b/doc/xmllint.md.license new file mode 100644 index 0000000..3c4280e --- /dev/null +++ b/doc/xmllint.md.license @@ -0,0 +1,5 @@ +/* + * SPDX-FileCopyrightText: 2022 Software Ingenieur Begerad + * + * SPDX-License-Identifier: CC0-1.0 + */