Archives by date

You are browsing the site archives by date.

Recent git branches

Sometimes I forget to delete my old git branches, and I forget which is what and who is how. And so on and so forth. So I do this!: git reflog –date=local –all This outputs a nifty list of all the recent commits and which branches they were too. w00t.

iOS timing

Again, do as I say not as I do. Here’s a quick thing I like to do: NSTimeInterval start = CACurrentMediaTime(); [stuff…] NSTimeInterval end = CACurrentMediaTime(); NSLog(@”%f”, end-start);