Skip to content

Instantly share code, notes, and snippets.

View AaronPresley's full-sized avatar

Aaron Presley AaronPresley

View GitHub Profile
// This script has been updated from Sam Soffes'
// original version located at
// https://gist.github.com/soffes/dda0f842d1aa0547293e
import Foundation
import UIKit
struct Mixpanel {
// MARK: - Types
### Keybase proof
I hereby claim:
* I am AaronPresley on github.
* I am aaronpresley (https://keybase.io/aaronpresley) on keybase.
* I have a public key whose fingerprint is 031F 9FCF 8DF7 2D65 D96A 1A9E 98F8 190E 4E52 50D0
To claim this, I am signing this object:
@AaronPresley
AaronPresley / size_bootstrap.js
Created April 14, 2012 18:50
Resize input to bootstrap span
var size_bootstraps = function(){
$('form.size_bootstraps').each(function(){
$(this).find('.row').each(function(){
$(this).find('> div').each(function(){
$(this).find('input[type="text"], textarea, select, input.do_size').addClass(
$(this).attr('class') );
});
});
});
}