This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo rm -Rf ~/Library/Caches/com.microsoft.VSCode.ShipIt | |
| sudo rm -Rf ~/Library/Caches/com.microsoft.VSCodeInsiders.ShipIt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ grep '^menuentry' /boot/grub2/grub.cfg | |
| # Open '/etc/default/grub', and set GRUB_DEFAULT to the numeric entry value for the kernel you choose as the default. | |
| GRUB_DEFAULT=0 | |
| # Re-generate GRUB configuration. | |
| $ grub2-mkconfig -o /boot/grub2/grub.cfg | |
| $ reboot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| uname [OPTION] | |
| -a, --all Prints all information, omitting -p and -i if the information is unknown. | |
| -s, --kernel-name Print the kernel name. | |
| -n, --nodename Print the network node hostname. | |
| -r, --kernel-release Print the kernel release. | |
| -v, --kernel-version Print the kernel version. | |
| -m, --machine Print the machine hardware name. | |
| -p, --processor Print the processor type, or "unknown". | |
| -i, --hardware-platform Print the hardware platform, or "unknown". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| certbot certonly --server https://acme-v02.api.letsencrypt.org/directory --manual --preferred-challenges dns -d '*.example.com' --email hello@example.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://gist.github.com/iamcryptoki/f56ec8af05cebed39fad40f718e393cf | |
| MYSQL_ROOT_PASSWORD=*********************** | |
| MYSQL_DATABASE=nextcloud | |
| MYSQL_USER=nextcloud | |
| MYSQL_PASSWORD=************************************ | |
| MYSQL_HOST=db | |
| NEXTCLOUD_VERSION=13.0 | |
| NEXTCLOUD_ADMIN_USER=example |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| volumes: | |
| nextcloud: | |
| db: | |
| services: | |
| db: | |
| image: mariadb | |
| env_file: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/yum.repos.d | |
| [virtualbox] | |
| name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox | |
| baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch | |
| enabled=1 | |
| gpgcheck=1 | |
| repo_gpgcheck=1 | |
| gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Place this file in your $HOME directory. | |
| # Set file permissions: chmod 600 ~/.pypirc | |
| [distutils] | |
| index-servers = | |
| pypi | |
| testpypi | |
| [pypi] | |
| # python setup.py sdist upload -r pypi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git config --global user.signingKey <PASTE_YOUR_KEY_ID_HERE> | |
| git config --global commit.gpgsign true | |
| git config --global tag.gpgsign true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd /var/lib/rpm/ | |
| mv __db.00* /tmp | |
| rpm --rebuilddb |