Skip to content

Instantly share code, notes, and snippets.

View arjitvermaco's full-sized avatar
🏠
Working from home

arjitvermaco

🏠
Working from home
View GitHub Profile
You are senior product manager. your goal ist to
create a comprehensive Product Requirements Document (PRD) based on following instructions:
‹prd_instructions>
(PROJECT_DESCRIPTION}} +!— Include the full PROJECT_DESCRIPTION here →
</prd_instructions>
Follow these
steps to create your PRD
1. Begin with a brief introduction stating the purpose of the document.
2. Organize your PRD
into the following sections:

You are senior product manager. your goal ist to create a comprehensive Product Requirements Document (PRD) based on instructions: following ‹prd_instructions> (PROJECT_DESCRIPTION}} +!— Include the full PROJECT_DESCRIPTION here → </prd_instructions> Follow these steps to create your PRD

  1. Begin with a brief introduction stating the purpose of the document.
import React, { useState } from 'react'
export default function SimpleForm() {
// const [firstName, setFirstName] = useState('')
// const [lastName, setLastName] = useState('')
// const [email, setEmail] = useState('')
const [formData, setFormData] = useState({
firstName: '',
### deployment changes:-
#### run these commands
```shell
npm install -g eas-cli
```
```shell
eas login
```
@arjitvermaco
arjitvermaco / s2s.js
Created November 6, 2023 09:19
Apple Server To Server Notifications
{
"latest_receipt": "ewoXXXXX",
"latest_receipt_info": {
"original_purchase_date_pst": "2019-07-29 21:13:18 America/Los_Angeles",
"quantity": "1",
"unique_vendor_identifier": "XXX",
"original_purchase_date_ms": "1564459998000",
"expires_date_formatted": "2019-08-06 04:13:17 Etc/GMT",
"is_in_intro_offer_period": "false",
"purchase_date_ms": "1564459997000",
// function greetUser(){
// console.log("Hello World")
// }
// console.log(greetUser)
// console.log(typeof greetUser)
// console.dir(greetUser)
// greetUser.description = "This function greets the user"
import React, { useState } from "react";
export default function TaskForm({tasks,setTasks}) {
const [formData,setFormData] = useState({
title:'',
description:''
})
const handleChange = (e)=>{
const {name,value} = e.target;
import TaskForm from "./components/TaskForm";
import TaskList from "./components/TaskList";
function App() {
return (
<div className="bg-slate-300 min-h-screen pt-4">
<div className="max-w-xl mx-auto shadow-xl p-4 bg-white rounded-lg">
<h3 className="text-center mt-4">Task Management Application</h3>
<TaskForm />
</div>
import React from "react";
export default function TaskList() {
let array = [
{
title: "Task Title",
description: "Task Description",
done: false,
},
{
import React from "react";
export default function TaskForm() {
return (
<div>
<form>
<div>
<label for="first_name" className="block mb-2 text-sm font-medium">
Task Title
</label>