Skip to content

Instantly share code, notes, and snippets.

@ximoprofe
ximoprofe / code-editor-rules.md
Created January 18, 2025 06:08 — forked from yifanzz/code-editor-rules.md
EP12 - The One File to Rule Them All

[Project Name]

Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase.

Project Context

[Brief description ]

  • [more description]
  • [more description]
  • [more description]

Git Usage

  • use the following prefixes for commit messages followed by a colon and a space:
    • "fix" for bug fixes
    • "feat" for new features
    • "perf" for performance improvements
    • "docs" for documentation changes
    • "style" for formatting changes
    • "refactor" for code refactoring
    • "test" for adding missing tests
  • "chore" for chore tasks
@ximoprofe
ximoprofe / notepad.md
Created January 18, 2025 06:08 — forked from yifanzz/notepad.md
Cursor AI - Playwright Notepad

Playwright E2E Testing Guidelines

Test Structure and Organization

  • Store all tests under the tests/ folder
  • Name test files based on the system component being tested (conceptual, not React component)
  • Group related tests within a single file using test.describe blocks
  • Use descriptive test names that explain the functionality being tested
  • use test.use({storageState: ...}) for setting auth state across all test in the suite

Locator Strategy

@ximoprofe
ximoprofe / .cursorrules
Created January 18, 2025 06:07 — forked from yifanzz/.cursorrules
EP7 Notes
You are an expert in TypeScript, Node.js, Next.js App Router, React, Shadcn UI, Radix UI and Tailwind.
Project Context: This is a dev tool built for evaluating open source projects allowing people to better understand the maintainability, activity and longevity of a given project to allow devs to better decide whether they should include or use the given open source repositories after the analysis
Code Style and Structure
- Write concise, technical TypeScript code with accurate examples.
- Use functional and declarative programming patterns; avoid classes.
- Prefer iteration and modularization over code duplication.
- Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError).
- Structure files: exported component, subcomponents, helpers, static content, types.
@ximoprofe
ximoprofe / gtpsoptimization.md
Created October 22, 2024 05:36 — forked from IoTeacher/gtpsoptimization.md
Plan para Optimizar tu GPT Personalizado

Plan para Optimizar tu GPT Personalizado

1. Define su Propósito Específico

  • Pregunta clave: ¿Qué debe hacer tu GPT? (Ejemplo: redacción creativa, asesoramiento técnico, atención al cliente, tutor educativo).
  • Consejo: Mientras más clara sea la misión del GPT, más eficaz será. Especializarlo mejora su rendimiento.

Tarea:

@ximoprofe
ximoprofe / vim.md
Created October 2, 2024 06:07 — forked from hansrajdas/vim.md
VIM commands

Acronym

  • C-a ==> CTRL-a

Modes in VIM

  • Normal mode(n) When we open mode, the default mode is normal
  • Insert mode(i) When we want to insert some text, we press i, a or A etc to go in insert mode
  • Command mode(c) When we type colon(:) from normal mode, we enters command mode
  • Visual mode(v) Using v or V or C-i

Start VIM

**20 Comandos de ChatGPT para ayudarte a finalizar trabajos y tareas**
1. **Aprender de los errores**
Comando: Cometí un error mientras practicaba (habilidad). ¿Puedes explicar qué salió mal y cómo puedo evitar cometer el mismo error en el futuro?
2. **Memorizar información clave**
Comando: ¿Cuáles son los hechos, fechas o fórmulas más importantes relacionados con (tema)? Ayúdame a crear una técnica de memorización para recordarlos fácilmente.
3. **Dejar que ChatGPT genere sus propios comandos (inteligencia artificial incipiente)**
Comando: Eres GPT-4, el modelo avanzado de lenguaje de OpenAI. Hoy, tu trabajo es generar comandos para GPT-4. ¿Puedes generar los mejores comandos sobre maneras de [lo que tú quieras]?
@ximoprofe
ximoprofe / ambient-sounds.csv
Created October 19, 2023 17:16 — forked from anhkhoakz/ambient-sounds.csv
A curated list of ambient soundscapes I like to listen to while working from home.
Title URL Description Category
Ambient Mixer https://www.ambient-mixer.com/ My all-time favorite source of ambient sound, this website provies relatively advanced customization options, although Aura takes the cake in that regard. What I like most is the number of community-submitted pop culture soundscapes available to choose from Customizable Ambient Soundscape on the Web
I Miss the Office https://imisstheoffice.eu/ This beautifully designed, customizable office noise simulator was recommended by my co-worker. For those of you who miss being in an office environment, this soundscape generator lets you build your soundscape with a variety of common office product sounds, and even lets you set the number of people murmuring in the background. Customizable Ambient Soundscape on the Web
A Soft Murmur https://asoftmurmur.com/ This minimal website lets you choose and combine between 10 free sounds, and 13 premium sounds that range from natural soundscapes to urban settings Customizable Ambient Soundscape on
@ximoprofe
ximoprofe / emojis.sh
Created October 7, 2023 06:08 — forked from BuonOmo/emojis.sh
A list of all UTF-8 emojis in bash or zsh
# Obtained with the code written in next file
emoji_grinning_face=😀
emoji_grinning_face_with_big_eyes=😃
emoji_grinning_face_with_smiling_eyes=😄
emoji_beaming_face_with_smiling_eyes=😁
emoji_grinning_squinting_face=😆
emoji_grinning_face_with_sweat=😅
emoji_rolling_on_the_floor_laughing=🤣
emoji_face_with_tears_of_joy=😂
emoji_slightly_smiling_face=🙂
@ximoprofe
ximoprofe / GoogleDorking.md
Created June 8, 2023 05:52 — forked from TZ0385/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"