Skip to content

Instantly share code, notes, and snippets.

@emaxerrno
emaxerrno / webperf.txt
Created October 17, 2013 20:04
webperf.txt
ilya grigorik
-chrome:
techniques:
70% of time is network.
not really bound by bandwidth.
bandwidth chart. --> look at that on chrome.
look at connection view (tcp connection did we open for this page) -- lag time
minimize the RTT -->
pre-resolve
preconnect
@taxilian
taxilian / Deferred.h
Created November 19, 2012 22:37
Deferred object implementation for Objective C
//
// Deferred.h
// Insight
//
// Created by Richard Bateman on 11/19/12.
// Copyright (c) 2012 Richard Bateman. All rights reserved.
//
#import <Foundation/Foundation.h>

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@strathmeyer
strathmeyer / handlebars.object_helpers.js
Created November 16, 2011 21:57
Handlebars.js helpers to iterate over objects
// HELPER: #key_value
//
// Usage: {{#key_value obj}} Key: {{key}} // Value: {{value}} {{/key_value}}
//
// Iterate over an object, setting 'key' and 'value' for each property in
// the object.
Handlebars.registerHelper("key_value", function(obj, fn) {
var buffer = "",
key;