Profiling in .NET Core
Private Github submodules
Some workflows require use of an SSH private key during build - for instance when getting sources for private submodules during a build.
The quick rundown (TL;DR)
- create SSH keypair on your computer
- add public part as user key on Github
- add private key as secret in (container) repo where action is triggered (such that
$HOME/.ssh/id_rsa
can be synthesized as a preliminary build step)
Github Actions:
env:
SSH_SUBMODULES_KEY: ${{ secrets.SSH_SUBMODULES_KEY }}
AppVeyor
env:
SSH_SUBMODULES_KEY:
secure: DF3lCBl.......G5+p/ # NOTE: Very long!!!
- do the following before pulling the submodules in the run configuration
mkdir -p "$HOME/.ssh" && \
echo "$SSH_SUBMODULES_KEY" > "$HOME/.ssh/id_rsa" && \
chmod 600 "$HOME/.ssh/id_rsa"
Installing and Using SOS on Windows
I want to debug .NET Core 3.x (and .NET 5) code.
I was a bit confused after reading the documentation. I have commented on a github issue to figure this out.
Component-based CSS
The following text is copied from some old notes of mine. It is all about BEM, OOCSS, SMACSS etc.