Skip to content

Instantly share code, notes, and snippets.

@tym-xqo
Created November 1, 2018 15:39
Show Gist options
  • Save tym-xqo/39832ff8c634e3ff5c89e2abb91935d5 to your computer and use it in GitHub Desktop.
Save tym-xqo/39832ff8c634e3ff5c89e2abb91935d5 to your computer and use it in GitHub Desktop.
script to call namer cloud function
#!/bin/bash
# get name from namer, copy to clipboard and echo to console
http -b https://us-central1-whereami-map.cloudfunctions.net/namer | tr -d '\n' |pbcopy
pbpaste
echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment