Skip to content

Instantly share code, notes, and snippets.

View whyleonardo's full-sized avatar
🎯
Focusing

Christian Leonardo whyleonardo

🎯
Focusing
View GitHub Profile
@whyleonardo
whyleonardo / default.md
Created July 9, 2025 20:32 — forked from cablej/default.md
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 20 14.3% 4.1%;
--muted: 60 4.8% 95.9%;
--muted-foreground: 25 5.3% 44.7%;
--popover: 0 0% 100%;
--popover-foreground: 20 14.3% 4.1%;
--card: 0 0% 100%;
--card-foreground: 20 14.3% 4.1%;
function wordFrequency(text: string): {text: string, value: number }[] {
const words: string[] = text.replace(/[.,!?;:]/g, "").split(/\s/)
const freqMap: Record<string, number> = {}
for (const w of words) {
if(!freqMap[w]) freqMap[w] = 0
freqMap[w] += 1
}
return Object.keys(freqMap).map(word => ({
"use client"
import { cn } from "@/lib/utils"
import { motion } from "framer-motion"
export interface MultiStepProps {
size: number
currentStep?: number
}
@whyleonardo
whyleonardo / meteors.jsx
Last active April 29, 2024 19:41
Meteors animation with Tailwind
"use client"
import { CSSProperties, useEffect, useState } from "react"
interface MeteorsProps {
number?: number
delay?: number
speed?: number
xPos?: number
}