Skip to content

Instantly share code, notes, and snippets.

Download Ollama: https://ollama.com/
Ollama model library: https://ollama.com/library
Continue plugin: https://www.continue.dev/
AI coder LLM benchmark dashboard: https://evalplus.github.io/leaderboard.html
UI Interface for LLM: https://github.com/open-webui/open-webui
Local AI for browser: https://github.com/browser-use/web-ui
Reference videos: https://www.youtube.com/watch?v=42ifmFq6g7g
https://www.youtube.com/watch?v=he0_W5iCv-I
Open Web UI: https://www.youtube.com/watch?v=BzFafshQkWw
Browser AI Agent: https://www.youtube.com/watch?v=AK9mRsXdr4w
@samarr
samarr / randomIndiaPhoneNumber.js
Created May 17, 2024 16:25
Nodejs code to generate valid Indian phone number with epoch time as base
async createRandomIndianPhoneNumber()
{
const epochTime = Math.floor(Date.now() / 1000);
const randomBase = epochTime.toString().slice(-9);
//Indian valid phone number starts with 6,7,8 or 9
const randomNumber = Math.floor(Math.random() * (9 - 6 + 1)) + 6;
console.log(randomNumber);
const mobileNumberBase = `+91${randomNumber}${randomBase}`;