Skip to content

Instantly share code, notes, and snippets.

@johnbuhay
Last active January 30, 2017 15:14
Show Gist options
  • Save johnbuhay/894dbab4c38ba417e6ae5791d3779085 to your computer and use it in GitHub Desktop.
Save johnbuhay/894dbab4c38ba417e6ae5791d3779085 to your computer and use it in GitHub Desktop.
useful curl commands
#!/usr/bin/env bash
# time-curl
curl -w "\n
time_namelookup: %{time_namelookup}\n
time_connect: %{time_connect}\n
time_appconnect: %{time_appconnect}\n
time_pretransfer: %{time_pretransfer}\n
time_redirect: %{time_redirect}\n
time_starttransfer: %{time_starttransfer}\n
----------\n
time_total: %{time_total}\n
\n" -s -v

Design pattern for how gists are labelled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment