Skip to content

Instantly share code, notes, and snippets.

View jhiggins-thrillist's full-sized avatar

Joseph Higgins jhiggins-thrillist

View GitHub Profile
This file has been truncated, but you can view the full file.
{"schema_id": "speed_measurement/1.2", "_event_created_ms": 1720791041249, "theme_id": "1234", "url": "https://www.speed-preview.com/", "_edge_storeHostname": "www.speed-preview.com", "_edge_assignment": "control", "_edge_sessionId": "29192311-76b0-4bb6-b4d1-46f1b1d19718", "_edge_visitorId": "87e184a8-274a-4b48-9ded-2c8f9c0fac9a", "_edge_documentCachePathname": "/products/aviator-sunglasses", "_edge_documentCacheStatus": "MISS", "_edge_deviceType": "desktop", "_edge_cf_city": "New York", "_edge_cf_country": "US", "connectStart": 1720791041254, "navigationStart": 1720791092821, "fetchStart": 1720791195962, "domContentLoadedEventStart": 1720791823140, "responseStart": 1720791405986, "domInteractive": 1720792653606, "domainLookupEnd": 1720794324047, "responseEnd": 1720798154436, "redirectStart": 0, "requestStart": 1720804818037, "unloadEventEnd": 0, "unloadEventStart": 0, "domLoading": 1720818821878, "domComplete": 1720847462657, "domainLookupStart": 1720902953042, "loadEventStart": 1721016285286, "domContentLoa
{
"schema_id": "speed_measurement/1.2",
"_event_created_ms": 1720790989239,
"theme_id": "1234",
"url": "https://www.speed-preview.com/",
"_edge_storeHostname": "www.speed-preview.com",
"_edge_assignment": "test",
"_edge_sessionId": "f07ce624-84ca-4b70-893c-cbe54c595b23",
"_edge_visitorId": "6bea0848-ef92-4a96-86b3-6a2060761bab",
"_edge_documentCachePathname": "/products/aviator-sunglasses",
@jhiggins-thrillist
jhiggins-thrillist / example_payload.json
Last active August 12, 2024 18:39
example_payload.json
{
"schema_id": "speed_measurement/1.2",
"_event_created_ms": 1716556734436,
"_event_sent_at": "2024-05-24T13:18:55.991Z",
"theme_id": "1234",
"visually_ready": 409,
"first_contentful_paint": 409,
"navigation_start": 1716556733896,
"response_start": 1716556733900,
"response_end": 1716556733906,
{
"__typename": "Entry",
"streams": [
{
"uid": "Entry:28279bcb-48b5-4053-85ff-acc3ef1eef99",
"legacyId": 22783877,
"__isEntryRevision": "Entry",
"title": "Elon Musk bought Twitter, and here’s everything that happened next",
"url": "https://www.theverge.com/2022/4/11/23019836/elon-musk-twitter-board-of-directors-news-updates",
"relatedStream": {
@jhiggins-thrillist
jhiggins-thrillist / redditLinkReplacer.js
Last active July 15, 2016 02:30
Stops Reddit from tracking outbound links on Safari
var redditLinkReplacer = function () {
/**
* Replaces the data attribute of the url with the
* actual URL. This avoids out-bound click tracking by Reddit
* @param DOMElement link
* @return void
*/
function replaceUrl(link) {
@jhiggins-thrillist
jhiggins-thrillist / fresh-chrome.sh
Created March 4, 2016 14:57 — forked from stuartsierra/fresh-chrome.sh
Launch new instances of Google Chrome on OS X with isolated cache, cookies, and user config
#!/usr/bin/env bash
# fresh-chrome
#
# Use this script on OS X to launch a new instance of Google Chrome
# with its own empty cache, cookies, and user configuration.
#
# The first time you run this script, it will launch a new Google
# Chrome instance with a permanent user-data directory, which you can
# customize below. Perform any initial setup you want to keep on every
@jhiggins-thrillist
jhiggins-thrillist / gist:60fb31c68e3b20eba0cd
Last active April 5, 2017 23:49 — forked from fernandoaleman/gist:5083680
How to update VirtualBox Guest Additions with vagrant
# Start the old vagrant
$ vagrant init centos-6.3
$ vagrant up
# You should see a message like:
# [default] The guest additions on this VM do not match the install version of
# VirtualBox! This may cause things such as forwarded ports, shared
# folders, and more to not work properly. If any of those things fail on
# this machine, please update the guest additions and repackage the
# box.

Keybase proof

I hereby claim:

  • I am jhiggins-thrillist on github.
  • I am jhiggins (https://keybase.io/jhiggins) on keybase.
  • I have a public key whose fingerprint is 5628 39CC 2316 936E CF7F A69E E84B 81AC 1297 09F4

To claim this, I am signing this object:

@jhiggins-thrillist
jhiggins-thrillist / dean.html
Created January 17, 2014 06:04
Dean's puzzle
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">