Run the two commands below one at a time to get Samba 3 installed and to have it run on boot.
Install Samba with Homebrew
brew install samba
Run the two commands below one at a time to get Samba 3 installed and to have it run on boot.
brew install samba
Create a template service file at /etc/systemd/system/[email protected]
. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target
*update: TBC, but this new might affect how easy it is to use this technique past August 2024: Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August
This gist, based in part on a gist by Brian Hartvigsen, allows you to export from Authy your TOTP tokens you have stored there.
Those can be "standard" 6-digits / 30 secs tokens, or Authy's own version, the 7-digits / 10 secs tokens.
Modern OpenSSH has native support for FIDO Authentication. Its much simpler and should also be more stable with less moving parts. OpenSSH also now has support for signing arbitary files witch can be used as replacement of gnupg. Git also supports signing commits/tags with ssh keys.
ssh
, ssh-add
and ssh-keygen
on most computers#!/bin/bash | |
# 獲取遠端倉庫的最新數據 | |
git fetch origin | |
# 記錄當前分支 | |
current_branch=$(git rev-parse --abbrev-ref HEAD) | |
# 檢查是否有未提交的更改,並暫存 | |
stashed=false |