Skip to content

Instantly share code, notes, and snippets.

@afternoon
afternoon / rename_js_files.sh
Created February 15, 2014 18:04
Rename .js files to .ts
find app/src -name "*.js" -exec sh -c 'mv "$0" "${0%.js}.ts"' {} \;
@tuksik
tuksik / fix_git_ps1.sh
Last active October 3, 2024 00:40
Fix -bash: __git_ps1: command not found
#http://stackoverflow.com/questions/12870928/mac-bash-git-ps1-command-not-found
curl -o ~/.git-prompt.sh https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh
echo 'source ~/.git-prompt.sh' >> ~/.bashrc
@datsenkoboos
datsenkoboos / StorybookTailwindWatch.txt
Last active July 26, 2023 05:11
Storybook Tailwind watch
"dev-tailwind": "pnpm dlx tailwindcss -i ./src/assets/main.css -o .storybook/tailwind.css --watch",
"storybook": "conc \"storybook dev -p 6006\" \"pnpm run dev-tailwind\""