Skip to content

Instantly share code, notes, and snippets.

View farmeroy's full-sized avatar

Raffaele Cataldo farmeroy

View GitHub Profile
@yermulnik
yermulnik / config.yml
Last active September 28, 2024 08:09
GH CLI multi-account switch
git_protocol: ssh
aliases:
personal: '!cp ~/.config/gh/hosts.yml.personal ~/.config/gh/hosts.yml && gh auth status'
work: '!cp ~/.config/gh/hosts.yml.work ~/.config/gh/hosts.yml && gh auth status'
@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"' {} \;