I hereby claim:
- I am abyabrkal on github.
- I am abykal (https://keybase.io/abykal) on keybase.
- I have a public key ASD6OWEtRBIR7-NjZ1BwwVgXvIFvHA3kK7WmlftMdEheDgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# ~/.macos — https://mths.be/macos | |
# Modified by Kent C. Dodds | |
# Run without downloading: | |
# curl https://raw.githubusercontent.com/kentcdodds/dotfiles/master/.macos | bash | |
# Close any open System Preferences panes, to prevent them from overriding | |
# settings we’re about to change | |
osascript -e 'tell application "System Preferences" to quit' |
Transfer Files Fast - If you hold down "T" when your Mac is booting up, you can enter Target Disk Mode. In this mode, use a Thunderbolt 3 cable to transfer large files at fast speeds between two Macs. | |
Paste With Style Matching - When pasting something, if you use Option-Shift-Command-V instead of just Command-V, you can transform the pasted content into the style of the content that already exists in a document. If you have a block of text that's bold, for example, and then want to paste in text from the web and make it bolded too, you can use this keyboard shortcut. | |
Turn a Website Into a Dock App - You can add any website to your dock by dragging the URL bar over to the bottom section of the dock that houses open and recently used apps. Adding a website to the dock makes it quicker to open because you can click from that spot alongside all your apps. | |
Quick Print Shortcut - If you go to the Printers and Scanners section of System Preferences and drag the icon for your favorite printer to your desktop, you |
# One command installation | |
curl -fsSL https://tailscale.com/install.sh | sh | |
OR | |
# Manual Install for Ubuntu based x86/ARM CPUs | |
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/[focal].noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null | |
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/[focal].tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list | |
sudo apt-get update |
# create the volume that Portainer Server will use to store its database | |
docker volume create portainer_data | |
# install portainer ce edition | |
docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest | |
# check | |
docker ps | |
# https://localhost:9443 |
# change ip/gateway/dns as per your network design | |
network: | |
version: 2 | |
renderer: networkd | |
ethernets: | |
enp3s0: | |
addresses: | |
- 10.10.10.2/24 | |
nameservers: | |
search: [mydomain, otherdomain] |