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 |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
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.
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
| /*! normalize.css v2.1.3 | MIT License | git.io/normalize */ | |
| /* ========================================================================== | |
| HTML5 display definitions | |
| ========================================================================== */ | |
| /** | |
| * Correct `block` display not defined in IE 8/9. | |
| */ |
| /* | |
| * I add this to html files generated with pandoc. | |
| */ | |
| html { | |
| font-size: 100%; | |
| overflow-y: scroll; | |
| -webkit-text-size-adjust: 100%; | |
| -ms-text-size-adjust: 100%; | |
| } |