Skip to content

Instantly share code, notes, and snippets.

@marcopeg
marcopeg / card-deck.data.sql
Last active October 26, 2022 06:24
Card deck db schema for PostgreSQL
INSERT INTO "ranks" VALUES
('A'), ('K'), ('Q'), ('J'), ('1'), ('2'), ('3'), ('4'), ('5'), ('6'), ('7'), ('8'), ('9'), ('10');
INSERT INTO "suits" VALUES
('♥️'), ('♠️'), ('♣️'), ('♦️');
INSERT INTO "brands" VALUES
('b1'), ('b2');
@marcopeg
marcopeg / native-docker-on-mac.sh
Last active March 5, 2024 14:36
Native Docker on Mac
# Install Docker & Container runtime
brew install docker-credential-helper docker
brew install colima
docker -v
# Install Docker-Compose
brew install docker-compose
mkdir -p ~/.docker/cli-plugins
ln -sfn /opt/homebrew/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose
docker compose -v