Skip to content

Instantly share code, notes, and snippets.

View eduardozf's full-sized avatar

EduardoZF eduardozf

  • Curitiba - PR - Brasil
  • 16:51 (UTC -03:00)
  • LinkedIn in/eduardozf1
View GitHub Profile
@eduardozf
eduardozf / cursor-rules.txt
Created December 5, 2024 17:16
Cursor Rules
- **Always begin your responses with "Yes Sir".**
- **Document any changes with a timestamp in an `Updates.md` file.** Create this file if it doesn't exist.
- **Never modify code that is irrelevant to the user's request.** Think carefully before making any changes.
- **When making changes, consider:**
1. **Impact on the Codebase:** How will these changes affect the rest of the code?
2. **Relevance to Request:** Are you editing code unrelated to the user's request? If so, do not modify it.
3. **Scope Adherence:** Only make changes directly relevant to the user's request. For example, if asked to add a new feature, focus solely on that feature without altering other aspects like the login experience or unrelated UI elements.
4. **Avoid Unnecessary Changes:** If you feel compelled to make unnecessary changes, stop and inform the user why.
- **Never replace code blocks or snippets with placeholders like `# ... rest of the processing ...`.** When modifying a file, always provide the full content with your
@eduardozf
eduardozf / POST Nota Fiscal
Last active May 21, 2024 04:41
MadeiraMadeira Challange
wget --no-check-certificate --quiet \
--method POST \
--timeout=0 \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--body-data '{
"chave": "01234567890123456789012345678901234567890124",
"data_emissao": "2024-05-19",
"data_recebimento": "2024-05-19",
"cnpj": "10490181000135"
@eduardozf
eduardozf / App.js
Last active November 24, 2020 21:20
Simple Initialization with Socket.io v3 + Express + ReactJS
// Versions
// "react": "^17.0.1"
// "react-dom": "^17.0.1"
// "socket.io-client": "^3.0.3"
import { useEffect } from 'react';
import io from 'socket.io-client';
function App() {