Skip to content

Instantly share code, notes, and snippets.

View jdecode's full-sized avatar
🦾
Automate and Chill

Jagdeep Singh Kalsi jdecode

🦾
Automate and Chill
View GitHub Profile
@jdecode
jdecode / platform-docs.md
Created February 8, 2024 07:20
beta-version

Laravel Boilerplate [LBP] Docs

User Profile API

  1. Get Profile

    • Endpoint: GET /profile
    • Description: Retrieves the profile of the authenticated user.
    • Response: Returns a JSON object containing the user's profile information. The structure includes 'id', 'first_name', 'last_name', 'email', and 'email_verified_at'.
  2. Update Profile

@jdecode
jdecode / dockerfile-notes.md
Created November 11, 2023 19:41
Dockerfiles

jdecode/devops:php8.2.11

  • PHP 8.2.11 + Postman CLI

jdecode/devops:php8.2.11-n20p / jdecode/devops:php8.2.11-n20

  • PHP 8.2.11 + Postman CLI + Node 20.x
@jdecode
jdecode / postman-setup.md
Created October 31, 2023 06:01
Postman setup

Postman setup instructions

Account sign-up

  1. Using founder's email (like fnl_dev@product.com) or project account email (like project_admin@founderandlightning.com)
  2. Add Founder's credit card to the account
  3. Rename the "My Workspace" to "Product/Project Personal Workspace"
  4. Create a new workspace (Team Workspace, not Personal Workspace) - labelled "API Workspace" (or something appropriate)
  5. Create a new team, and add project members with "Developer" level access (without "Billing/Admin" access)
  6. Copy over the collections from the platform APIs (ci, dev, and qa collections) and have those setup in the Postman - update the required collection variables
@jdecode
jdecode / upgrade-google-chrome.md
Created September 28, 2023 06:29
Upgrade Chrome in Ubuntu

sudo apt update

sudo apt --only-upgrade install google-chrome-stable

@jdecode
jdecode / github-graphql-api-links.md
Created June 14, 2023 17:40
GitHub GraphQL API links
@jdecode
jdecode / the-challenge-is-to-fail.md
Created June 13, 2023 19:08
The challenge is to fail

What is the challenge?

The challenge is to fail.
The challenge is to fail repeatedly.
In this world full of opportunities and options, the biggest challenge is to fail.

You absolutely, positively, cannot fail.
You have to put in delibrate effort to fail.
You have to put in delibrate effort, repeatedly, to fail every time.

@jdecode
jdecode / ubuntu-forever.md
Created June 2, 2023 12:34
Ubuntu Forver

Notes about Ubuntu

  1. I use Ubuntu (22.x LTS) - as of Mid 2023
  2. I am using Ubuntu since 2005 (back when they used to send a CD in the mail)
  3. I have had "ZERO" problems while setting up Docker on my Ubuntu machine
  4. If you are a developer using Windows, please stop and change your career.
    1. Unless you are using WSL2 (Windows Subsystem for Linux)
    2. In which case, why not just use Ubuntu directly?
  5. If you are a developer using Mac, please stop and change your career.
    1. Unless you know how to solve your Docker issues
  6. I have had way too many people with Docker issues on Mac
@jdecode
jdecode / laravel-developer-roadmap.md
Last active July 4, 2023 11:56
Laravel developer roadmap [WIP]

Laravel developer roadmap

[knowledge portfolio]

Highly opinionated, for F&L

Tech stack

  1. Docker

  2. Read Dockerfile
@jdecode
jdecode / full-stack-development-in-laravel.md
Last active May 25, 2023 17:51
Full stack development in Laravel

Question

Full stack development in Laravel : What to pick and how? [opinionated, highly]

Answer

It depends on the skill set of the developer.

Developer traits #1

  1. Highly competent and experienced in PHP, and have been writing APIs in Laravel for a significant amount of time
  2. Has some experience in writing HTML, CSS and JavaScript, and can use the HTML helpers provided by design team (or from Tailwind components, or some other framework) to create Blade templates