Skip to content

Instantly share code, notes, and snippets.

View nhristova's full-sized avatar
🌱
React-ing

Nad Hr nhristova

🌱
React-ing
View GitHub Profile
@parties
parties / renameReactJsToJsx.sh
Last active December 22, 2025 12:04
rename all *.js files containing React markup to *.jsx
# finds all *.js files that have either `</` or `/>` tags in them and renames them to *.jsx
find ./src -type f -name '*.js' -not -name '*.jsx' -not -name '*.ejs' -exec bash -c 'grep -l -E "</|/>" "$0"' {} \; -exec bash -c 'mv "$0" "${0%.js}.jsx"' {} \;
@pik4ez
pik4ez / gist:6914108
Last active August 31, 2023 21:34
Vimium settings: remap some defaults, add cyrillic support. Yammi! Cyrillic support for vimium. Vimium cyrillic. Buy online.
" remap (en)
map f scrollFullPageDown
map b scrollFullPageUp
map a LinkHints.activateMode
map A LinkHints.activateModeToOpenInNewTab
map p map з performBackwardsFind
" map cyrillic
map о scrollDown
map л scrollUp