Skip to content

Instantly share code, notes, and snippets.

View mrpaaradox's full-sized avatar
it's all about time

Mr. Paradox mrpaaradox

it's all about time
View GitHub Profile
@mrpaaradox
mrpaaradox / .env.example
Created April 29, 2026 08:32
Code for Image Generation using Google Image Models via API Keys
GEMINI_API_KEY=
@mrpaaradox
mrpaaradox / .env.example
Last active April 29, 2026 06:05
Code for Image Generation using Google Image Models via ADC Method Only.
GOOGLE_CLOUD_LOCATION=global
GOOGLE_CLOUD_PROJECT=
// For Google Cloud Project you need to add your Google Project ID Here.
// You can get the ID by clicking on Project Picket Button on Navbar. A Modal Opens and in the ID Column copy that ID
// paste that Google Cloud Project ID above and you should be fine.
@mrpaaradox
mrpaaradox / password-breach.ts
Created June 21, 2025 15:37 — forked from Supernova3339/password-breach.ts
Check if your user's password has been in a data breach.
import crypto from 'crypto';
interface PasswordBreachResult {
isBreached: boolean;
breachCount: number;
}
/**
* Check if a password has been compromised in known data breaches
* Uses HaveIBeenPwned's Pwned Passwords API v3 (k-anonymity model)