Skip to content

Instantly share code, notes, and snippets.

View abdulwahidgul24085's full-sized avatar
🎯
Focusing

abdulwahidgul abdulwahidgul24085

🎯
Focusing
  • Software Guy
  • Pakistan
View GitHub Profile
@abdulwahidgul24085
abdulwahidgul24085 / read-access.sql
Created April 14, 2025 15:14 — forked from oinopion/read-access.sql
How to create read only user in PostgreSQL
-- Create a group
CREATE ROLE readaccess;
-- Grant access to existing tables
GRANT USAGE ON SCHEMA public TO readaccess;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess;
-- Grant access to future tables
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess;
@abdulwahidgul24085
abdulwahidgul24085 / .dockerignore
Last active March 25, 2025 18:17 — forked from KernelA/.dockerignore
.dockerignore example for Python projects
# Git
.git
.gitignore
.gitattributes
# CI
.codeclimate.yml
.travis.yml
.taskcluster.yml
@abdulwahidgul24085
abdulwahidgul24085 / Rinkeby.md
Last active June 8, 2018 23:46 — forked from learner-long-life/Rinkeby.md
How to get on Rinkeby Testnet in less than 10 minutes

How to get on Rinkeby Testnet in less than 10 minutes

Following instructions from the excellent https://www.rinkeby.io/

Synchronizing a Full Node

A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,