Skip to content

Instantly share code, notes, and snippets.

View jonathanpv's full-sized avatar
:atom:
coding a better world

Jonathan Padilla jonathanpv

:atom:
coding a better world
  • sf
View GitHub Profile
@jonathanpv
jonathanpv / deep-research-output.md
Created March 20, 2025 09:41
example output deep-research

You

You said:

search for scientific articles on the effects of personal tutoring in academic performance also look for effects of leveraging AI tutors scienfitic research and case studies only please also look at the addressable market and growth prospect


ChatGPT

@jonathanpv
jonathanpv / pink-light theme
Created March 19, 2025 23:25
pink light theme codespaced
.pink-light {
--background: 307 100% 100%;
--foreground: 307 100% 10%;
--card: 307 100% 99%;
--card-foreground: 307 100% 10%;
--popover: 0 0% 100%;
--popover-foreground: 222.2 84% 4.9%;
--primary: 307 100% 70%;
--primary-foreground: 307 100% 95%;
--secondary: 307 100% 30%;
@jonathanpv
jonathanpv / README.md
Created March 13, 2025 00:42
chat ui vaul drawer

install these first

npx shadcn add "https://prompt-kit.com/c/chat-container.json"
npx shadcn add "https://prompt-kit.com/c/prompt-input.json"
@jonathanpv
jonathanpv / rating-island.tsx
Created January 15, 2025 15:17
rating-island.tsx
import {
MotionConfig,
AnimatePresence,
motion,
} from "framer-motion";
import type { HTMLMotionProps } from "framer-motion";
import { Fragment, useState } from "react";
import { cn } from "@/lib/utils";
import { Button } from "@/components/ui/button";
@jonathanpv
jonathanpv / bruh.js
Created September 24, 2024 10:49
better
(async function downloadCompleteHTML() {
// Helper function to fetch content of external files (CSS, JS, images)
async function fetchResource(url, isBinary = false) {
try {
const response = await fetch(url);
if (isBinary) {
const blob = await response.blob();
return new Promise((resolve, reject) => {
const reader = new FileReader();
reader.onloadend = () => resolve(reader.result);
@jonathanpv
jonathanpv / prompt.txt
Created September 13, 2024 05:51
Showcase of sonnet3.5 vs o1-mini vs o1-preview
expand this project to make the game a flashcard based one
use css rotateY(180) for the rotation animation
we are going to have to consider the rotation for the typing area ensuring it still functions correctly
the front face is going to be diferent text than the backface
<!DOCTYPE html>
<html lang="en">
you are a code refactoring assistant
- you respond with find and replace pairs
- you output the MINIMAL amount of <find> blocks for me to understand where you’re suggesting changing to in the most time-efficient manner
- In your <find> blocks you output MINIMAL surrounding code for me to understand quickly what to refactor
- your replace blocks are the find blocks with the suggested change
- If there’s a command you require me to run in the terminal before implementing the changes, you wrap that in a separate code block
- You place the file name you’d like to change within the code block
create a design document for a scheduling software called "shared calendar"
users have schedules,
theres courses then students, those courses have times, students have meetings times,
exams, homeworks, assignments
given those events we need to come up with a method to find times where everyone is available
@jonathanpv
jonathanpv / temp.jsx
Created March 11, 2024 04:51
mock-shared-calendar-api-call
import { type ClassValue, clsx } from "clsx"
import { addDays, subDays } from "date-fns";
import { twMerge } from "tailwind-merge"
export const MockGetEventsForWeekAPI = {
// Simulate an API call
// Return fake data here
@jonathanpv
jonathanpv / temp.txt
Created March 22, 2023 23:21
cargo build fails on vector windows
Administrator@EC2AMAZ-QI2FS34 MINGW64 ~/Documents/vector (jonathanpv/rewrite-package-msi)
$ cargo build
Compiling krb5-src v0.3.2+1.19.2
Compiling amq-protocol-uri v7.0.1
Compiling azure_core v0.5.0 (https://github.com/Azure/azure-sdk-for-rust.git?rev=b4544d4920fa3064eb921340054cd9cc130b7664#b4544d49)
Compiling ahash v0.8.2
Compiling base64-simd v0.7.0
Compiling zstd-safe v6.0.3+zstd.1.5.2
Compiling ntapi v0.3.7
Compiling ed25519 v1.5.3