I hereby claim:
- I am wlue on github.
- I am wlue (https://keybase.io/wlue) on keybase.
- I have a public key whose fingerprint is 245D F91A 660A 47EC E053 2FE7 33BC 1F4A C60A 4EE4
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Open Chrome with a different config file. Add to your .bashrc | |
# Usage: chrome /tmp/test | |
function chrome () { | |
app="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" | |
( | |
${app} --user-data-dir=$1 > /dev/null 2>&1 | |
rm -r $1 | |
) & | |
} |
/** | |
* Defines an ordering for a list of keys of type K given an implicit ordering | |
* on value V and a mapping from K to V | |
*/ | |
object MappedOrdering { | |
def withMapping[K, V](mapping: K => V)(implicit ordering: Ordering[V]) = { | |
new MappedOrdering[K, V](mapping)(ordering) | |
} | |
} |
:set ts|retab " retab the whole file with magic | |
:%s/\v^\ +$// " remove whitespace in newline | |
:wq! |
// | |
// UIView+Additions.h | |
// | |
// Created by Wen-Hao Lue on 12-01-08. | |
// | |
@interface UIView (Additions) | |
@property (nonatomic, assign) CGFloat frameX; | |
@property (nonatomic, assign) CGFloat frameY; |