Skip to content

Instantly share code, notes, and snippets.

View mint21's full-sized avatar
🎯
Focusing

mint21 mint21

🎯
Focusing
View GitHub Profile
@mint21
mint21 / #Elixir-Wisdom.md
Last active November 2, 2025 11:02
Elixir Wisdom

Elixir Wisdom

Phoenix

Build Phoenix

mix deps.clean --all # optional
mix deps.get
mix compile # optional
@mint21
mint21 / #Parse-Basic-Auth-Credentials.md
Last active November 1, 2025 10:23
Parse Basic Auth Credentials

Parse Basic Auth Credentials

This is a simple .NET 9 C# method for parsing username and password from an authentication header.

You may not want to return the error message to the client. A simple 401 without body is sufficient.

@mint21
mint21 / #Elixir-Dev-Container.md
Last active November 1, 2025 10:24
Elixir Dev Container

Elixir Dev Container

Make sure to have this structure

./devcontainer/devcontainer.json
./devcontainer/Dockerfile

and that VS Code uses podman/docker for dev containers