Skip to content

Instantly share code, notes, and snippets.

View macel94's full-sized avatar
:shipit:
Available ๐ŸŒ‹

Francesco Belacca macel94

:shipit:
Available ๐ŸŒ‹
View GitHub Profile
@macel94
macel94 / Agent-DockerFile
Last active March 24, 2025 10:55
Azure Container App Jobs: Why I think they're Great
FROM mcr.microsoft.com/dotnet/sdk:latest
RUN DEBIAN_FRONTEND=noninteractive apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends \
apt-transport-https \
apt-utils \
ca-certificates \
curl \
git \
@macel94
macel94 / .wslconfig
Created May 1, 2024 09:46
Working example of wslconfig
# Settings apply across all Linux distros running on WSL 2
[wsl2]
# Limits VM memory to use no more than 4 GB, this can be set as whole numbers using GB or MB
memory=4GB
# Sets the VM to use two virtual processors
processors=2
# Sets amount of swap storage space to none, default is 25% of available RAM
@macel94
macel94 / .gitconfig
Created April 28, 2024 16:15
global .gitconfig in WSL that works and forces my auth for github but delegates to gcm the actual auth
[credential "https://dev.azure.com"]
useHttpPath = true
[credential]
helper = /mnt/c/Program\\ Files/Git/mingw64/bin/git-credential-manager.exe
[credential "https://github.com"]
username = macel94