Skip to content

Instantly share code, notes, and snippets.

View mariuszbeltowski's full-sized avatar

Mariusz Beltowski mariuszbeltowski

View GitHub Profile
@mariuszbeltowski
mariuszbeltowski / postgres_ro.sql
Last active November 3, 2022 21:54
PostgreSQL readonly user
--
-- Read only
--
-- Create a group
CREATE ROLE postgres_ro_group;
-- Grant access to existing tables
GRANT USAGE ON SCHEMA public TO postgres_ro_group;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO postgres_ro_group;
@mariuszbeltowski
mariuszbeltowski / .credentials
Created May 6, 2016 15:29 — forked from vrischmann/.credentials
Running SBT with a Nexus proxy with authentication
realm=Sonatype Nexus Repository Manager
host=nexus.company.com
user=admin
password=admin123