Searching the best prompts from our community
Most saved prompts this week
Implement JWT auth securely. Flow: 1. User login with credentials. 2. Server validates and creates JWT. 3. Client stores JWT (httpOnly cookie or memory). 4. Include JWT in Authorization header. 5. Server verifies signature and claims. 6. Refresh tokens for long sessions. 7. Token expiration and rene...
Master transfer learning and domain adaptation techniques for leveraging pre-trained models across different domains and tasks. Transfer learning strategies: 1. Feature extraction: freeze pre-trained layers, train classifier only, computational efficiency. 2. Fine-tuning: unfreeze layers gradually, ...
Master legal writing principles for clear, enforceable contracts and documents. Contract structure: 1. Preamble: parties identification, document purpose. 2. Definitions: key terms with specific meanings. 3. Rights and obligations: detailed performance requirements. 4. Consideration: payment terms, ...
Conduct an outdoor lesson in a schoolyard or local park. Topic: Ecosystems. Activity: 'Bio-Blitz'. 1. Preparation: Define a 10x10 meter area. Provide students with field guides, magnifying glasses, and data collection sheets. 2. The Blitz (30 mins): In small groups, students identify and count as ma...
Organize a classroom library to maximize student use. Organization: 1. Leveling: Use a system like Fountas & Pinnell or Lexile levels, but keep it simple for students (e.g., color-coded stickers). 2. Bins & Baskets: Sort books into bins labeled by genre (fantasy, mystery, biography), author (e.g., a...
Master clustering algorithms for customer segmentation, data exploration, and pattern discovery in unsupervised settings. K-Means clustering: 1. Algorithm implementation: centroid initialization, iterative assignment, convergence criteria. 2. Hyperparameter tuning: k selection using elbow method, si...
Optimize pricing strategy. Models: 1. Cost-plus (cost + margin). 2. Value-based (customer willingness to pay). 3. Competitive (market rates). 4. Penetration (low to gain share). 5. Premium (high for positioning). 6. Freemium (free + paid tiers). 7. Usage-based. 8. Dynamic pricing. Test with A/B expe...
Manage remote teams effectively. Practices: 1. Over-communicate (async + sync). 2. Clear documentation culture. 3. Regular video check-ins. 4. Define working hours/availability. 5. Trust and autonomy. 6. Results over activity. 7. Virtual team building. 8. Right tools (Slack, Zoom, Notion). Set expec...
Negotiate vendor contracts effectively. Strategy: 1. Research market rates. 2. Get multiple quotes. 3. Understand your leverage. 4. Long-term vs short-term commitments. 5. Volume discounts. 6. Payment terms negotiation. 7. SLAs and penalties. 8. Exit clauses. Don't accept first offer. Bundle purchas...
Prepare for productive parent-teacher conferences. Preparation: 1. Gather student work samples (strengths and areas for growth). 2. Review grades, attendance, and behavior data. 3. Prepare specific examples and anecdotes. 4. Set 2-3 key talking points. 5. Anticipate questions and concerns. During co...
Structure effective use of breakout rooms in a synchronous online class. Strategy: 'Jigsaw' Activity. 1. Main Session: Introduce a complex topic with 4 sub-topics. 2. Expert Groups (10 mins): Assign students to breakout rooms, with each room focusing on one sub-topic. They become 'experts' on that p...
Guide through RMA process. Steps: 1. Verify return eligibility. 2. Issue RMA number. 3. Provide return shipping instructions. 4. Specify packaging requirements. 5. List items to include (accessories, documentation). 6. Explain inspection and refund timeline. 7. Provide tracking instructions. 8. Set ...
Ultra-detailed 17th-century Baroque ornament. Visuals: 1. Intricate gold leaf swirls and floral patterns. 2. Realistic depth and relief shadows. 3. Deep crimson velvet fabric background. 4. Reflection of a candle-lit room on the gold. 5. Seamlessly tiling pattern for high-end wallpaper, fashion, or ...
Handle damaged product claims. Process: 1. Express concern and apologize. 2. Request photos of damage. 3. Verify order details. 4. Explain replacement options (same item, refund, credit). 5. Arrange return shipping (prepaid label). 6. Expedite replacement shipment. 7. Waive any restocking fees. 8. F...
Authentic Thai green curry paste using mortar and pestle. Ingredients: 10 green chilies, 2 stalks lemongrass, galangal, shallots, garlic, cilantro roots, coriander seeds, cumin, kaffir lime zest, shrimp paste. Technique: 1. Toast dry spices first. 2. Pound chilies with salt. 3. Add aromatics one at ...
Craft a value-focused upsell message. Technique: 1. Start by solving their current need. 2. Identify relevant upgrade opportunity. 3. Frame as benefit to them, not sales pitch. 4. Show specific value they'll gain. 5. Use social proof (others like you chose). 6. Provide comparison chart. 7. Offer tri...
Implement computer vision solutions using deep learning for image classification, object detection, and visual analysis. Image preprocessing: 1. Data augmentation: rotation (±15°), horizontal flip, zoom (0.8-1.2x), brightness adjustment. 2. Normalization: pixel values [0,1], ImageNet normalization (...
Create a world-class creative portfolio with Framer Motion. Animations to implement: 1. Staggered entrance for hero text. 2. 'Scroll to view' reveal for project cards. 3. Smooth page transitions using AnimatePresence. 4. Custom cursor that changes shape on hover. 5. Parallax effect for the backgroun...
Create a comprehensive data management plan. Components: 1. Data types and formats. 2. Metadata and documentation standards. 3. Storage and backup strategy (3-2-1 rule). 4. Access and sharing policies. 5. Ethical and legal compliance (GDPR, HIPAA). 6. Roles and responsibilities. 7. Long-term preserv...
Build and lead high-performing creative teams through effective mentorship and development programs. Team structure optimization: 1. Senior creative director: strategic vision, client relationships, final creative approval. 2. Art director: visual execution, design team leadership, brand consistency...
Elevated chocolate chip cookies with brown butter. Brown butter: 1. Melt 2 sticks butter in saucepan. 2. Cook until milk solids turn golden brown and smell nutty. 3. Cool completely. Dough: brown butter, both sugars, eggs, vanilla, flour, baking soda, salt, dark chocolate chunks. Technique: 1. Cream...
Establish a billing dispute resolution process. Steps: 1. Acknowledge the dispute immediately. 2. Request specific details and documentation. 3. Review account history and transactions. 4. Explain charges clearly with itemization. 5. Identify any errors or misunderstandings. 6. Offer immediate corre...
Create a professional, empathetic response to a customer complaint. Structure: 1. Acknowledge the issue and validate their frustration. 2. Apologize sincerely without making excuses. 3. Explain what went wrong (if appropriate). 4. Outline specific steps to resolve the issue. 5. Provide a timeline fo...
Ensure intervention delivery matches intended protocol. Fidelity dimensions (NIH BCC): 1. Design fidelity: intervention based on theory and prior evidence. 2. Training fidelity: standardized training for intervention providers. 3. Delivery fidelity: intervention delivered as intended. 4. Receipt fid...
Master business writing that communicates clearly and drives executive action. Executive summary structure: 1. Problem statement: business challenge in 2-3 sentences. 2. Recommended solution: specific action needed. 3. Key benefits: quantified impact (revenue, cost savings, efficiency). 4. Resource ...
Create FDA-compliant nutrition labels. Requirements: serving size, calories, 13 nutrients (fat, cholesterol, sodium, carbs, protein, vitamins). Calculation: 1. List all ingredients with amounts. 2. Use USDA database for nutrient values. 3. Calculate per serving. 4. Round per FDA rules. Software: Gen...
Efficient batch sauce prep for week. Sauces: 1. Marinara (pasta, pizza). 2. Vinaigrette (salads). 3. Teriyaki (stir-fry). 4. Garlic-herb butter (vegetables, bread). 5. Tahini dressing (bowls). Portions: 1-cup jars, label and date. Storage: refrigerate 5-7 days, freeze 3 months. Sunday routine: 2-3 h...
Leverage AI to provide faster, more personalized feedback on student writing. Tools: Writable, Turnitin Feedback Studio, ChatGPT. Workflow: 1. Students submit essays to an AI-powered platform. 2. The AI provides instant feedback on grammar, spelling, sentence structure, and style. 3. The AI can also...
Implement federated learning systems for privacy-preserving machine learning across distributed data sources. Federated learning architecture: 1. Central server: model aggregation, global model updates, coordination protocol. 2. Client devices: local training, gradient computation, privacy preservat...
A magnificent, hyper-detailed mechanical dragon made of chrome, steel, and glowing blue circuits. It is perched atop a futuristic skyscraper, its metallic wings spread wide. Smoke and sparks emit from its joints. The city below is a blur of lights. Powerful, intricate, sci-fi fantasy, concept art.
Qualify opportunities with MEDDIC. Metrics: quantifiable business impact ('20% faster processing'). Economic Buyer: identify and engage decision maker who controls budget. Decision Criteria: understand evaluation process, scoring matrix, must-haves. Decision Process: map timeline, stakeholders invol...
A tiny knight in shining armor stands bravely before a colossal, ancient giant made of rock and moss. The giant is waking up from a long slumber, its eyes glowing. The scene is set in a misty, mountainous valley, emphasizing the immense scale difference. Epic fantasy, cinematic, concept art.
Develop distinctive writing voice and style through deliberate practice and technique. Voice elements: 1. Syntax: sentence structure, length variation, rhythm and flow. 2. Diction: word choice, vocabulary level, technical vs. conversational. 3. Tone: attitude toward subject matter and reader. 4. Poi...
Master ensemble learning techniques combining multiple models for improved prediction accuracy and robustness. Ensemble strategies: 1. Bagging: bootstrap aggregating, parallel model training, variance reduction. 2. Boosting: sequential model training, error correction, bias reduction. 3. Stacking: m...
Deliver strategic QBRs to enterprise customers. Preparation (1 week before): 1. Pull usage analytics. 2. Calculate ROI realized. 3. Gather customer feedback/support tickets. 4. Prepare personalized slide deck. Attendees: customer champion, economic buyer, your CSM and AE. QBR agenda (60 mins): 1. We...
Implement ethical AI practices with bias detection, fairness assessment, and responsible machine learning development. Bias detection methods: 1. Statistical parity: equal positive prediction rate across groups, demographic parity constraint. 2. Equalized odds: equal true positive and false positive...
Automate network infrastructure management using modern tools and practices for scalable, reliable networking. Network automation tools: 1. Ansible networking: multi-vendor support (Cisco, Juniper, Arista), configuration templates, idempotent operations. 2. NAPALM: vendor-agnostic API, configuration...
A technical guide to boosting email opens. Covers: 1. Subject line psychology. 2. Preheader text strategy. 3. Deliverability checks (SPF, DKIM). 4. Best times to send per timezone. 5. A/B testing variables. Includes 20 'High-Open' subject line templates for various industries (Finance, Creative, Saa...
Qualify inbound leads with BANT framework. Budget: 'Have you allocated budget for this initiative?' or 'What's your expected investment range?' Authority: 'Who else is involved in this decision?' Identify all decision makers and influencers. Need: 'What's driving this evaluation now?' 'What happens ...
Advanced strategies for X/Twitter growth. 1. The 'Thread' structure (1 text-heavy, 1 visual). 2. Engagement hacking (Responding to big accounts). 3. Profile optimization for follow-rate. 4. Automation rules for 'Auto-DMs' and 'Ghostwriting'. 5. Monetization pathways. Real-world insights derived from...
Use Jotai's atomic approach to state. Concepts: 1. atom() for primitive state. 2. Derived atoms with get(). 3. Async atoms for data fetching. 4. atomFamily for dynamic atoms. 5. useAtom hook like useState. 6. Focus on specific atoms. 7. No string keys needed. 8. Works with Suspense. Minimal re-rende...
Create stunning animations with Framer Motion. Techniques: 1. motion.div with animate prop. 2. Variants for orchestration. 3. Layout animations with layout prop. 4. Shared layout animations. 5. Exit animations with AnimatePresence. 6. Gesture animations (drag, tap, hover). 7. useScroll for scroll-tr...
Implement centralized logging with ELK Stack (Elasticsearch, Logstash, Kibana) for comprehensive log analysis and troubleshooting. ELK Stack architecture: 1. Elasticsearch: distributed search engine, 3-node cluster minimum, data replication factor 1. 2. Logstash: log processing pipeline, input plugi...
Build immersive 3D with Three.js. Setup: 1. Scene, camera, renderer trio. 2. Geometry and materials. 3. Lights (ambient, directional, point). 4. OrbitControls for camera. 5. Animation loop with requestAnimationFrame. 6. GLTF model loading. 7. Texture mapping and normal maps. 8. Post-processing effec...
Build with Supabase as backend. Features: 1. PostgreSQL database with REST API. 2. Auto-generated APIs from schema. 3. Authentication (email, OAuth, magic links). 4. Row-level security policies. 5. Real-time subscriptions. 6. Storage for files. 7. Edge functions for serverless. 8. TypeScript SDK. Us...
Deploy Appwrite for self-hosted backend. Features: 1. Database with collections. 2. User authentication and teams. 3. Storage with file permissions. 4. Cloud functions in multiple languages. 5. Real-time events. 6. Webhooks for integrations. 7. User roles and permissions. 8. SDKs for web and mobile....
Build a production-grade CI/CD pipeline using GitHub Actions. Workflow: 1. Trigger on push to main and pull requests. 2. Run linting and unit tests in parallel. 3. Build Docker image with caching. 4. Run integration tests against test environment. 5. Deploy to staging on main branch merge. 6. Manual...
Generate images with Stable Diffusion. Setup: 1. Load model with diffusers library. 2. Text-to-image with prompts. 3. Negative prompts for exclusions. 4. CFG scale for prompt adherence. 5. Steps and sampling method. 6. Image-to-image for variations. 7. Inpainting for edits. 8. ControlNet for guided ...
Provision AWS infrastructure using Terraform. Resources to create: 1. VPC with public and private subnets across 3 AZs. 2. ECS Fargate cluster for containerized apps. 3. RDS PostgreSQL with Multi-AZ and automated backups. 4. Application Load Balancer with SSL certificate. 5. S3 bucket for static ass...
Master Docker containerization for microservices with optimization and security best practices. Dockerfile optimization: 1. Multi-stage builds: separate build and runtime environments, reduce image size by 70-80%. 2. Base image selection: Alpine Linux for minimal footprint, distroless for security. ...