brew install --cask emacs-appwinget install -e --id GNU.Emacs| # https://gist.github.com/1eedaegon/875a34b5d2e750f0ed05cb0a669eae70 | |
| [Unit] | |
| Description=Tailscale node agent | |
| Documentation=https://tailscale.com/kb/ | |
| Wants=network-pre.target | |
| After=network-pre.target NetworkManager.service systemd-resolved.service | |
| ###### REPLACE $HOME -> Your home | |
| [Service] |
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Even after properly installing the NVIDIA driver, the following error occurs:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Set the following three items in the BIOS.
If these settings are not available in the BIOS, download and update it via USB.
| #!/bin/bash | |
| # 1. Install podman using *homebrew* | |
| brew install podman | |
| # 2. Docker-compose | |
| brew install docker-compose | |
| # 3. Create a symbolic link from podman to docker | |
| ln -s $(which podman) /usr/bin/docker |
| # download binary openssl packages from Impish builds | |
| wget http://ports.ubuntu.com/pool/main/o/openssl/openssl_1.1.1f-1ubuntu2_arm64.deb | |
| wget http://ports.ubuntu.com/pool/main/o/openssl/libssl-dev_1.1.1f-1ubuntu2_arm64.deb | |
| wget http://ports.ubuntu.com/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_arm64.deb | |
| # install downloaded binary packages | |
| sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_arm64.deb | |
| sudo dpkg -i libssl-dev_1.1.1f-1ubuntu2_arm64.deb | |
| sudo dpkg -i openssl_1.1.1f-1ubuntu2_arm64.deb |
| ######### Ariflow Web ######### | |
| [Unit] | |
| Description=Airflow Webserver | |
| After=network.target | |
| [Service] | |
| User=1000 | |
| Group=1000 | |
| WorkingDirectory=/home/ec2-user/workspace/airflow-venv | |
| Environment=AIRFLOW_HOME=/home/ec2-user/workspace/airflow-venv # venv path |
| #!/bin/bash | |
| # 0. Install UV | |
| # [Optional] Use nix: nix profile install github:1eedaegon/...s#py | |
| wget -qO- https://astral.sh/uv/install.sh | sh | |
| # 1. Install python | |
| uv venv --python 3.12 |
| #!/bin/sh | |
| REGION=ap-northeast-2 | |
| $(aws ecr get-login --no-include-email --region $REGION) | |
| # OR | |
| # aws ecr get-login-password --region $REGION | docker login AWS --password-stdin [NUMBER].dkr.ecr.$REGION.amazonaws.com |
When start vscode on WSL2 using "code" command
/mnt/c/Users/[PC NAME]/AppData/Local/Programs/Microsoft VS Code/bin/code: 61: /mnt/c/Users/[PC NAME]/AppData/Local/Programs/Microsoft VS Code/Code.exe: Exec format error
❯ code .
/mnt/c/Users/[]/AppData/Local/Programs/Microsoft VS Code/bin/code: 61: /mnt/c/Users/[]/AppData/Local/Programs/Microsoft VS Code/Code.exe: Exec format error