Skip to content

Instantly share code, notes, and snippets.

View uncleSlayer's full-sized avatar
💻
Working from home

Siddhant Ota uncleSlayer

💻
Working from home
View GitHub Profile
This file has been truncated, but you can view the full file.
{
"statusCode": "10000",
"status": 200,
"message": "Enrollment data read successfully",
"data": {
"totalRows": 2023,
"data": [
{
"SL NO": "1",
"Form Number": "13010110962",
version: '3.1'
services:
db:
image: mysql
environment:
MYSQL_ROOT_PASSWORD: voyarent
MYSQL_USER: voyarent
MYSQL_PASSWORD: voyarent
import React from 'react';
import { yupResolver } from '@hookform/resolvers/yup';
import {
Box,
FormControl,
Grid,
InputLabel,
MenuItem,
Select,
Stack,
const arr = [-8, 2, 3, -6, 10];
const k = 2;
let l = 0;
let r = 0;
let answer = [];
let negIndex = [];
while (r < arr.length) {
if (arr[r] < 0) negIndex.push(r);
'use client'
import { Input } from "@nextui-org/react";
import { Button } from "@nextui-org/react";
import { useForm, SubmitHandler } from "react-hook-form"
interface searchFriendGithubUserNameInput {
userName: string
}
'use client'
import Link from 'next/link'
import {
Dialog,
DialogContent,
DialogDescription,
DialogHeader,
DialogTitle,
DialogTrigger,
import React from 'react'
import recipeImage from '@/app/images/recipes/recipecard.png'
const Header = () => {
return (
<div className='maxwt font-montserrat xl:w-[80%] lg:w-[80%]'>
<div className='flex my-24 justify-center gap-16'>
<div className='2xl:w-[480px] xl:w-[42%] lg:w-[42%]'>
<p className='2xl-text-4xl font-bold 2xl:mb-5 xl:mb-2 lg:text-3xl'>Hyderabadi Dum Chicken Biryani</p>
<p className='font-medium text-xl lg:text-base'>Enhancing the taste of Hyderabadi Chicken Biryani with the world's longest Basmati grain; Biryani Basmati.</p>
import { Router } from "express";
import JWT from "jsonwebtoken";
import { JWT_SECRET } from "configs"
import { prisma } from "database";
import { log } from "console";
export const fetchCart = Router()
fetchCart.post('/fetchcarts', async (req, res) => {
const token = req.cookies.token
import express from "express"
import { S3Client, GetObjectCommand, PutObjectCommand } from "@aws-sdk/client-s3"
import { getSignedUrl } from "@aws-sdk/s3-request-presigner"
const app = express()
const s3 = new S3Client({
region: 'ap-south-1',
credentials: {
accessKeyId: 'AKIAU4PZPBNNKINIY2G2',
secretAccessKey: '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'
'use client'
import React, { useEffect, useState } from 'react'
import Link from 'next/link'
import menu from '../../images/menu.png'
import Image from 'next/image'
const Nav = () => {
const [navState, setNavState] = useState(true)