Skip to content

Instantly share code, notes, and snippets.

View eThikas's full-sized avatar

Rasmus Christiansen eThikas

  • Copenhagen, Denmark
View GitHub Profile
@eThikas
eThikas / ttfb.rb
Created March 22, 2012 15:46
Continuously measure 'Time To First Byte'. Easily plot Connection and TTFB
#!/usr/bin/env ruby
#
# @Name TTFB Measurer
# @Author Rasmus Christiansen
# @Description
#
# Measures the "true" loading time of a website.
# Saves data output to an .out-file
# Saves additional .conn and .ttfb files for easy plotting
@eThikas
eThikas / tcpick-mac-install.sh
Created February 27, 2012 00:55
Get TCPICK working on mac
#!/bin/bash
mkdir temp
cd temp
wget http://downloads.sourceforge.net/project/tcpick/tcpick/0.2.1/tcpick-0.2.1.tar.gz
tar zxvf tcpick-0.2.1.tar.gz
cd tcpick-0.2.1
CFLAGS="-m32" ./configure
echo "char *lookup();" >> src/lookup.h
make
sudo make install