Skip to content

Instantly share code, notes, and snippets.

View rodericj's full-sized avatar
🐔
chicken

Roderic Campbell rodericj

🐔
chicken
View GitHub Profile
{"log":{"version":"1.2","creator":{"name":"Charles Proxy","version":"3.8.3"},"entries":[{"startedDateTime":"2014-02-05T12:53:44.273-08:00","time":160,"request":{"method":"PUT","url":"http://joto.me/api/v1/interest/69/","httpVersion":"HTTP/1.1","cookies":[{"name":"sessionid","value":"axzudm1y7bkc52wmeclnrqa5nycs85hk","path":null,"domain":null}],"headers":[{"name":"Host","value":"joto.me"},{"name":"Accept","value":"application/json"},{"name":"Content-Type","value":"application/json; charset=utf-8"},{"name":"Connection","value":"keep-alive"},{"name":"Cookie","value":"sessionid=axzudm1y7bkc52wmeclnrqa5nycs85hk"},{"name":"User-Agent","value":"Joto/1.0 (iPhone Simulator; iOS 7.0.3; Scale/2.00)"},{"name":"Accept-Language","value":"en;q=1, fr;q=0.9, de;q=0.8, zh-Hans;q=0.7, zh-Hant;q=0.6, ja;q=0.5"},{"name":"Accept-Encoding","value":"gzip, deflate"},{"name":"Content-Length","value":"21"}],"queryString":[],"postData":{"mimeType":"application/json; charset=utf-8","text":"{\"subscribed\":\"true\"}"},"headersSize":402,"b
{
"log": {
"version": "1.2",
"creator": {
"name": "Charles Proxy",
"version": "3.8.3"
},
"entries": [
{
"startedDateTime": "2014-02-05T12:53:44.273-08:00",
PUT /api/v1/interest/109/ HTTP/1.1
Host: joto.me
Accept: application/json
Content-Type: application/json; charset=utf-8
Content-Length: 22
Connection: keep-alive
Cookie: sessionid=axzudm1y7bkc52wmeclnrqa5nycs85hk
User-Agent: Joto/1.0 (iPhone Simulator; iOS 7.0.3; Scale/2.00)
Accept-Language: en;q=1, fr;q=0.9, de;q=0.8, zh-Hans;q=0.7, zh-Hant;q=0.6, ja;q=0.5
Accept-Encoding: gzip, deflate
GET /api/v1/user/ HTTP/1.1
Host: joto.me
Accept: application/json
Connection: keep-alive
Cookie: sessionid=axzudm1y7bkc52wmeclnrqa5nycs85hk
User-Agent: Joto/1.0 (iPhone Simulator; iOS 7.0.3; Scale/2.00)
Accept-Language: en;q=1, fr;q=0.9, de;q=0.8, zh-Hans;q=0.7, zh-Hant;q=0.6, ja;q=0.5
Authorization: Basic ZGZyZWVAdW1pY2guZWR1Omlsb3ZlZmFydHM=
Accept-Encoding: gzip, deflate
{
"date_joined": "2013-07-05T06:55:12+00:00",
"events": [{
"attended": null,
"category": "eventsdeals",
"description": "Join Mayor Buckhorn as food trucks line up for this monthly lunchtime event in downtown Tampa.",
"friends": [],
"id": 7289,
"image": "",
"interests": [{
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
if (indexPath.row == 1) {
static JotoTutorialTagsTableViewCell *sizingCell;
if (!sizingCell) {
sizingCell = [tableView dequeueReusableCellWithIdentifier:@"tutorialTagsCell"];
}
CGRect frame = sizingCell.frame;
frame.size.width = self.tableView.frame.size.width;
sizingCell.frame = frame;
NSString *category = [self.interestArray objectAtIndex:indexPath.section];
(lldb) po self.event.venue
<JotoVenue: 0xcd7f5c0> (entity: Venue; id: 0xceb7100 <x-coredata://8989600D-16D9-4504-BC35-CB682F478C9A/Venue/p6> ; data: {
address = "";
city = Tampa;
event = "0xceb0370 <x-coredata://8989600D-16D9-4504-BC35-CB682F478C9A/Event/p12>";
id = 189;
lat = 0;
lng = 0;
name = "St. Petersburg College Music Center";
"resource_uri" = "/api/v1/venue/189/";

This is an adaptation of https://twitter.com/jasonneylon script.

In the terminal window, you can open your current repo (at the current branch) in your default browser.

My adaptation was adding options to view the commits, branches, pull requests or issues for the repo using one of the additional options (added support for wiki, settings, pulse, graphs, network):

[-h]  => View help
[-c]  => View commits
[-b]  => View branches
[-pr] => View pull requests
response.lists.groups.items
response.lists.groups.items