Google Oauth2 Using Postman

The higlighted fields need to be filledup for successful Postman setup. Img 1 Img 2 Callback URL: https://oauth.pstmn.io/v1/callback Auth URL: https://accounts.google.com/o/oauth2/v2/auth Access Token URL: https://oauth2.googleapis.com/token Client ID: This is OAuth2 client ID from Google Cloud Console Client Secret: OAuth2 client secret Scope: https://www.googleapis.com/auth/calendar (For Google Calendar. All Google Api scopes... [Read More]
Tags: OAuth2.0 Api

Useful Zsh Commands

Brew Installation https://osxdaily.com/2023/04/19/fix-brew-command-not-found-on-mac-with-zsh/ Adding brew to the path in MAC echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.zshrc Downloading Brew ``` /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)” [Read More]
Tags: bash zsh

Longest Palindromic Substring

Finding the longest palindrome in the string RACECAR. A cell (i, j) corresponds to a substring S[i…j] . For example, cell (1, 5) corresponds to Substring RACEC. The table will be filled by filling each cell in a row starting from the bottom row and then moving to the next... [Read More]

Hosting Gatsbyjs Website On Github Pages

Take the gasbyjs gatsbyjs boilerplate page and host it using github pages with custom domain. Website will be live on prefix.domain. In my case https://web.chaitanyavardhan.com. Dev Environment: NPM, Mac Terminal, Git Install NPM from here https://nodejs.org/en/download [Read More]