This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"event_type": "survey_response", | |
"survey_response": { | |
"completed_at": "2018-02-11T04:25:46Z", | |
"survey": { | |
"id": "5a7fc5cab3801f005700003f", | |
"questions": [ | |
{ | |
"id": "5a7fc5cab3801f005700003c", | |
"company_id": "5a7fc5cab3801f0057000037", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ViewController: UIViewController { | |
var mapView: MGLMapView? | |
init() { | |
super.init(nibName: nil, bundle: nil) | |
MGLAccountManager.setMapboxMetricsEnabledSettingShownInApp(true) | |
mapView = MGLMapView(frame: CGRectNull, accessToken: "FOO") | |
view.addSubview(mapView!) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am msingleton on github. | |
* I am msingleton (https://keybase.io/msingleton) on keybase. | |
* I have a public key whose fingerprint is 252A 756B BEC9 09ED 169B 0819 3F05 7329 E14C 6798 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (NSRect)statusRectForWindow:(NSWindow *)window | |
{ | |
NSRect screenRect = [[[NSScreen screens] objectAtIndex:0] frame]; | |
NSRect statusRect = NSZeroRect; | |
StatusItemView *statusItemView = nil; | |
if ([self.delegate respondsToSelector:@selector(statusItemViewForPanelController:)]) | |
{ | |
statusItemView = [self.delegate statusItemViewForPanelController:self]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Array Length Caching</title> | |
<script type="text/javascript"> | |
// Generate huge array | |
var bigArray = []; | |
for(var i = 0; i < 10000000; i++) { | |
bigArray.push(1); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<checkin> | |
<id>5647470</id> | |
<created>Sat, 16 Jan 10 22:33:00 +0000</created> | |
<shout>using fouresquareX on @jillcsteinberg mac</shout> | |
<venue> | |
<name>At Home</name> | |
</venue> | |
<user> | |
<id>999</id> | |
<firstname>Jon</firstname> |