Skip to content

Instantly share code, notes, and snippets.

View flambert's full-sized avatar

Francois Lambert flambert

View GitHub Profile
@flambert
flambert / # swiftlint - 2016-09-16_16-41-46.txt
Created September 16, 2016 20:42
swiftlint on Mac OS X 10.12 - Homebrew build logs
Homebrew build logs for swiftlint on Mac OS X 10.12
Build date: 2016-09-16 16:41:46

Keybase proof

I hereby claim:

  • I am flambert on github.
  • I am lambertfs (https://keybase.io/lambertfs) on keybase.
  • I have a public key whose fingerprint is E1B2 29ED 662F 395F 5AAA 7F3B F61E 81ED 58AB AED0

To claim this, I am signing this object:

@flambert
flambert / gist:1831957
Created February 15, 2012 00:15
Set user agent to ridiculously old version of iPhone somewhere in app so YouTube will set the <video> tag
NSDictionary *dictionnary = [NSDictionary dictionaryWithObjectsAndKeys:@"Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16", @"UserAgent", nil];
[[NSUserDefaults standardUserDefaults] registerDefaults:dictionnary];