Skip to content

Instantly share code, notes, and snippets.

View QVGK's full-sized avatar
👷
Working very hard

qvgk QVGK

👷
Working very hard
View GitHub Profile
@QVGK
QVGK / wifiscan.js
Created March 28, 2024 09:24
HD Example 1
// Dependencies
const express = require("express");
const wifi = require("node-wifi");
// Config
const serverApp = express();
wifi.init({
iface: null,
});
@QVGK
QVGK / mounting.js
Created May 30, 2023 15:13
Mounting Method SSR
import { useEffect, useState } from "react"
export default function Index(){
const [mounted, setMounted] = useState(false)
useEffect(() => {
setMounted(true)
})
if (!mounted) {