Npm update
npm install -g npm
Search for a command to run...
npm install -g npm
import { createContext, useState, useEffect } from 'react'; const NotificationContext = createContext({ notification: null, // { title, message, status } showNotification: function (notificationData) {}, hideNotification: function () {}, }); ...
"redis://127.0.0.1:6379"
document .getElementById("scrollTo") .scrollIntoView({ behavior: "smooth", block: "start" });
const speak = (msg) => { const sp = new SpeechSynthesisUtterance(msg); [sp.voice] = speechSynthesis.getVoices(); speechSynthesis.speak(sp); }; speak("Hellow world");
SIngle type "use strict"; const _ = require("lodash"); module.exports = { async find() { const results = await strapi .query("page-name") .find({ _limit: 1 }, [ "sliders", "sliders.buttons", ]); return _...
import firebase from "firebase"; const firebaseConfig = { apiKey: "", authDomain: "", projectId: "", storageBucket: "", messagingSenderId: "", appId: "", measurementId: "", }; const firebaseApp = firebase.initializeApp(firebaseConfig)...
/* eslint-disable prettier/prettier */ import { CanActivate, ExecutionContext, Injectable } from '@nestjs/common'; import { InjectModel } from '@nestjs/mongoose'; import { Model } from 'mongoose'; import { Observable } from 'rxjs'; import { User } fr...
flutter build web firebase init hosting --> directory build/web firebase deploy --only hosting