Skip to content

Instantly share code, notes, and snippets.

View nsdevaraj's full-sized avatar
🎯
Focusing

N.S.Devaraj nsdevaraj

🎯
Focusing
View GitHub Profile
@nsdevaraj
nsdevaraj / open.sh
Created October 9, 2025 05:55
open all urls
while read -r url; do open "$url"; done < /tmp/urls.txt
@nsdevaraj
nsdevaraj / App.jsx
Last active October 9, 2025 03:34
detect face
import React, { useRef, useEffect, useState } from 'react';
import * as faceapi from '@vladmandic/face-api';
function App() {
const videoRef = useRef(null);
const canvasRef = useRef(null);
const [photo, setPhoto] = useState(null);
const [validation, setValidation] = useState({});
const [modelsLoaded, setModelsLoaded] = useState(false);
const [modelsLoading, setModelsLoading] = useState(true);
@nsdevaraj
nsdevaraj / background.js
Created August 11, 2025 09:12
GitHub pr counter
// background.js (robust counting + diagnostics)
chrome.action.onClicked.addListener(async () => {
console.log("Extension clicked β€” starting PR count...");
const tabs = await chrome.tabs.query({ url: "https://github.com/*" });
if (!tabs.length) {
console.warn("No matching GitHub tabs open.");
return;
}
@nsdevaraj
nsdevaraj / UI.txt
Created June 29, 2025 08:14
Teams addon
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Teams Email Bridge [?] [Settings]β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ πŸ“§ Quick Compose β”‚
β”‚ πŸ“‹ Templates β”‚
β”‚ πŸ‘₯ Recent Contacts β”‚
β”‚ πŸ“ Sent History β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
@nsdevaraj
nsdevaraj / chapters.sh
Created April 27, 2025 06:39
create sub folders in a go!
mkdir -p chapter1/1.{1,2,3,4,5,6}
@nsdevaraj
nsdevaraj / package.json
Created April 5, 2025 03:45
mcp with socket
{
"type": "module",
"dependencies": {
"@coinpaprika/api-nodejs-client": "^2.0.0",
"@modelcontextprotocol/sdk": "^1.7.0",
"ws": "^8.18.1",
"zod": "^3.24.2"
}
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>LinkedIn Resume Builder</title>
<link
href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Poppins:wght@400;500;600&display=swap"
rel="stylesheet"
/>
"""
Business Simulation Decision Types
=================================
This module defines the various decision types available in the business simulation
and their specific parameters and effects.
"""
from typing import Dict, Any, List, Optional
from enum import Enum
@nsdevaraj
nsdevaraj / Roadmap.md
Last active November 19, 2024 02:21
SuperFilter Features list

Inforiver SuperFilter

  • Popup Mode
  • Conditional formatting
  • Number Formatting (for tooltip)
  • Measure based on category, only Numeric Filter
  • Saved Filters
  • Alphanumeric filter*
  • Filter Context support
  • Single select for month / Day
{
"privileges": [
{
"name": "ExportContent",
"essential": true
},
{
"name": "LocalStorage",
"essential": true
},