FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine
# Install Node.js - we use Node.js 20 here, pick another version if you like that
RUN apk update \
&& apk add --no-cache curl \
&& curl -sL https://deb.nodesource.com/setup_20.x \
&& apk add --no-cache nodejs npm build-base
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def iterate_dict(d, path="", level=0): | |
for key, value in d.items(): | |
new_path = f"{path}.{key}" if path else key | |
if isinstance(value, dict): | |
yield new_path | |
yield from iterate_dict(value, new_path, level+1) | |
else: | |
yield new_path | |
with open(filename, 'r') as f: |
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Confirm
PowerShellGet\Install-Module posh-git -Scope CurrentUser -Force
Add-PoshGitToProfile -AllHosts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
st = status | |
[push] | |
autosetupremote = true | |
# Fixes contrasts issues on Powershell terminals with blue background | |
[color "status"] | |
changed = red bold | |
untracked = red bold | |
added = green bold |