Skip to content

Instantly share code, notes, and snippets.

@JakeDEvans
JakeDEvans / bigger
Created March 16, 2018 16:42 — forked from Habbie/bigger
$ dig -t txt foo2.example.net @127.0.0.1
; <<>> DiG 9.11.2 <<>> -t txt foo2.example.net @127.0.0.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62695
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
@JakeDEvans
JakeDEvans / ttfb.sh
Created November 6, 2017 21:25 — forked from sandeepraju/ttfb.sh
curl command to check the time to first byte
#!/bin/bash
# file: ttfb.sh
# curl command to check the time to first byte
# ** usage **
# 1. ./ttfb.sh "https://google.com"
# 2. seq 10 | xargs -Iz ./ttfb.sh "https://google.com"
curl -o /dev/null \
-H 'Cache-Control: no-cache' \
-s \