This file contains hidden or 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
// A snippet using GitHub's public API to get | |
// the URL and SHA of the first commit for a given repo | |
function openFirstCommit(userorg, repo, authToken) { | |
var opts = authToken ? | |
{ headers: new Headers({ | |
'Authorization': 'token ' + authToken | |
}) | |
} : {} |
This file contains hidden or 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
// | |
// DetailsController.m | |
// iOsNative | |
#import "DetailsController.h" | |
#import "CustomDetailsCell.h" | |
#import "JsonReader.h" | |
#import "PList.h" | |
@implementation DetailsController |
This file contains hidden or 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
<?php | |
class Foo { | |
public function bar() { | |
return "bar"; | |
} | |
public static function baz() { |