Skip to content

Instantly share code, notes, and snippets.

View pganti's full-sized avatar

Paddy Ganti pganti

  • Instart Logic
  • Bay Area,CA
View GitHub Profile
@pganti
pganti / gist:9d7ddd845a664635f240
Created June 5, 2014 16:49
Hunt URLs to Test
Cloudfront: https://dceqiz5mzs7j4.cloudfront.net/app/public/system/zine_images/1895331/hunt220/9a85b45a90b574c0dcc6ce97e34337c5.jpg
Instart: https://thehunt.insnw.net/app/public/system/zine_images/1895331/hunt220/9a85b45a90b574c0dcc6ce97e34337c5.jpg
Akamai: https://thehunt.edgesuite.net/app/public/system/zine_images/1895331/hunt220/9a85b45a90b574c0dcc6ce97e34337c5.jpg
Akamai: https://a248.e.akamai.net/f/248/295563/365d/thehunt.edgesuite.net/app/public/system/zine_images/1895331/hunt220/9a85b45a90b574c0dcc6ce97e34337c5.jpg
Edgecast: https://ec.thehunt.com/app/public/system/zine_images/1895331/hunt220/9a85b45a90b574c0dcc6ce97e34337c5.jpg
Instart
Packets processed: 202 (8.0%)
Duration: 16.15 seconds
Flow 1 10.185.145.25:52339 -> 192.33.31.50:80
Flow 2 192.33.31.50:80 -> 10.185.145.25:52339
Packets: 88 packets Packets: 114 packets
Duration: 16.08 seconds Duration: 16.09 seconds
Data link layer: 5900 bytes Data link layer: 164046 bytes
File : cdn.www.bluefly.com/media/globalMedia/global.css?20140411132423
Size: 60KB
With TCP Options
3 192.168.103.82:65347<->192.33.31.55:80
Packets processed: 72 (80.9%)
Duration: 0.80 seconds
{"apiDomain":"vip07-assets.insnw.net","disableInjectionXhr":true,
"disableInjectionXhrQueryParam":"instart_disable_injection","disableInstantLoadUrls":[],
"enableHtmlStreaming":true,
"htmlStreamingVersion":"1",
"iframeCommunicationTimeout":3000,
"partialImage":true,
"rId":"164",
"release":"week-121-0",
"rum":false,"
ver":"loader",
. Any char except newline,
? zero or one,
* zero or more,
+ one or more, \+ in vim.
\ quote, match next char literally,
\Number of match of left open paren,
[a-z] in char-class,
[^a-z] not in char class,
== ASCII Octal ==
+-------+-------+-------+-------+-------+-------+-------+-------+
|000 nul|001 soh|002 stx|003 etx|004 eot|005 enq|006 ack|007 bel|
|010 bs |011 ht |012 nl |013 vt |014 np |015 cr |016 so |017 si |
|020 dle|021 dc1|022 dc2|023 dc3|024 dc4|025 nak|026 syn|027 etb|
|030 can|031 em |032 sub|033 esc|034 fs |035 gs |036 rs |037 us |
+-------+-------+-------+-------+-------+-------+-------+-------+
|040 sp |041 ! |042 " |043 # |044 $ |045 % |046 & |047 \'|
|050 ( |051 ) |052 * |053 + |054 , |055 - |056 . |057 / |
@pganti
pganti / gist:3e26c9b87cf1706eb955
Created July 9, 2014 05:42
pagespeed filters
combine_css,rewrite_css,inline_import_to_link,extend_cache,combine_javascript,rewrite_javascript,resize_images,move_css_to_head,rewrite_style_attributes_with_url,convert_png_to_jpeg,convert_jpeg_to_webp,recompress_images,convert_jpeg_to_progressive,convert_meta_tags,inline_css,inline_images,inline_javascript,lazyload_images,flatten_css_imports,inline_preview_images,defer_javascript,defer_iframe,add_instrumentation,flush_subresources,fallback_rewrite_css_urls,insert_dns_prefetch,split_html,prioritize_critical_css,convert_to_webp_lossless,convert_gif_to_png
ssldump -a -A -H -i eth0
New TCP connection #1: ip-10-197-57-235.us-west-1.compute.internal(50814) <-> m.biddingforgood.com(443)
1 1 0.0747 (0.0747) C>SV3.1(252) Handshake
ClientHello
Version 3.2
random[32]=
53 c5 5f ec a5 90 32 b2 78 b3 56 b7 aa 14 e1 b5
87 42 76 6e 02 d3 4e 88 aa 39 1b 87 63 12 85 1b
cipher suites
@pganti
pganti / gist:bceb08582cecc88b2185
Created August 14, 2014 21:12
SSL Debug on Instart
t= 8852 [st= 0] +SOCKET_ALIVE [dt=8971]
--> source_dependency = 362 (CONNECT_JOB)
t= 8852 [st= 0] +TCP_CONNECT [dt=39]
--> address_list = ["192.33.31.52:443"]
t= 8852 [st= 0] TCP_CONNECT_ATTEMPT [dt=39]
--> address = "192.33.31.52:443"
t= 8891 [st= 39] -TCP_CONNECT
--> source_address = "192.168.102.81:51024"
t= 8891 [st= 39] +SOCKET_IN_USE [dt=8932]
--> source_dependency = 412 (CONNECT_JOB)
[WebPagetest]
browser=Chrome
Time Limit=60
software=http://www.webpagetest.org/installers/software.dat
ec2=1
[Chrome]
exe="C:\Program Files\Google\Chrome\Application\chrome.exe"
options='--load-extension="%WPTDIR%\extension" --user-data-dir="%PROFILE%" --no-proxy-server'
installer=http://www.webpagetest.org/installers/browsers/chrome.dat