Skip to content

Instantly share code, notes, and snippets.

extends: relaxed
rules:
line-length: disable
package main
import (
"crypto/tls"
"fmt"
"io/ioutil"
"log"
"net/http"
"os"
aod.assets.itunes.com
aod.itunes.apple.com
aodp.assets.itunes.com
aodp.itunes.apple.com
appdownload.itunes.apple.com
apptrailers.itunes.apple.com
au.download.windowsupdate.com
audio.itunes.apple.com
books.assets.itunes.com
books.itunes.apple.com
10.1.10.12.53063 > 68.87.85.98.53: [udp sum ok] 15972+ A? www.kayak.com. (31)
12:57:24.923594 IP (tos 0x0, ttl 255, id 8702, offset 0, flags [none], proto UDP (17), length 59)
10.1.10.12.52340 > 68.87.85.98.53: [udp sum ok] 2464+ AAAA? www.kayak.com. (31)
12:57:24.936749 IP (tos 0x40, ttl 55, id 0, offset 0, flags [DF], proto UDP (17), length 142)
68.87.85.98.53 > 10.1.10.12.53063: [udp sum ok] 15972 q: A? www.kayak.com. 3/0/0 www.kayak.com. [30m36s] CNAME kayak.r9cdn.net., kayak.r9cdn.net. [1s] CNAME prod.kayak.map.fastlylb.net., prod.kayak.map.fastlylb.net. [30s] A 151.101.68.231 (114)
12:57:24.943403 IP (tos 0x40, ttl 55, id 0, offset 0, flags [DF], proto UDP (17), length 194)
68.87.85.98.53 > 10.1.10.12.52340: [udp sum ok] 2464 q: AAAA? www.kayak.com. 2/1/0 www.kayak.com. [30m36s] CNAME kayak.r9cdn.net., kayak.r9cdn.net. [1s] CNAME prod.kayak.map.fastlylb.net. ns: fastlylb.net. [30s] SOA ns1.fastlydns.net. hostmaster.fastly.com. 2014010400 28800 900 604800 180 (166)
12:57:24.980169 IP (tos
@sleach
sleach / jsperf-bookmarklet.js
Last active September 24, 2016 16:43 — forked from StephenBrown/jsperf-bookmarklet.js
Bookmarklet for one click webpagetest. Dulles, Chrome, DSL, captures video, tcpdump, and a repeat view.
(function(){
var key = localStorage.wpt_key;
if (!key) {
var prompt = window.__proto__.prompt;
key = prompt('Your WebPagetest API key, please?');
if (!key) {
return gameOver();
}
localStorage.wpt_key = key;
#!/usr/bin/env python
'''Abstraction library to talk to Datanyze API'''
from __future__ import print_function
import collections
import sys
import configparser
import os
import argparse
import requests
from prettytable import PrettyTable
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 8 columns, instead of 4 in line 5.
www.github.com,16416058,'a984143885','Launched a stress test on 103.245.222.133:80 for 2200 using DNS','111.178.114.83 (CN)','27-05-2016 23:09','Google Chrome v38.0.2125.122 on windows',0
www.github.com,16602168,'bingshang','Launched a stress test on 103.245.222.133:80 for 1200 using NTP','182.61.26.142 (CN)','17-07-2016 21:03','Google Chrome v51.0.2704.106 on windows',0
l.ssl.fastly.net,16500989,'x0123','Launched a VIP stress test on 104.156.81.70:80 for 1200 using DNS','95.34.26.106 (NO)','21-06-2016 13:26','Google Chrome v51.0.2704.103 on windows',0
*.voxmedia.com,16606394,'floxfire','Launched a stress test on 151.101.1.52:443 for 1200 using DNS','70.173.133.55 (US)','19-07-2016 02:35','Mozilla Firefox v47.0 on windows',0
*.bigcartel.com,16420402,'FerdigStudios','Launched a stress test on 151.101.37.64:80 for 1200 using DNS','96.18.144.44 (US)','29-05-2016 01:34','Google Chrome v50.0.2661.102 on windows',0
a.ssl.fastly.net,16540141,'Hvemklomater','Launched a stress test on 151.101.4.249:80 for 1200 u
16416058,'a984143885','Launched a stress test on 103.245.222.133:80 for 2200 using DNS','111.178.114.83 (CN)','27-05-2016 23:09','Google Chrome v38.0.2125.122 on windows',0
16602168,'bingshang','Launched a stress test on 103.245.222.133:80 for 1200 using NTP','182.61.26.142 (CN)','17-07-2016 21:03','Google Chrome v51.0.2704.106 on windows',0
16500989,'x0123','Launched a VIP stress test on 104.156.81.70:80 for 1200 using DNS','95.34.26.106 (NO)','21-06-2016 13:26','Google Chrome v51.0.2704.103 on windows',0
16606394,'floxfire','Launched a stress test on 151.101.1.52:443 for 1200 using DNS','70.173.133.55 (US)','19-07-2016 02:35','Mozilla Firefox v47.0 on windows',0
16420402,'FerdigStudios','Launched a stress test on 151.101.37.64:80 for 1200 using DNS','96.18.144.44 (US)','29-05-2016 01:34','Google Chrome v50.0.2661.102 on windows',0
16540141,'Hvemklomater','Launched a stress test on 151.101.4.249:80 for 1200 using DNS','23.251.191.15 (CA)','01-07-2016 00:25','Google Chrome v51.0.2704.103 on windows',0
1
@sleach
sleach / .vimrc
Created September 9, 2016 15:32
"*****************************************************************************
"" Vim-PLug core
"*****************************************************************************
if has('vim_starting')
set nocompatible " Be iMproved
endif
let vimplug_exists=expand('~/.config/nvim/autoload/plug.vim')
let g:vim_bootstrap_langs = "javascript,python,go"

Keybase proof

I hereby claim:

  • I am sleach on github.
  • I am seanleach (https://keybase.io/seanleach) on keybase.
  • I have a public key whose fingerprint is 0242 3775 25AD 8E81 EBB7 209E 7A6F 94A3 872F BD8D

To claim this, I am signing this object: