Skip to content

Instantly share code, notes, and snippets.

View marcuwynu23's full-sized avatar
🔍
Searching for the Truth

Mark Wayne Menorca marcuwynu23

🔍
Searching for the Truth
View GitHub Profile
@marcuwynu23
marcuwynu23 / host-check.ps1
Created September 18, 2026 11:24
Windows Host Information
```powershell
# host-check.ps1
Write-Host "=== PowerShell ==="
$PSVersionTable |
Select-Object PSVersion, PSEdition, OS, Platform |
Format-List
Write-Host "`n=== System ==="
Get-CimInstance Win32_ComputerSystem |
@marcuwynu23
marcuwynu23 / DOC-PLAN.md
Created July 6, 2026 17:41
A blueprint for producing professional project documentation — `README.md`, `USER-GUIDE.md`, and `CONTRIBUTING.md`. Use this as a checklist when documenting any open-source project.

Documentation Plan Template

A blueprint for producing professional project documentation — README.md, USER-GUIDE.md, and CONTRIBUTING.md. Use this as a checklist when documenting any open-source project.


Table of Contents

AI Website Plan

Overview

A static marketing and documentation website for Likhis — a CLI tool for API route discovery. Designed for the tool's end users (backend developers who need API collections), not for contributors or plugin authors. Simple, fast, deployable anywhere.


1. Structure

@marcuwynu23
marcuwynu23 / CODE_OF_CONDUCT.md
Last active April 29, 2026 17:56
Community Standard Guidelines Files

Code of Conduct

Our Pledge

We as contributors and maintainers pledge to make participation in this project a harassment-free experience for everyone.

Our Standards

Examples of behavior that contributes to a positive environment include:

@marcuwynu23
marcuwynu23 / esbuild.config.js
Last active August 14, 2025 09:13
esbuild configuration template
const esbuild = require("esbuild");
const path = require("path");
const fs = require("fs");
// Parse command line arguments
const args = process.argv.slice(2).reduce((acc, arg) => {
const [key, value] = arg.replace(/^--/, "").split("=");
acc[key] = value;
return acc;
}, {});
@marcuwynu23
marcuwynu23 / App.tsx
Created June 30, 2025 14:23
React Router Setup with Dynamic Routes, Layouts, and Protected Pages
import { BrowserRouter, Route, Routes } from "react-router-dom";
import ProtectedRoute from "./auth/ProtectedRoute";
import Layout from "./layouts/Layout";
import Dashboard from "./pages/app/dashboard/Dashboard";
import Home from "./pages/app/home/Home";
import Login from "./pages/auth/login/Login";
function App() {
const routes = [
{
@marcuwynu23
marcuwynu23 / add-missing-imports-keybinding.md
Last active June 30, 2025 14:21
VS Code Keybinding: Add Missing Imports

💡 VS Code Keybinding: Add Missing Imports

This guide shows you how to add a custom keyboard shortcut in Visual Studio Code to trigger “Add Missing Imports” using the Source Action API.


🛠️ Step 1: Open Keyboard Shortcuts (JSON)

  1. Open Command Palette:
  • Press Ctrl + Shift + P (Windows/Linux)
@marcuwynu23
marcuwynu23 / App.tsx
Created June 12, 2025 10:40
Zustand Global Store with Persistence (localStorage) — Full Setup + Usage Example
import React from "react";
import { useAppStore } from "./zustand-store";
const App = () => {
const loading = useAppStore((state) => state.loading);
const authUser = useAppStore((state) => state.authUser);
const setAuthUser = useAppStore((state) => state.setAuthUser);
const setLoading = useAppStore((state) => state.setLoading);
const handleLogin = () => {
@marcuwynu23
marcuwynu23 / multi-mic-merger.html
Created June 9, 2025 07:05
Multi-Microphone Audio Merger in the Browser
<!-- This HTML demo merges audio from two physical microphones (if available) in the browser using the Web Audio API. It:
✅ Lists audio input devices
✅ Opens two getUserMedia streams
✅ Merges them with AudioChannelMergerNode
✅ Plays them back in real-time
✅ Records the mixed audio to a downloadable file (WebM)
Test it locally in a secure context (HTTPS or localhost).
@marcuwynu23
marcuwynu23 / README.md
Created June 9, 2025 06:45
FlexSearch Multi-Model Search API with TypeScript

FlexSearch Microservice

How to Run

  1. Install dependencies:
    npm install fastify flexsearch