1,088 karma · joined November 8, 2010
https://github.com/fphilipe
[ my public key: https://keybase.io/philipe; my proof: https://keybase.io/philipe/sigs/182uf1x4SUnMvtmLchInbgTL0X0b0qcRGe_g2T0KLDo ]
[1] http://www.craigkerstiens.com/content/
[2] http://www.craigkerstiens.com/2013/02/13/How-I-Work-With-Pos...
[1] https://github.com/defunkt/dotjs
[2] https://github.com/fphilipe/dotfiles/blob/master/js/wikipedi...
I worked as the first employee at a now successful start up. They were 5 founders with each 20% of the shares. What I heard from them after several investment rounds is that investors don't like evenly split stock and prefer that one of the founders has the most stock, even if that's just a single stock more than the other founders.
[1] https://github.com/dennybritz/rails_startup_template/pull/3
I still haven't heard a single argument for writing pure HTML instead of Haml/Slim. Even for static HTML I use Slim.
It is easier to understand now, but I think you should stay on the last part a bit longer before looping it to make it clear that the animation finished.
[1] https://github.com/fphilipe/PHFComposeBarView
Now when you type <prefix-a> ctrl-a gets sent.
[1] https://github.com/chriskempson/base16
[2] https://github.com/fphilipe/dotfiles/blob/master/tmux.conf#L...
Right now I have seven sessions open [1]. Three are work projects (they usually have windows for vim, db console, etc.), two are university courses (vim, matlab), in one session I'm learning some Haskell, and in the last one I'm working on an open source ruby gem. If I had all these windows in one session only, I'd constantly be switching to the wrong windows.
[1]: https://github.com/tpope/vim-unimpaired
[2]: http://vim-doc.heroku.com/view?https://raw.github.com/tpope/...
Compare this:
+ (MyClass *)sharedClass {
static MyClass *_shared = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
_shared = [[MyClass alloc] init];
});
return _shared;
}
...to this: + (MyClass *)sharedClass {
static MyClass *_shared = nil;
if (!_shared)
_shared = [[MyClass alloc] init];
return _shared;
}
Is there any difference regarding performance?* http://en.wikipedia.org/wiki/🍔 -> Hamburger
* http://en.wikipedia.org/wiki/💩 -> Feces
* http://en.wikipedia.org/wiki/👀 -> Human eye
* http://en.wikipedia.org/wiki/🏧 -> Automated teller machine