How To Install and Use Docker on Ubuntu 20.04
curl -fsSL https://get.docker.com -o get-docker.sh
chmod +x get-docker.sh
sudo ./get-docker.sh
sudo usermod -aG docker ${USER}
su - ${USER}
groups| // Bookmarklet: finds filenames with common extensions (pdf, zip, doc, ..) | |
| // - generated using claude.ai | |
| javascript:(function() { | |
| function findTextNodes(node) { | |
| const textNodes = []; | |
| function getTextNodes(node) { | |
| if (node.nodeType === Node.TEXT_NODE) { | |
| textNodes.push(node); | |
| } else { |
| #!/usr/bin/env bash | |
| set -x | |
| ## Get available distros | |
| # softwareupdate --list-full-installers | |
| # softwareupdate --fetch-full-installer --full-installer-version 13.0.1 | |
| # Default size ~16 GB | |
| DISK_SIZE="15361m" | |
| STORAGE="/Users/${USER}/Downloads/macos_distro" |
| # install cdparanoia e.g apt-get install cdparanoia | |
| # MacOS | |
| # brew install lame | |
| # brew install cdparanoia | |
| # copy all tracks into separate '.wav' files | |
| cdparanoia -B | |
| # convert to mp3 in a loop |
| version: '3' | |
| services: | |
| portainer: | |
| image: portainer/portainer-ce:latest | |
| container_name: portainer-main | |
| # command: --no-analytics | |
| command: -H unix:///var/run/docker.sock | |
| restart: unless-stopped | |
| security_opt: |
| # ~/.bashrc | |
| # prompt - Alex, 19.09.2022 | |
| # https://www.thegeekstuff.com/2008/09/bash-shell-ps1-10-examples-to-make-your-linux-prompt-like-angelina-jolie/ | |
| # \! - history id | |
| # \$? - RC of last command | |
| # \u - user | |
| # \h - hostname | |
| # \w - workdir | |
| # \n - new line |
How To Install and Use Docker on Ubuntu 20.04
curl -fsSL https://get.docker.com -o get-docker.sh
chmod +x get-docker.sh
sudo ./get-docker.sh
sudo usermod -aG docker ${USER}
su - ${USER}
groups| # https://communities.vmware.com/t5/VMware-Fusion-Discussions/How-to-get-a-1280-x-720-window-size-Mac-Guess/td-p/963827 | |
| sudo /Library/Application\ Support/VMware\ Tools/vmware-resolutionSet 1900 1080 |
| version: "2.1" | |
| services: | |
| vscode: | |
| # image: ghcr.io/linuxserver/code-server | |
| image: linuxserver/code-server | |
| container_name: vscode-server | |
| dns: | |
| - 172.17.0.1 | |
| # - 192.168.1.30 | |
| environment: |
| version: "3" | |
| networks: | |
| gitea: | |
| external: false | |
| services: | |
| server: | |
| #image: gitea/gitea:1.15.6 | |
| image: gitea/gitea:latest |
mykeyfile, mykeyfile.pub$ ssh-keygen -q -N '' -b 4096 -f ~/.ssh/mykeyfile
authorized_keys)$ cat mykeyfile.pub