Skip to content

Instantly share code, notes, and snippets.

@victorfontes
Last active November 11, 2024 04:47
Show Gist options
  • Save victorfontes/7220e659d20aba47417dc706f3ca0505 to your computer and use it in GitHub Desktop.
Save victorfontes/7220e659d20aba47417dc706f3ca0505 to your computer and use it in GitHub Desktop.
Append gitignore patterns to a file using the toptal api.
http -b 'https://www.toptal.com/developers/gitignore/api/list?format=lines' | fzf --multi | string join "," | read arg; curl "https://www.toptal.com/developers/gitignore/api/$arg" >> .gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment