Skip to content

Instantly share code, notes, and snippets.

View mva-verbit's full-sized avatar

Mikhail Vasilenko mva-verbit

View GitHub Profile
@mva-verbit
mva-verbit / rw_ro_access.sql
Created February 13, 2020 21:36 — forked from checco/rw_ro_access.sql
How to create a read only user in AWS RDS PostgreSQL and a user with superuser privileges on AWS RDS PostgreSQL
--
-- 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;
@mva-verbit
mva-verbit / example.md
Last active March 13, 2021 10:46 — forked from mbohun/example.md
simple BASH/curl scipt for github REST API (HTTP GET queries)
$ ./githubapi-get.sh $GITHUBTOKEN /users/mbohun/repos
HTTP/1.1 200 OK
Server: GitHub.com
Date: Wed, 04 Mar 2015 04:30:29 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 155683
Status: 200 OK