News for hackers. Stuff that matters.
Re:Command Line Tools to Break Your Dependence on the GUI by henrikwm on Thursday December 05, 2019 @03:10PM (#21715978)
You can use this CLI to plan you haircut by browsing queue times for Cutters hair salons:

https://github.com/draperunner/cutters

Which enables you to run:

  $ npx cutters | grep Oslo | head -3
to get queue times in Oslo. Made by a colleague of mine.
Re:Command Line Tools to Break Your Dependence on the GUI by fowlie on Monday December 09, 2019 @10:04AM (#21743203)
Nice. I have this as an alias in my ~/.zshrc:

curl -s https://www.cutters.no/api/salons | jq '.data[] | select(.location.key == "oslo") | .details.estimatedWait /= 60000 | {name: .name, wait: .details.estimatedWait, serving: .details.numberOfServing, waiting: .details.numberOfWaiting}'