Skip to content

Instantly share code, notes, and snippets.

View crissilvaeng's full-sized avatar

Cristina Silva crissilvaeng

View GitHub Profile
SCRIPTS := scripts/cmd
CMD := $(sort $(basename $(notdir $(wildcard $(SCRIPTS)/*.sh))))
.DEFAULT_GOAL := help
.PHONY: help $(CMD) scripts
SHELL := /bin/bash
.ONESHELL:
.EXPORT_ALL_VARIABLES:
@crissilvaeng
crissilvaeng / docker-compose.yaml
Last active February 10, 2024 05:06
Pi-hole (docker+macvlan+ipv6)
version: '3'
services:
app:
image: jacklul/pihole:latest
environment:
TZ: America/Sao_Paulo
FTLCONF_LOCAL_IPV4: 192.168.0.10
FTLCONF_LOCAL_IPV6: 2804:14d:5c5a:a96a::10
DNSSEC: true
@crissilvaeng
crissilvaeng / Makefile
Created October 6, 2024 04:17
Golang Makefile
APP_NAME ?= $(shell basename `go list`)
GOPRIVATE ?= $(dir $(shell go list))*
LOCAL := $(dir $(shell go list))
OUTPUT := $(CURDIR)/out
SOURCES := $(shell find . -type f -name '*.go' -not -path "./vendor/*")
TOOLS := goimports golangci-lint
SHELL := /bin/bash
@crissilvaeng
crissilvaeng / .devcontainer_devcontainer.json
Created July 10, 2025 23:37
A ready-to-code Elixir/Phoenix/Erlang dev environment using VS Code Dev Containers, Docker Compose, and PostgreSQL. Includes automatic setup, common utilities, and recommended extensions for a seamless onboarding and development experience.
{
"name": "boilerplate-dev",
"dockerComposeFile": "docker-compose.yml",
"service": "elixir",
"workspaceFolder": "/workspace",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": "true",
"configureZshAsDefaultShell": "true",
"installOhMyZsh": "true",