You are a product manager and technical writer. Use the given variables to create a detailed Product Requirement Document (PRD) for implementing a feature. Be thorough and clear enough for developers to use directly.
- Feature Name: [Feature name]
- Purpose: [Describe the purpose of the feature in one or two lines—what it solves or enables users to do.]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from "react" | |
import { cva, type VariantProps } from "class-variance-authority" | |
import { cn } from "@/lib/utils" | |
const badgeVariants = cva( | |
"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", | |
{ | |
variants: { | |
variant: { |
/* Spiderman */
@layer base {
:root {
--background: 210 100% 20%;
--foreground: 0 100% 50%;
--card: 210 100% 25%;
--card-foreground: 0 100% 55%;
--popover: 210 100% 30%;
--popover-foreground: 0 100% 60%;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// app > api > webhook > stripe > js route.js --> | |
import { NextResponse } from 'next/server'; | |
import { headers } from 'next/headers'; | |
import Stripe from 'stripe'; | |
import connectMongo from '@/libs/mongoose'; | |
import User from '@models/User'; | |
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY); | |
const webhookSecret = process.env.STRIPE_WEBHOOK_SECRET; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const urlToSelectorMap = { | |
// "https://labs.perplexity.ai/": 'textarea[placeholder="Ask anything..."]', | |
"https://chatgpt.com/": 'textarea[placeholder="Message ChatGPT"]', | |
}; | |
// Initialize the SpeechRecognition object | |
window.SpeechRecognition = | |
window.webkitSpeechRecognition || window.SpeechRecognition; // webkitSpeechRecognition for Chrome and SpeechRecognition for FF | |
function getInputElement(url) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"workbench.editor.customLabels.patterns": { | |
"**/app/**/page.tsx": "${dirname} - Page", | |
"**/app/**/layout.tsx": "${dirname} - Layout", | |
"**/component/**/index.tsx": "${dirname} - Component" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
NC='\033[0m' | |
sudo apt-get update | |
printf "${GREEN}update libraries required for docker${NC}" | |
sudo apt-get install \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 1 bARaAhavavyAhataSamBuSakteH g. sg. m. bARa-Ahava-vyAhata-SamBu-Sakti 4 viseranam 2 rartisambanxah | |
90 2 Asattim acc. sg. f. Asatti 3 karma 3 karma | |
90 3 AsAdya abs. AN_sad 9 purvakalah 9 purvakalah | |
90 4 janArdanasya g. sg. m. janArdana 2 rartisambanxah 5 rartisambanxah | |
90 5 SarIriRA i. sg. m. SarIrin 10 viseranam 6 viseranam | |
90 6 jEtraSareRa i. sg. m. jEtra-Sara 10 viseranam 9 karanam | |
90 7 yatra ind. yatra 9 axikaranam 9 axikaranam | |
90 8 niHSaNkam ind. niHSaNka 9 kriyaviseranam 9 viseranam | |
90 9 Uze pft. ps. sg. 3 uz 0 root 0 root |