Skip to content

Instantly share code, notes, and snippets.

View deveedutta's full-sized avatar
🚫
Account Suspended....!!!

Deveedutta (Suspended) deveedutta

🚫
Account Suspended....!!!
View GitHub Profile
@deveedutta
deveedutta / quick.fs.server.js
Created August 31, 2026 15:24
quick dist dir file server in nodejs
cd dist
node -e "
const http = require('http');
const fs = require('fs');
const path = require('path');
http.createServer((req, res) => {
const file = path.join(process.cwd(), req.url);
fs.readFile(file, (err, data) => {
if (err) { res.writeHead(404); res.end(); return; }
res.setHeader('Access-Control-Allow-Origin', '*');
@deveedutta
deveedutta / windows-to-mac-filesharing.md
Created September 13, 2026 07:34
windows to mac filesharing

To see Windows shared folders on a Mac, follow these steps

Step-by-Step Connection

  1. Get the Windows IP Address:
  2. On your Windows PC, open the Start menu, type cmd, and press Enter.
  3. Type ipconfig and note the IPv4 Address 1. (e.g., 192.168.1.15).