NOTE: WORK IN PROGRESS
WSL2 configuration for developing using rootless docker
This document assumes Windows Insider Preview Dev.
Install Ubuntu 22.04
Installing Ubuntu 22.04.1 LTS from Microsoft Store.
NOTE: WORK IN PROGRESS
This document assumes Windows Insider Preview Dev.
Installing Ubuntu 22.04.1 LTS from Microsoft Store.
Enable 1Password's SSH Agent.
Using Powershell, install npiperelay via the scoop package manager.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
irm get.scoop.sh | iex # install scoop
scoop bucket add extras
This issue is so infuriating that I'm going to take some time to write about it.
MOST IMPORTANT. Your local development server must be bound to IP address 0.0.0.0. Some do this by default, but many don't. You need to make sure that you run your local server with correct IP bindings. You may need to provide additional flags to your serve commands e.g. polymer serve --hostname domain.local
, hugo serve --bind 0.0.0.0
. If you use a named domain like domain.local
, it has to be defined in /etc/hosts
and pointing at 0.0.0.0.
My Parallels setting is using Shared Network, nothing special there.
Open macOS Terminal and type ifconfig
. Look for the value under vnic0
> inet
. It is typically 10.211.55.2
.
Used M1 Mac mini 2020 with macOS Big Sur Version 11.5.2.
According to the GitHub issue comment in Lima
's GitHub repository, Lima requires a patched QEMU on M1 Macs.
Note that the followings are customized steps by @toricls based on the original steps and the script. Be sure to check the original files when you try it on your own.
Lima (Linux virtual machines, on macOS) installation guide for M1 Mac.
Sep. 27th 2021 UPDATED
Now we can install patched version of QEMU via Homebrew (thank you everyone for the info!). Here is the updated instruction with it:
Used M1 Mac mini 2020 with macOS Big Sur Version 11.6.
tsconfig.json
の設定についてのメモ書きです。
target は 変換後のコードのECMAScriptバージョンを指定する
たとえば、Node.js 14はES2020をサポートしている。そのため、Node.js 14向けのコード(サーバなど)ならtarget: "ES2020"
を指定することで、余計なTranspileが省かれててコードサイズや実行時間が最適化される。
# https://github.com/secretlint/secretlint | |
name: secretlint | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['**'] | |
jobs: |
明日の下書き