Skip to content

Instantly share code, notes, and snippets.

View ielijose's full-sized avatar
🏠
Working from home

Eli José Carrasquero ielijose

🏠
Working from home
View GitHub Profile
@ielijose
ielijose / gist:44ab518e39fd1c71c7e2e27b1dc753d4
Created January 6, 2026 23:28
React Hook Form - Browser Autofill Detection using CSS Animations
// React Hook Form - Browser Autofill Detection
// Uses CSS animations to detect when browser autofills inputs
"use client";
import { useEffect, useRef, forwardRef, InputHTMLAttributes } from "react";
import { useForm, UseFormRegisterReturn, UseFormSetValue, Path } from "react-hook-form";
// =============================================================================
// CSS - Add this to your global CSS or inject via style tag

Keybase proof

I hereby claim:

  • I am ielijose on github.
  • I am ielijose (https://keybase.io/ielijose) on keybase.
  • I have a public key ASAhWpOauvG1UEDIVuDbW75tjxAkZDQOVeu1Px2F6wSdDAo

To claim this, I am signing this object:

find . -name "node_modules" -type d -prune -exec echo {} \;
@ielijose
ielijose / delete-all-node_modules.bat
Created September 20, 2018 21:45
Delete all node_modules folders recursively
for /d /r . %d in (node_modules) do @if exist "%d" (echo %d && rd /s/q "%d")
class Pyramid {
constructor(height) {
this.height = height;
this.line = 1;
}
print() {
console.clear()
while (this.line <= this.height) {
this.printLine();