Skip to content

Instantly share code, notes, and snippets.

View Mahdi-Hasan's full-sized avatar
💭
...

Mehedi Hasan Mahdi-Hasan

💭
...
View GitHub Profile
@Mahdi-Hasan
Mahdi-Hasan / content.md
Created January 22, 2025 16:20
Topic Segmentation ( A Progressive Journey of Learning Loops)

Learning About Loops: A Progressive Journey

Segment 1: Introduction to Loops

Welcome! Let's start with the basic concept of loops in programming.

Basic Concept

A loop is like a repetition machine in programming. Instead of writing the same code multiple times, we can tell the computer to repeat it for us. Think of it like hitting the repeat button on a song - you don't need to keep pressing play!

Interactive Questions

Let's check your understanding:

@Mahdi-Hasan
Mahdi-Hasan / wsl.md
Last active October 25, 2021 02:57
Docker এ WSL Backend Use করে hadoop cluster create ও mapreduce এর মাধ্যেমে wordcount করা

WSL হচ্ছে Windows Subsystem for Linux যেটা windows এ GNU/Linux রান করার সুবিধা দেয়।

1। WSL enable ও WSL এ লিনাক্স distro install করার জন্য এই blog টা follow করা যেতে পারে https://linuxhint.com/install_ubuntu_windows_10_wsl/

2। docker এর সাথে WSL integration এর জন্য docker এর official ডকুমেন্টেশন https://docs.docker.com/desktop/windows/wsl/

[Note : যদি docker settings এর resourcewsl integration এর option না আসে । তাহলে docker reinstall করলে সহজেই তা ফিক্স হয়ে যাবে ।]

3.এবার WSL এ install দেয়া লিনাক্স distro এর terminal এ code .লিখলেই docker এর remote container এ vscode চালু হয়ে যাবে ।

@Mahdi-Hasan
Mahdi-Hasan / VivaSoft Viva Questions
Last active August 22, 2021 17:01
This is a question of Multilevel Inheritance....What will be the output & Explain your answer.
public A{
public void print(){
System.out.println("Inside A");
}
}
class B extends A{
public void print(){
System.out.println("Inside B");
}
}