DEV Community

Mohamed Idris profile picture

Mohamed Idris

Hello, world!

Education

BCS @ Alexandria University

Work

Web Developer

4 Week Community Wellness Streak
2 Week Community Wellness Streak
Five Year Club
Four Year Club
Writing Debut
Three Year Club
Two Year Club
1 Week Community Wellness Streak
One Year Club
A No-Build Markdown Site for Study Notes (or any docs)

A No-Build Markdown Site for Study Notes (or any docs)

9 min read

Want to connect with Mohamed Idris?

Create an account to connect with Mohamed Idris. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
How to Reset Your MySQL Root Password on Ubuntu (When Nothing Works)

How to Reset Your MySQL Root Password on Ubuntu (When Nothing Works)

1
4 min read
I made a swing boat that reacts to doom scrolling

I made a swing boat that reacts to doom scrolling

1
2 min read
My bot stopped sending questions the day Egypt turned on Daylight Saving Time

My bot stopped sending questions the day Egypt turned on Daylight Saving Time

1
6 min read
Stop arguing about formatting in code reviews. Use Husky and lint-staged instead.

Stop arguing about formatting in code reviews. Use Husky and lint-staged instead.

1
3 min read
Resume Update!

Resume Update!

1
1 min read
How to Undo a Git Commit Without Losing History

How to Undo a Git Commit Without Losing History

2 min read
The 3-Second Rule: How to Write a Freelance Proposal That Gets Read (and Gets Replies)

The 3-Second Rule: How to Write a Freelance Proposal That Gets Read (and Gets Replies)

7 min read
If You Were a Server: How to Detect Issues and Keep Things Running Smoothly

If You Were a Server: How to Detect Issues and Keep Things Running Smoothly

1
10 min read
How to Remove a File from Git History (And What to Watch Out For)

How to Remove a File from Git History (And What to Watch Out For)

3 min read
JavaScript Promises — Understand what a Promise actually is, how .then() chaining works under the hood, and how async/await connects to all of it

JavaScript Promises — Understand what a Promise actually is, how .then() chaining works under the hood, and how async/await connects to all of it

3 min read
Dim Other Cards on Hover with Pure CSS

Dim Other Cards on Hover with Pure CSS

1
2 min read
I Built a Web App to Burn Bad Memories and Grow From Them

I Built a Web App to Burn Bad Memories and Grow From Them

1 min read
🧠 The Backend Developer Fundamentals Guide

🧠 The Backend Developer Fundamentals Guide

1
1
19 min read
You Don't Need a Mobile App. A Bot Might Be Enough

You Don't Need a Mobile App. A Bot Might Be Enough

2 min read
Some lessons of work culture

Some lessons of work culture

2
4 min read
Why Chrome Draws a Dark Line on Your CSS Scalloped Edge (and How to Fix It)

Why Chrome Draws a Dark Line on Your CSS Scalloped Edge (and How to Fix It)

1
3 min read
How I Fixed My Masonry Layout on Mobile Using window.matchMedia

How I Fixed My Masonry Layout on Mobile Using window.matchMedia

1
3 min read
CSS Masonry Layout in 2 Minutes (No JS Needed)

CSS Masonry Layout in 2 Minutes (No JS Needed)

1
1
6 min read
Why BEM Nesting Breaks in Tailwind v4

Why BEM Nesting Breaks in Tailwind v4

3
2 min read
How to Create the Perfect OG Image (With AI + A Simple Screenshot)

How to Create the Perfect OG Image (With AI + A Simple Screenshot)

2 min read
How to Move a Git Branch to a Different Parent

How to Move a Git Branch to a Different Parent

1 min read
Business-Aware Development: What Every Developer Should Know Beyond Code

Business-Aware Development: What Every Developer Should Know Beyond Code

5 min read
The 4 Rules of Client Communication Nobody Taught You

The 4 Rules of Client Communication Nobody Taught You

4 min read
How to Use React Query with React Router Loaders (Pre-fetch & Cache Data)

How to Use React Query with React Router Loaders (Pre-fetch & Cache Data)

2
3 min read
React Query: What Is `staleTime` and Why Should You Care?

React Query: What Is `staleTime` and Why Should You Care?

1
1
3 min read
Why You Need to Sync Production Back Into Dev

Why You Need to Sync Production Back Into Dev

1
2
2 min read
Our Git Branching & Development Workflow — A Practical Guide

Our Git Branching & Development Workflow — A Practical Guide

2
2
3 min read
Git Cherry-Pick: Pull a Specific Commit from Another Branch

Git Cherry-Pick: Pull a Specific Commit from Another Branch

2 min read
React Router: Loaders, Actions & Form

React Router: Loaders, Actions & Form

2 min read
JavaScript Object Methods - A Practical Guide

JavaScript Object Methods - A Practical Guide

3
2
4 min read
How to update your last commit's date?

How to update your last commit's date?

1
1 min read
Auth Tokens Explained: From "Just Ship It" to "Actually Secure"

Auth Tokens Explained: From "Just Ship It" to "Actually Secure"

1
10 min read
Your Users Shouldn't Have to Scroll to Find What Just Loaded

Your Users Shouldn't Have to Scroll to Find What Just Loaded

1
2 min read
React Refs & useRef — The "Secret Backdoor" to the DOM 🚪

React Refs & useRef — The "Secret Backdoor" to the DOM 🚪

1
2
3 min read
Two Types of Return in Arrow Functions: Implicit vs. Explicit

Two Types of Return in Arrow Functions: Implicit vs. Explicit

2
2
1 min read
Setting Up Environment Variables in Vite React Project - and - Important Things to Know About Using Environment Variables

Setting Up Environment Variables in Vite React Project - and - Important Things to Know About Using Environment Variables

2 min read
How to Easily Implement a Dark Theme Perfectly

How to Easily Implement a Dark Theme Perfectly

2 min read
React Query: Simplifying Data Fetching in React

React Query: Simplifying Data Fetching in React

4
4 min read
Implicit vs Explicit return?!

Implicit vs Explicit return?!

1
1 min read
Controlled Inputs or Uncontrolled Inputs in React?

Controlled Inputs or Uncontrolled Inputs in React?

3 min read
Virtual Meeting Guidelines: How to Maintain Professionalism

Virtual Meeting Guidelines: How to Maintain Professionalism

5 min read
How to Work Remotely: Simple Tips for Productivity and Success

How to Work Remotely: Simple Tips for Productivity and Success

1
3 min read
Best Practices for Prompting: Mastering Prompt Engineering

Best Practices for Prompting: Mastering Prompt Engineering

5 min read
E-mail Management: Being a Master of Your Inbox!

E-mail Management: Being a Master of Your Inbox!

3 min read
Timely and Clear Internal Written Communication

Timely and Clear Internal Written Communication

2
2 min read
Delivering Simple Solutions That Clients Love

Delivering Simple Solutions That Clients Love

1
3 min read
Axios: A Simple, Practical Guide (with Examples)

Axios: A Simple, Practical Guide (with Examples)

3
2
4 min read
Choosing a Data Structure for a Shopping Cart (Array vs Object vs Map)

Choosing a Data Structure for a Shopping Cart (Array vs Object vs Map)

4
2 min read
Understanding Mouse Movement Events in JavaScript

Understanding Mouse Movement Events in JavaScript

1
1 min read
Fixed vs Dynamic Nav Links Menu Toggle Styling in React

Fixed vs Dynamic Nav Links Menu Toggle Styling in React

1
2 min read
How to Create a Simple Carousel/Slider in React

How to Create a Simple Carousel/Slider in React

1
1
3 min read
How to Copy to Clipboard in JS

How to Copy to Clipboard in JS

1
1 min read
Using the Spread Operator in React

Using the Spread Operator in React

2 min read
Code Splitting in React with `lazy` and `Suspense`

Code Splitting in React with `lazy` and `Suspense`

3 min read
The useTransition react hook

The useTransition react hook

1
2
3 min read
The useMemo react hook: Optimizing Expensive Calculations with useMemo

The useMemo react hook: Optimizing Expensive Calculations with useMemo

1
2 min read
The useCallback react hook

The useCallback react hook

1
3 min read
Optimizing Re-Renders Using React.memo()

Optimizing Re-Renders Using React.memo()

2
2 min read
Optimizing Re-Renders by Moving State

Optimizing Re-Renders by Moving State

1
2 min read
loading...