- macOS
- Ubuntu 24.04 LTS
- Ubuntu 24.04 LTS (Windows, WSL2)
-
Install WSL2 and Ubuntu.
-
Launch Ubuntu with PowerShell.
wsl
-
Establish an SSH connection to GitHub.
-
Add the GitHub Signing Keys and Authentication Keys.
-
Execute a git command to install Command Line Developer Tools.
git --version
-
Execute the following command.
git clone git@github.com:i9wa4/dotfiles ~/ghq/github.com/i9wa4/dotfiles \ && cd ~/ghq/github.com/i9wa4/dotfiles \ && _uname="$$(uname -a)"; \ if [ "$$(echo "$${_uname}" | grep Darwin)" ]; then \ echo 'Hello, macOS!'; \ make mac-init; \ elif [ "$$(echo "$${_uname}" | grep Ubuntu)" ]; then \ echo 'Hello, Ubuntu'; \ sudo apt install -y make; \ make ubuntu-server-init; \ elif [ "$$(echo "$${_uname}" | grep WSL2)" ]; then \ echo 'Hello, WSL2!'; \ sudo apt install -y make; \ make wsl-init; \ elif [ "$$(echo "$${_uname}" | grep arm)" ]; then \ echo 'Hello, Raspberry Pi!'; \ elif [ "$$(echo "$${_uname}" | grep el7)" ]; then \ echo 'Hello, CentOS!'; \ else \ echo 'Which OS are you using?'; \ fi
-
Restart the terminal and execute the following command.
cd ~/ghq/github.com/i9wa4/dotfiles && make common-package-init
- Run
C:\work\util\bin\win-copy.bat
. - Run
C:\work\util\bin\winget-upgrade.bat
.
- Install CorvusSKK.
- Load the dictionaries in
%APPDATA%\CorvusSKK
. - Configuration:
- キー1
- 変換位置
;
- 変換位置
- キー2
- ひらがな
C\x4B
(<C-k>
)
- ひらがな
- キー1
- Enable the dictionaries.
- Configuration:
- キーバインド
- ひらがなモード
C-k
- ひらがなモード
- キーバインド
- Authentication with AWS CLI
~/.aws/config
~/.aws/credentials
- Authenticating using IAM user credentials for the AWS CLI - AWS Command Line Interface
- Follow the instroctions of "Access Keys".
- Choose SSH for Git operation protocol.
- Skip uploading SSH public key.
- Login with a web browser: https://github.com/login/device.
- Password: No
- Address: No
- Google Pay: No
- The Others: Yes
- Google Japanese Search
https://www.google.com/search?q=%s
- Google English Search
https://www.google.com/search?q=%s&gl=us&hl=en&gws_rd=cr&pws=0
- DuckDuckGo Japanese Search
https://duckduckgo.com/?q=%s&kl=jp-jp&kz=-1&kav=1&kaf=1&k1=-1&ia=web
- DuckDuckGo English Search
https://duckduckgo.com/?q=%s&kl=us-en&kz=-1&kav=1&kaf=1&k1=-1&ia=web
- Flow Chat for YouTube Live
- Markdown Preview Plus
- GitHub Notifications
/github subscribe owner/repo reviews,comments,branches,commits:*
cf. Linux サーバー:SSH 設定(2024年7月更新)
-
[Server] Set
PasswordAuthentication yes
in/etc/ssh/sshd_config
. -
[Server] Restart ssh.
[Server] $ sudo systemctl restart ssh.service
-
Execute the following commands.
[Client] $ ssh-keygen -t ed25519 [Client] $ ssh -p port username@192.168.xxx.xxx # or hostname [Server] $ exit [Client] $ scp -P port ~/.ssh/id_ed25519.pub username@hostname:~/.ssh/register_key [Client] $ ssh -p port username@192.168.xxx.xxx [Server] $ cd ~/.ssh [Server] $ cat register_key >> authorized_keys [Server] $ chmod 600 authorized_keys [Server] $ rm register_key
-
[Server] Set
PasswordAuthentication no
in/etc/ssh/sshd_config
. -
[Server] Restart ssh.
[Server] $ sudo systemctl restart ssh.service
-
[Client] Configure
~/.ssh/config
Host sandbox HostName 192.168.xxx.xxx Port port IdentityFile ~/.ssh/id_ed25519 User username