Skip to content

Instantly share code, notes, and snippets.

View mdmarufsarker's full-sized avatar
🎯
Focusing

Md. Maruf Sarker mdmarufsarker

🎯
Focusing
View GitHub Profile
@mdmarufsarker
mdmarufsarker / reactNestedRouter.js
Created May 15, 2022 17:36
Since routes are regular React components, they may be rendered anywhere in the app, including in child elements. This helps when it's time to code-split your app into multiple bundles because code-splitting a React Router app is the same as code-splitting any other React app.
import React from "react";
import {
BrowserRouter as Router,
Switch,
Route,
Link,
useParams,
useRouteMatch
} from "react-router-dom";
@mdmarufsarker
mdmarufsarker / gpa.c
Created November 4, 2022 19:11
GPA Calculator for Green University Of Bangladesh
// Written by: Md. Maruf Sarker
// Platform: VSCODE
// Problem: GPA Calculator
// Language: cpp
// Date: 2022-11-05
#include <bits/stdc++.h>
using namespace std;
int main(){
{
// Place your snippets for java here. Each snippet is defined under a snippet name and has a prefix, body and // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example: