Run in terminal
sudo apt install dovecot-imapd dovecot-pop3d
mkdir ~/maildir
mkdir ~/maildir/new ~/maildir/cur ~/maildir/tmpEdit /etc/dovecot/dovecot.conf as superuser, append text below to the file.
protocols = pop3
Run in terminal
sudo apt install dovecot-imapd dovecot-pop3d
mkdir ~/maildir
mkdir ~/maildir/new ~/maildir/cur ~/maildir/tmpEdit /etc/dovecot/dovecot.conf as superuser, append text below to the file.
protocols = pop3
Add submodule
git submodule add https://github.com/<USER>/<REPOSITORY> <SUBMODULE_NAME>
git submodule update --init --recursive
git add -A
git commit
git pushUpdate all submodules
| sudo add-apt-repository ppa:jonathonf/python-3.6 | |
| sudo apt-get update | |
| sudo apt-get install python3.6 python3-pip | |
| python3.6 -m pip install <PACKAGE> |
| # Create a folder for our new root structure | |
| $ export centos_root='/centos_image/rootfs' | |
| $ mkdir -p $centos_root | |
| # initialize rpm database | |
| $ rpm --root $centos_root --initdb | |
| # download and install the centos-release package, it contains our repository sources | |
| $ yum reinstall --downloadonly --downloaddir . centos-release | |
| $ rpm --root $centos_root -ivh centos-release*.rpm | |
| $ rpm --root $centos_root --import $centos_root/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 | |
| # install yum without docs and install only the english language files during the process |
The script will print out resources/subresource and corresponding verbs. See example below (incomplete output).
I have reused Tannhäuser Ruan´s snippet available here: https://medium.com/@tannhauser.sphinx/bash-kubernetes-script-to-list-all-available-resources-subresources-c65a5c2c1173
Example:
===/api/v1===
bindings ["create"]
componentstatuses ["get","list"]
| #!/bin/bash | |
| #################################################################################################### | |
| # FILEPATH: ~/.oci/config | |
| # [DEFAULT] | |
| # user=ocid1.user.oc1..aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | |
| # fingerprint=aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa | |
| # key_file=/home/username/.oci/oci_private.pem |
Original post published on gemini://drewdevault.com/2021/01/02/2021-01-02-Every-commit-should-be-perfect.gmi
Good commit discipline with git pays dividends in many respects, most of which are difficult to achieve with other version control systems. Each commit to your repository’s main branch should be exactly the correct size, be it large or small, such that it introduces one atomic unit of change. It should fix one bug, introduce one feature, refactor one system, and do so completely, rather than spreading the change out across several commits.