$ docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react'; | |
import IconButton from '@mui/material/IconButton'; | |
import Menu from '@mui/material/Menu'; | |
import MenuItem from '@mui/material/MenuItem'; | |
import { MoreVerticalIcon } from '../../assets/icons/more-vertical'; | |
import { customSuccessToast, successToast } from '../toast/toast'; | |
const ITEM_HEIGHT = 48; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Basic CSS Media Query Template | |
* ------------------------------------------ | |
* Responsive Grid Media Queries - 1280, 1024, 768, 480 | |
* 1280-1024 - desktop (default grid) | |
* 1024-768 - tablet landscape | |
* 768-480 - tablet | |
* 480-less - phone landscape & smaller | |
* -------------------------------------------- | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SCOPE CODE OUTPUT Ex-1 | |
let b = 100; | |
{ | |
var a = 10; | |
let b = 20; | |
const c = 30; | |
console.log(a) | |
console.log(b) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git branch -m master main | |
git fetch origin | |
git branch -u main main | |
git remote set-head origin -a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init | |
git add -A | |
git commit -m 'Added my project' | |
git remote add origin git@github.com:abidullah786/my-new-project.git | |
git push -u -f origin main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const PI = 3.14159; | |
console.log(PI); // Output: 3.14159 | |
/// Attempting to reassign a const variable will result in an error | |
PI = 3.14; Error: Assignment to constant variable. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import storage from "./config/firebaseConfig"; | |
import { ref, uploadBytesResumable, getDownloadURL } from "firebase/storage"; | |
import { useEffect, useState } from "react"; | |
import StorageWatcher from "./components/storageWatcher"; | |
import uploadFileToFirebaseStorage from "./utils/uploadFileToFirebaseStorage"; | |
import AudioRecorder from "./components/audioRecorder"; | |
export default function App() { | |
// const [percent, setPercent] = useState(0); | |
// useEffect(() => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useEffect, useRef, useState } from "react"; | |
export default function Select() { | |
const [expend, setExpend] = useState(false) | |
const [selectedOption, setSelectedOption] = useState("Select authentication type") | |
const ref = useRef() | |
const optionList = ["WPA", "WEP"] | |
useEffect(() => { | |
document.addEventListener("click", handleClickOutside, true); | |
document.body.style.overflow = 'hidden'; | |
document.body.classList.add('modal-overlay') |
NewerOlder