Skip to content

πŸš€ Important commands, code snippets, basic-to-advanced topics I'm learning daily πŸ“šπŸŽ‰!

Notifications You must be signed in to change notification settings

sajibcse68/MyDailyLearn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MyDailyLearn πŸ§‘β€πŸ’»

This repository is a collection of useful commands, code snippets, and tutorials covering various technologies and concepts I encounter in my journey as a developer. 🌱

Explore, learn, and grow with me! πŸ“š

Show your support: ✨

  • Star ⭐ this repository to help it gain visibility.
  • Share πŸ“’ it with fellow developers who might find it useful.

star_me

Table of Contents

Hide/Show table of contents
Category Question
Basic
What is React
Installing
React Props
Use Default Props
Use PropTypes to Define the Props We Expect
Life Cycle
React Hook Flow Diagram
React App Life-cycle Walk through
LifeCycle Methods in Class Component
React State
Understanding React setState
Update a State Property
Passing a Function to setState()
Access Previous State using Updater
What is useState Lazy Initialization?
When to Use Derived State?
Alternative State Initialization
Type of Components
Stateless Functional Component, Stateless Component and Stateful Component
Compound Component
Uncontrolled Component
Controlled Component
Higher Order Component
Fragment
React Fragment
Refs and the DOM
Refs and the DOM
When to Use Refs
Creating Refs
Accessing Refs
Use Callback on Image Load with Ref
React Portals
React Portals
Usage of Portals
React Route
Familiar with Various React Router Libraries
How to Not Navigation with React Router
Three (3) Types of Router
Context API
Understand Context API
Referencing Context in Stateless Functional Components
Redux vs Context API
Performance
Use of react-addons-perf
What are the tricks we can use to optimize react app?
Miscellaneous
React vs ReactDOM
How to Prevent from re-rendering?
When to Use Component Instead of PureComponent?
How can we avoid Props Drilling in React?
What is the render props?
React Unit Tests vs Integration Tests for Components?
Migration from Class to Function Component

|

  • Configure git
    • Config file locations
    • Configure user's name & email
    • Various important config commands
  • Branching
    • Create new branch
    • Delete branch
    • Quick switch back to previous branch/commit-sha/references etc.
    • Branch listing
    • Rename a branch
    • Track new branch
    • Checkout branch/commit-sha/references/etc. (go forward/backward)
  • Add, Commit, Amend, Pull, Push, Merge & Delete
  • Checkout forward/backward
  • Cherry Pick
  • Stashing
  • Logging
  • Show - more logging
  • Recovery or Reset
    • Reset using reflog
  • Squash
  • Rebase
    • Change the author of an earlier commit
    • Change the commit message of an earlier commit
    • Reordering commits using rebase
    • Rebase options
  • Working with remotes
  • Conflicts
    • e.g. Merging release branch into master and we have 3 folders foo/, bar/, js/. Now want to resolve conflicts such as foo/, bar/ should like master and js/ should like release branch.
  • Git Submodules
  • Some important operations
    • Cleanup garbage in remote repository
    • Prune empty commits
    • Create a new WorkTree and work paralley in the same repo (different branch)
    • Add a signed-off-by field in a commit
    • How to tell git to ignore local changes (already tracked by git)?
    • Generate a Git Hash (SHA1) for specific contents
  • Tag and Releases
  • Fancy Commands
  • Concepts
    • Tracked vs Untrack file
    • GitHub vs Git
    • Commit Object
    • Three areas where code lives
    • Three types of git References
    • Different types of HEAD
    • The Seven Rules of a Great Git Commit Message
    • Difference between HEAD~ and HEAD^

Docker

  • Docker Install (latest or a specific version)
  • Run docker as daemon
  • Remove all containers
  • Remove all images
  • Run an image
  • print log of a container
  • Exec a container
  • Run image with binding port