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
[ | |
{ | |
"Name":{ | |
"text":"Grace Kelly", | |
"url":"\/prospect\/read\/id\/5" | |
}, | |
"Company":{ | |
"text":"Kelly Online", | |
"url":"http:\/\/www.gracekelly.com" | |
} |
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
{ | |
"headers":[ | |
"Name", | |
"Company" | |
], | |
"rows":[ | |
{ | |
"Name":{ | |
"text":"Grace Kelly", | |
"url":"\/prospect\/read\/id\/5" |
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
[ | |
{ | |
"title": "Poop", | |
"id": 3, | |
"start": "2015-06-19T10:07:30-04:00", | |
"end": "2015-06-19T11:08:30-04:00", | |
"allDay": false, | |
"custom": true, | |
"icon": "globe", | |
"color": "#FCDCAE", |
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
[ | |
{ | |
"title": "Wake up", | |
"id": 1, | |
"start": "2015-06-18T11:07:30-04:00", | |
"end": "2015-06-18T11:08:30-04:00", | |
"allDay": false, | |
"custom": true, | |
"icon": "globe", | |
"color": "#FCDCAE", |
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
[ | |
{ "date": "Jun 12", "count": 541586, "description": "Jun 11 : 541,200 prospects" }, | |
{ "date": "Jun 13", "count": 551024, "description": "Jun 12 : 541,586 prospects" }, | |
{ "date": "Jun 14", "count": 556024, "description": "Jun 12 : 551,024 prospects" }, | |
{ "date": "Jun 15", "count": 536024, "description": "Jun 12 : 551,024 prospects" }, | |
{ "date": "Jun 16", "count": 566024, "description": "Jun 12 : 551,024 prospects" }, | |
{ "date": "Jun 17", "count": 535024, "description": "Jun 12 : 551,024 prospects" } | |
] |
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
[ | |
{ | |
"id": 1, | |
"name": "Leanne Graham", | |
"username": "Bret", | |
"email": "[email protected]", | |
"address": { | |
"street": "Kulas Light", | |
"suite": "Apt. 556", | |
"city": "Gwenborough", |
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
def parse_constant(contents) | |
results = [] | |
# REMOVE_PROSPECT_LIST: "remove_prospect_list", | |
regex = /(\w*):\s["'](\w*)["']/ | |
contents.scan(regex) do |constant, id| | |
results << { constant: constant, id: id } | |
end | |
return results; |
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
var s = new Set(); | |
s.add({"prop": "value"}); | |
_.find(s, { "prop": "value" }) // undefined | |
var arr = []; | |
arr.push({"prop": "value"}); | |
_.find(arr, { "prop": "value"}); // Object {prop: "value"} |
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
// Start 'bar' to 'baz' changes. | |
// 'bar' wasn't a very descriptive word. | |
//var foo = 'bar'; | |
var foo = 'baz'; | |
// End 'bar' to 'baz' changes' |
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
TypeError (can't convert nil into String): | |
app/models/package_transfer_cookie.rb:46:in `encoded_username' | |
app/models/package_transfer_cookie.rb:15:in `to_s' | |
app/models/package_transfer_request.rb:40:in `upload_params' | |
app/models/package_transfer_request.rb:25:in `upload_spec' | |
app/models/package_transfer_request.rb:15:in `transfer_spec' | |
app/models/package.rb:53:in `upload_spec' | |
app/api/external.rb:53:in `block (4 levels) in <class:External>' |