类型
状态
日期
链接
摘要
标签
分类
图标
密码
语言
Cosmic keystrokes
Generate an interactive speed typing game in a single HTML file, featuring side-scrolling gameplay and Tailwind CSS styling.
prompt:
Write me a fully complete web app as a single HTML file. The app should contain a simple side-scrolling game where I use WASD to move around. When moving around the world, occasionally the character/sprite will encounter words. When a word is encountered, the player must correctly type the word as fast as possible.The faster the word is successfully typed, the more point the player gets. We should have a counter in the top-right to keep track of points. Words should be random and highly variable to keep the game interesting.You should make the website very aesthetic and use Tailwind.
Example output:
API request
Python:
TypeScript:
Corporate clairvoyant
Extract insights, identify risks, and distill key information from long corporate reports into a single memo.
prompt:
Your task is to analyze the following report: <report> [Full text of Matterport SEC filing 10-K 2023, not pasted here for brevity] </report> Summarize this annual report in a concise and clear manner, and identify key market trends and takeaways. Output your findings as a short memo I can send to my team. The goal of the memo is to ensure my team stays up to date on how financial institutions are faring and qualitatively forecast and identify whether there are any operating and revenue risks to be expected in the coming quarter. Make sure to include all relevant details in your summary and analysis.
Example output:
To: Investment TeamFrom: [Your Name]Date: March 4, 2024Subject: Matterport 2022 10-K Highlights and Financial OutlookHi team,I have identified some key takeaways from Matterport's 2022 annual report:Financial Performance:
- Revenue increased 22% to $136.1M in 2022, driven by growth in subscription and services revenue
- However, gross margin decreased from 54% to 38% due to increased costs from product revenue and supply chain challenges
- Operating losses widened to $275.5M as the company invested heavily in R&D and sales & marketing to drive growth
- Ended 2022 with $476.9M in cash and investments to fund operations
Business Highlights:
- Subscriber base grew 39% to over 701,000 at end of 2022. Spaces under management reached 9.2 million
- Expanded platform with launch of Matterport Axis motorized mount, Pro3 camera, and major updates to cloud software
- Completed acquisitions of Enview (AI for 3D spatial data) and VHT Studios (real estate marketing) to enhance offerings
- Signed notable partnerships with Burns & McDonnell and CGS to deliver Matterport's solutions to their enterprise customers
Outlook:
- Matterport sees a massive market opportunity in digitizing the world's buildings and spaces (estimates $240B+ TAM)
- Focused on driving adoption with large enterprise customers across key verticals like real estate, AEC, facilities management, and more
- Will continue investing in R&D and international expansion to penetrate the largely untapped global building market
- Near-term growth and margins may be impacted by macroeconomic headwinds and supply chain issues
- However, healthy liquidity position and relatively sticky customer base provide downside protection
In summary, Matterport delivered strong top-line growth in 2022 as it made progress penetrating a huge global market. While profitability remains challenged as the company invests heavily for growth, its balance sheet looks solid. Apart from some ongoing supply chain issues, the underlying business momentum appears intact based on key operating metrics. Barring a severe economic downturn, Matterport seems well-positioned to continue gaining share in the nascent building digitization space.
API request
Python:
TypeScrip
Website wizard
Create one-page websites based on user specifications.
prompt:
Create a one-page website for an online learning platform called "EduQuest" with the following features and sections: A fixed navigation bar with links to course categories (Math, Science, Languages, Arts) and a search bar. A hero section with a video background showcasing students learning online, a dynamic tagline that rotates between "Learn at your own pace," "Discover new passions," and "Expand your horizons" every 3 seconds, and a "Get Started" button leading to a course catalog. A featured courses section displaying course cards with placeholders for course images, titles, instructors, and descriptions. An interactive "Learning Paths" section with a short quiz to determine learning styles and interests, and a button to start the quiz. A "Success Stories" section featuring testimonials from satisfied students, with placeholders for the testimonial text and student names. A footer with links to the platform's blog, FAQ, privacy policy, and a "Contact Us" button that opens a modal window with a contact form and customer support information. Include filler placeholder content for the video background, course cards, and testimonials. Embed the CSS styles within the <style> tag in the <head> section and place the JavaScript code within the <script> tag at the end of the <body> section. The JavaScript code should handle the dynamic tagline in the hero section, rotating through the different taglines every 3 seconds.
Example output
<!DOCTYPE html><html lang="en"<head<meta charset="UTF-8"<meta name="viewport" content="width=device-width, initial-scale=1.0"<titleEduQuest - Online Learning Platform</title<style/* CSS Styles */body {font-family: Arial, sans-serif;margin: 0;padding: 0; } header {background-color: #333;color: #fff;padding: 20px;position: fixed;top: 0;left: 0;width: 100%;z-index: 999; } nav ul {list-style: none;margin: 0;padding: 0;display: flex;justify-content: space-between; } nav ul li a {color: #fff;text-decoration: none;padding: 10px; } .hero {height: 100vh;display: flex;flex-direction: column;justify-content: center;align-items: center;text-align: center;position: relative;overflow: hidden; } .hero video {position: absolute;top: 0;left: 0;width: 100%;height: 100%;object-fit: cover;z-index: -1; } .hero h1 {font-size: 48px;margin-bottom: 20px; } .hero p {font-size: 24px;margin-bottom: 40px; } .hero button {padding: 10px 20px;font-size: 18px;background-color: #333;color: #fff;border: none;cursor: pointer; } .featured-courses, .success-stories {padding: 40px; } .course-card {background-color: #f5f5f5;padding: 20px;margin-bottom: 20px; } .testimonial {background-color: #f5f5f5;padding: 20px;margin-bottom: 20px; } footer {background-color: #333;color: #fff;padding: 20px;text-align: center; } footer a {color: #fff;text-decoration: none;margin: 0 10px; } footer button {padding: 10px 20px;font-size: 18px;background-color: #fff;color: #333;border: none;cursor: pointer;margin-top: 20px; }</style</head<body<header<nav<ul<li<a href="#"Math</a</li<li<a href="#"Science</a</li<li<a href="#"Languages</a</li<li<a href="#"Arts</a</li<li<input type="text" placeholder="Search"</li</ul</nav</header<section class="hero"<video src="placeholder-video.mp4" autoplay loop muted</video<h1Welcome to EduQuest</h1<p id="tagline"Learn at your own pace</p<buttonGet Started</button</section<section class="featured-courses"<h2Featured Courses</h2<div class="course-card"<img src="placeholder-course-image.jpg" alt="Course Image"<h3Course Title</h3<pInstructor: John Doe</p<pCourse description goes here.</p</div<div class="course-card"<img src="placeholder-course-image.jpg" alt="Course Image"<h3Course Title</h3<pInstructor: Jane Smith</p<pCourse description goes here.</p</div</section<section class="success-stories"<h2Success Stories</h2<div class="testimonial"<p"EduQuest helped me learn a new skill and advance my career. Highly recommended!"</p<pJohn Doe</p</div<div class="testimonial"<p"I never thought I could learn a new language online, but EduQuest made it possible. Thank you!"</p<pJane Smith</p</div</section<footer<a href="#"Blog</a<a href="#"FAQ</a<a href="#"Privacy Policy</a<buttonContact Us</button</footer<script// JavaScript Codeconst taglines = ["Learn at your own pace","Discover new passions","Expand your horizons" ]; let index = 0;const taglineElement = document.getElementById("tagline"); function rotateTagline() {taglineElement.textContent = taglines[index];index = (index + 1) % taglines.length; } setInterval(rotateTagline, 3000);</script</body</htmlThis code creates a one-page website for "EduQuest" with the following features and sections:
- A fixed navigation bar with links to course categories (Math, Science, Languages, Arts) and a search bar.
- A hero section with a placeholder video background, a dynamic tagline that rotates between "Learn at your own pace," "Discover new passions," and "Expand your horizons" every 3 seconds, and a "Get Started" button.
- A featured courses section displaying course cards with placeholders for course images, titles, instructors, and descriptions.
- A "Success Stories" section featuring testimonials from satisfied students, with placeholders for the testimonial text and student names.
- A footer with links to the platform's blog, FAQ, privacy policy, and a "Contact Us" button.
The CSS styles are embedded within the<style>tag in the<head>section, and the JavaScript code is placed within the<script>tag at the end of the<body>section.The JavaScript code handles the dynamic tagline in the hero section, rotating through the different taglines every 3 seconds using thesetIntervalfunction.Please note that the video background, course images, and testimonials are placeholders and should be replaced with actual content.
API request
Python:
TypeScript:
Excel formula expert
Create Excel formulas based on user-described calculations or data manipulations.
prompt:
I have a table with sales data, including the salesperson's name in column A, the product category in column B, the sales amount in column C, and the date of sale in column D. I want to calculate the total sales amount for each salesperson, but only for sales of products in the "Electronics" category that occurred in the month of January. Can you help me with the Excel formula to achieve this?
Example output:
To calculate the total sales amount for each salesperson based on the given criteria, you can use the following nested Excel formula:=SUMPRODUCT((A2:A100=A2)(B2:B100="Electronics")(MONTH(D2:D100)=1)*(C2:C100))Explanation:The SUMPRODUCT function in Excel allows you to perform multiple calculations and conditions within a single formula. Here's how the formula works:
- (A2:A100=A2) creates an array of TRUE/FALSE values indicating whether each cell in the range A2:A100 matches the salesperson's name in cell A2.
- (B2:B100="Electronics") creates an array of TRUE/FALSE values indicating whether each cell in the range B2:B100 contains the product category "Electronics".
- (MONTH(D2:D100)=1) creates an array of TRUE/FALSE values indicating whether each cell in the range D2:D100 represents a date in the month of January.
- (C2:C100) is the range containing the sales amounts.
The SUMPRODUCT function multiplies the corresponding elements of these arrays and then sums up the results. In this case, it multiplies the TRUE/FALSE values (1 for TRUE, 0 for FALSE) with the sales amounts, effectively summing only the sales that meet all the specified criteria.Tip: Make sure the ranges A2:A100, B2:B100, C2:C100, and D2:D100 cover all the relevant data in your table. If your data extends beyond row 100, adjust the ranges accordingly. Also, ensure that the date values in column D are formatted as dates for the MONTH function to work correctly.
API request
Python:
TypeScript:
Google apps scripter
Generate Google Apps scripts to complete tasks based on user requirements.
prompt:
Write me a Google apps script that will translate all text in a Google Slides presentation to Korean.
Example output
Here's a Google Apps Script that translates all the text in a Google Slides presentation to Korean:JavaScriptHere's how the script works:
- The
translateSlidesToKorean()function retrieves the active Google Slides presentation usingSlidesApp.getActivePresentation().
- It gets all the slides in the presentation using the
getSlides()method.
- We iterate over each slide in the presentation.
- For each slide, we retrieve all the page elements (shapes, text boxes, tables, etc.) using the
getPageElements()method.
- We iterate over each page element on the slide.
- We check the type of the page element using
getPageElementType():
- If the page element is a shape (
SlidesApp.PageElementType.SHAPE), we get the text content of the shape usinggetText().asString(). We then translate the text to Korean usingLanguageApp.translate(text, '', 'ko'), where''represents the source language (auto-detect) and'ko'represents the target language (Korean). Finally, we set the translated text back to the shape usingsetText().- If the page element is a table (
SlidesApp.PageElementType.TABLE), we iterate over each cell in the table and translate the text within each cell similarly to how we handle shapes.
- The script continues to process all the page elements on each slide until all the text in the presentation has been translated to Korean.
Note: This script assumes that you have the necessary permissions to access and modify the Google Slides presentation. Make sure you have the required access rights before running the script.Also, keep in mind that the translation is performed using the Google Translate API, so the quality of the translation may vary depending on the complexity of the text and the capabilities of the translation service.
API request
Python:
TypeScript:
Python bug buster
Detect and fix bugs in Python code.
prompt:
def calculate_average(nums):sum = 0for num in nums:sum += numaverage = sum / len(nums)return averagenumbers = [10, 20, 30, 40, 50]result = calculate_average(numbers)print("The average is:", results)
Example output
Corrected Python code:PythonExplanation:
- Changed the variable name "sum" to "total" to avoid using the built-in Python function "sum()".
- Fixed the typo in the print statement, changing "results" to "result" to correctly reference the variable.
API request
Python:
TypeScrip:
Time travel consultant
Help the user navigate hypothetical time travel scenarios and their implications.
prompt:
Let's say I have a time machine and I travel back to the year 1900. While there, I accidentally prevent the invention of the airplane by the Wright brothers. What would be the potential implications of this action?
Example output
That's an intriguing scenario! Let's explore the potential implications of preventing the invention of the airplane in 1900:
- Technological advancement: The invention of the airplane was a significant milestone in human history, paving the way for rapid globalization, modern warfare, and space exploration. Without it, the pace of technological advancement in fields like transportation, communication, and aerospace engineering might be significantly slower.
- Economic impact: The aviation industry has become a crucial part of the global economy, contributing to trade, tourism, and job creation. In a world without airplanes, the economy would likely be more localized, with a greater emphasis on ground and sea transportation.
- Cultural exchange: Air travel has facilitated the exchange of ideas, cultures, and people across the globe. Without airplanes, cultural exchange would be more limited, potentially leading to a less interconnected and diverse world.
- Butterfly effect: Removing such a significant invention from history could have far-reaching and unpredictable consequences. It might alter the course of major historical events, such as wars, migrations, and scientific discoveries, which could drastically change the world as we know it.
- Paradoxes: If your actions in the past prevent the invention of the airplane, it raises questions about the consistency of the timeline. Would you still have the knowledge and motivation to travel back in time in a world where airplanes were never invented?
These are just a few potential implications to consider. It's important to remember that the consequences of altering past events can be complex, far-reaching, and often difficult to predict.What are your thoughts on this scenario? What other aspects or implications do you think are worth exploring?
API request
Python:
TypeScript:
Storytelling sidekick
Collaboratively create engaging stories with the user, offering plot twists and character development.
prompt:
Let's create a story about a young woman named Lila who discovers she has the power to control the weather. She lives in a small town where everyone knows each other.
Example output
Great idea! Let's dive into Lila's story and explore how her newfound power affects her life and the town around her.Lila, a 22-year-old barista, has always been fascinated by the weather. One day, during a particularly strong thunderstorm, she discovers that she can control the elements with her mind. At first, she's thrilled and uses her power to help the town, ensuring perfect weather for important events like the annual harvest festival.However, as time goes on, some of the townspeople grow suspicious of Lila's uncanny ability to predict and control the weather. They start to whisper about her being a witch, and some even blame her for any adverse weather events that occur.To make matters worse, Lila's childhood friend, Tom, returns to town after years away. He's now a successful meteorologist and is determined to uncover the truth behind the town's unusual weather patterns. Lila must decide whether to trust Tom with her secret or risk losing his friendship.As tensions rise in the town, Lila learns that her powers come with a price. Each time she uses them, she experiences a physical and emotional toll. She must learn to control her abilities and find a way to balance her desire to help others with her own well-being.What do you think should happen next in the story? How could Lila's relationship with Tom evolve, and what challenges might she face as she tries to master her powers and win back the trust of the townspeople?
API request
Python:
TypeScript:
Cite your sources
Get answers to questions about a document's content with relevant citations supporting the response.
prompt:
Is Matterport doing well?
Example output
[1] "We have recently experienced rapid growth. Our subscribers have grown approximately 49-fold from December 31, 2018 to December 31, 2022. Our revenue increased by approximately 22% to $136.1 million for the year ended December 31, 2022, from approximately $111.2 million for the year ended December 31, 2021."[2] "Our gross profit decreased by $8.1 million or 14%, to $51.8 million for the year ended December 31, 2022, from $60.0 million for the year ended December 31, 2021, primarily attributable to certain disruptive and incremental costs due to the global supply chain constraints in fiscal year 2022."[3] "Our net dollar expansion rate of 103% for the three months ended December 31, 2022 demonstrates the stickiness and growth potential of our platform."Answer:Matterport has experienced rapid subscriber and revenue growth in recent years. [1] However, their gross profit declined in 2022 due to supply chain issues. [2] Their net dollar expansion rate indicates strong subscriber retention and potential for continued growth. [3] Overall, despite the dip in gross profit, Matterport's subscriber and revenue growth, along with their platform's stickiness, suggest the company is doing relatively well.
API request
Python:
TypeScript:
SQL sorcerer
Transform everyday language into SQL queries.
prompt:
Get the list of customers who have placed orders but have not provided any reviews, along with the total amount they have spent on orders.
Example output
SQL
API request
Python:
TypeScript:
- 作者:阳光
- 链接:https://www.dp7575.com//prompt/2025/10/16/prompt-026
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。