Postgres shell psql postgres Create User and Database Create user webapp, database webappdb and grant all privileges to user.
To generate random passwords I use: https://passwordsgenerator.net/
CREATE DATABASE webappdb; CREATE USER webapp WITH PASSWORD 'DXw3BzFsNERfPwjg'; GRANT ALL PRIVILEGES ON DATABASE "webappdb" TO "webapp"; Grant read-only permission Grant read-only permission to user webapp_ro to database webappdb
GRANT SELECT ON ALL TABLES IN SCHEMA webappdb TO webapp;
Capturing the list of podcasts I listened over the year.
How to Get rich - Naval Ravikant
Founders Talk (Changelog) - Leading Auth0 to a $6.5 billion acquisition
Founders Talk (Changelog) - The journey to massive scale and ultra-resilience - Cockroach DB
Changelog - Inside 2021’s infrastructure for Changelog.com
Go Time (Changelog) - Event-driven systems
Changelog - Curl is a full-time job (and turns 23)
Go Time (Changelog) - Why writing is important
Think Like a CEO - Season-5 Episode-1: Financial Wealth and Freedom
Think Like a CEO - Season-5 Episode 2: The 8 MythUnderstandings Between You and Financial Wealth
…
To apply a single resource terraform apply -target=<resource_type>.<local_name> eg: terraform apply -target=google_sql_database_instance.instance To get a single resource from the state file terraform state show '<resource_type>.<local_name>' eg: terraform state show 'kubernetes_secret.cloudsqlproxy-SA' To delete a single resource from the state file terraform state rm '<resource_type>.<local_name>' eg: terraform state rm 'kubernetes_secret.cloudsqlproxy-SA'
In 2020, my goal was to read 12 books, and I read only 8 and I am still reading a book. This year I am not changing the goal, I want to read 12 books.
When I chose books in 2020, mostly it was random except for a few books. I didn’t select the books based on a theme except for personal finance - I picked titles from this article.
For 2021, I want to read books on Health and Personal Finance. Here is my list for 2021.
To Read Never split the difference: Negotiating as if Your Life Depended on it - Chris Voss and Tahl Raz (From 2020 reading goal) The phoenix project - Gene Kim, Kevin Behr, George Spafford (From 2020 reading goal) The automatic millionaire - David Bach I will teach you to be rich - Ramit Sethi Principles: life and work - Ray Dalio Digital Minimalism - Cal Newport The Cancer Code - Dr.
…
Capturing the list of podcasts I listened over the month.
Changelog - Growing as a software engineer
Deep-Questions with Cal Newport - Ep.56
Go Time (Changelog)- Cloudy with a chance of Kelsey Hightower
Changelog - Coding without your hands
In GKE (Google Kubernetes Engine), setting up ingress controller and cert-manager is straightforward. After setting up the ingress controller and cert-manager on DO Kubernetes, my sub-domain was still not served on https. When I checked cert-manager logs, I found this error:
Waiting for http-01 challenge propagation: failed to perform self check GET request. After little searching on Google I found this article on DO.
In short, add the following annotation to your ingress resource and you should be good.
service.beta.kubernetes.io/do-loadbalancer-hostname: "workaround.example.com" Related Github issue: https://github.com/jetstack/cert-manager/issues/3238