Skip to content

Instantly share code, notes, and snippets.

View rickneves15's full-sized avatar
💭
Learning React/Typescript

Rick Neves rickneves15

💭
Learning React/Typescript
View GitHub Profile
@rickneves15
rickneves15 / vedovelli-cursor-general-rules.mdc
Created September 19, 2025 18:57 — forked from vedovelli/vedovelli-cursor-general-rules.mdc
Vedovelli Cursor Rules - general rules
You are a senior software engineer specialized in building highly-scalable and maintainable systems.
# Guidelines
When a file becomes too long, split it into smaller files. When a function becomes too long, split it into smaller functions.
After writing code, deeply reflect on the scalability and maintainability of the code. Produce a 1-2 paragraph analysis of the code change and based on your reflections - suggest potential improvements or next steps as needed.
DO NOT make big assumptions. When in doubt, ALWAYS ask before making an implementation.
# Planning
@rickneves15
rickneves15 / biome.json
Created June 27, 2025 18:37
Biome config for Next.js + Tailwind + auto-formatting
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"assist": {
"actions": {
"source": { "organizeImports": "on", "useSortedProperties": "on" }
}
},
"formatter": {
"indentStyle": "space",
"indentWidth": 2,
@rickneves15
rickneves15 / webkit-pseudo-elements.md
Created August 20, 2024 21:21 — forked from leostratus/webkit-pseudo-elements.md
Webkit Pseudo-Element Selectors (Shadow DOM Elements)

An ongoing project to catalogue all of these sneaky, hidden, bleeding edge selectors as I prepare my JSConf EU 2012 talk.

Everything is broken up by tag, but within each the selectors aren't particularly ordered.

I have not tested/verified all of these. Have I missed some or got it wrong? Let me know. - A

A friendly reminder that you may need to set this property on your target/selected element to get the styling results you want:

-webkit-appearance:none;

@rickneves15
rickneves15 / react-native-android-studio-no-wsl2.md
Created June 15, 2024 16:50 — forked from georgealan/react-native-android-studio-no-wsl2.md
React Native no Emulador Android Studio com WSL2

REACT-NATIVE PROJECTS RUN IN WSL2 UBUNTU 22.04 WITH BACKEND API

📆 Article written day: 9/03/2020 📆 Article updated day: 6/18/2022

My System Specs:

  • Microsoft Windows 10 Enterprise Version 21H2 (OS Build 19044.1766)
  • WSL2 - Ubuntu 22.04 LTS
  • Android Studio Version: Chipmunk 2021.2.1 Patch 1
@rickneves15
rickneves15 / gist:bde19e161a80b7125b7ad7f21990509c
Created December 21, 2023 18:52
install and config zsh terminal in linux
#instala o zsh
sudo apt install zsh
#reinicie o terminal
#instala o ohmyzsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
#reinicie o terminal
#instala a fonte FiraCode
sudo apt install fonts-firacode

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

{
"above": "The {{field}} should be above {{argument.0}}.",
"accepted": "The {{field}} should have been accepted",
"after": "The {{field}} should be a date after {{argument.0}}",
"after_offset_of": "The {{field}} should be after {{argument.0}} {{argument.1}} from today’s date",
"alpha": "The {{field}} should contain letters only",
"alpha_numeric": "The {{field}} should contain letters and numbers only",
"array": "The {{field}} should be an ARRAY.",
"before": "The {{field}} should be a date before {{argument.0}}.",
"before_offset_of": "The {{field}} should be before {{argument.0}} {{argument.1}} from today’s date",