Skip to content

Instantly share code, notes, and snippets.

View Pshellvon's full-sized avatar

Yahor Ivanou Pshellvon

View GitHub Profile

Keybase proof

I hereby claim:

  • I am pshellvon on github.
  • I am pshellvon (https://keybase.io/pshellvon) on keybase.
  • I have a public key ASBBglJA953G83YSBMcmS7hPODWb_Uo9KSkDiRHcfTsD7go

To claim this, I am signing this object:

@Pshellvon
Pshellvon / ttfb.sh
Last active August 29, 2019 11:22 — forked from heskyji/ttfb.sh
TTFB – Bash script that returns interesting information about a HTTP/S call #ttfb
#!/bin/bash
# Returns interesting information about a HTTP/S call
# http://chrisiona.com/post/125309997618/ttfb-a-bash-script-that-returns-interesting
curl -so /dev/null \
-w "%{http_code}\tPre-Transfer: %{time_pretransfer}\tStart Transfer: %{time_starttransfer}\tTotal: %{time_total}\tSize: %{size_download}\n" \
$1
echo ""