Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 633 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 633 Bytes

Unspirational

A free REST API for random Unspirational quotes. (Unspirational Quotes as a Service, UQaaS)

Usage:

$ curl unspirational.herokuapp.com/quote
// returns {"quote":"Be yourself. No one else wants to be you."}

Advanced Git Power User

Make sure you have 'jq' installed.

Make all commit messages a random Unspirational quote.

$ git config --global alias.pain !git commit -m \"$(curl -s unspirational.herokuapp.com/quote | jq -r '.quote')\"

Intended workflow:

$ git add .
$ git pain
$ git push

Profit ✅