- 🌏 The official ISO C++ Get Started! page
- 🎥 Herb Sutter: (Not Your Father’s) C++
- 🎥 Beginning with C++ by Jens Weller
| // @ts-nocheck | |
| "use client"; | |
| import { useRef, useState } from 'react' | |
| import { motion } from 'framer-motion'; | |
| export default function MagneticFramer({children}) { | |
| const ref = useRef(null); | |
| const [position, setPosition] = useState({x:0,y:0}); | |
| const handleMouse = (e) => { |
| //! blog.localhost:3000/ -> hidden(localhost:3000/articles) | |
| //? subdomain.vercel.app -> hidden(vercel.app/{subdomain}) | |
| import { NextRequest, NextResponse } from "next/server"; |
| import { GetObjectCommand, GetObjectCommandOutput, S3Client, ListObjectsV2Command , S3 } from "@aws-sdk/client-s3"; | |
| import "dotenv/config"; | |
| import fs from "node:fs"; | |
| import path from "path"; | |
| import {Writable} from "stream" | |
| const { AccessKeyId, SecretAccessKey, S3ClientLink } = process.env; | |
| if (!AccessKeyId || !SecretAccessKey || !S3ClientLink) throw new Error("Missing environment variables"); | |
| class S3Handler { |
| "use client"; | |
| import { FC, useEffect, useRef } from "react"; | |
| interface pageProps {} | |
| const Page: FC<pageProps> = ({}) => { | |
| return ( | |
| <div className="flex min-h-screen bg-black relative items-center justify-center min-w-full"> | |
| <video | |
| className="w-[600px] max-w-full h-auto absolute z-20 translate-x-1/2 translate-y-[60%] scale-[1.5_1.3] rounded-[30%] blur-[100px] saturate-200 opacity-50" |
| //? npm i @huggingface/inference | |
| //? npm i --save-dev dotenv | |
| //? get the api key from here : https://huggingface.co/settings/tokens | |
| // 💖 written by Aryan Kathawale :) | |
| import { HfInference } from "@huggingface/inference"; | |
| import { config } from "dotenv"; |
| "use client"; | |
| import { Card , Image } from "@nextui-org/react"; | |
| import { gsap } from "gsap"; | |
| import localFont from "next/font/local"; | |
| import { Projects, colour , ProjectShow} from "@/lib/Projects"; | |
| import { useGSAP } from "@gsap/react"; | |
| import { Observer, ScrollTrigger } from "gsap/all"; | |
| import React , { | |
| useState,useEffect |