Prerequisites:
- Install qemu via MacPorts.
- Install tuntap via brew.
Steps:
- Add a bridge with some Thunderbolt interface via System Preferences -> Network -> Manage Virtual interfaces:
| # Just some notes on enabling smart http with nginx as well as authentication on push for repos | |
| # install git, cgit and apache2-utils (for authentication) | |
| apt install git cgit apache2-utils fcgiwrap | |
| # create a git user | |
| useradd -m -d /srv/git git | |
| su git | |
| cd | |
| mkdir .ssh && chmod 700 .ssh | |
| touch .ssh/authorized_keys && chmod 600 .ssh/authorized_keys |
I tried the WSL and it isn't quite seamless enough for me. I ran in to problems when editing in VSCode and having watchers on my files (ng serve, dotnet watch run, etc.). In addition, I kept running in to problems that only manifest themselves when running in WSL. For example, this issue with doing production builds and the terser plugin has made many a developer rage-quit on using WSL. Just figuring out that it was an issue with the WSL took a lot of time.
That terser plugin issue was never resolved and I ended up having to keep a git bash window open in addition to my WSL console window so I could do production builds. To make matters worse, my npm packages were platform-dependent so I couldn't use the same project folder. So, my procedure was: commit whatever changes to test branch, push to repo, git pull on my "windows" project folder, and do a production build there
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \
Download OpenOCD.
Place the folder in ~/openocd - so that the scripts is directly under ~/openocd/scripts.
Add it to your PATH via:
ln -s ~/openocd/bin/openocd /usr/local/bin/openocd
Make sure no applications are bound to port 3333.
Place launch.json and tasks.json in your .vscode folder.
Note: Set the right path in debugServerArgs.
Instructions how to install Debian using debootstrap. Below instructions were verified to work with debootstrapping Debian 11.