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
static NSInteger const kTextAndImageSlideScore = 5; | |
static NSInteger const kVideoSlideScore = 10; | |
static NSInteger const kQuizSlideScore = 5; | |
static NSInteger const kQuizAnsweredSlideScore = 5; | |
static NSInteger const kBadgeEarnedScore = 1; | |
+ (instancetype)scoreForViewingTheSlide:(Slide *)slide { | |
Score *score = [[Score alloc] init]; | |
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
{ | |
"status": "success", | |
"profile": { | |
"id": "36020", | |
"firstName": "Nick", | |
"lastName": "Zatsepilov", | |
"rank": "Crew", | |
"level": "Level 0", | |
"avatar": "http://www.nauticed.org/", | |
"publicUsername": "Nick Z", |
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
{ | |
"status": "success", | |
"user_id": "36020", | |
"password_hash": "10e1358962e6eaf2373713246cab68be", | |
"profile": { | |
"id": "36020", | |
"firstName": "Nick", | |
"lastName": "Zatsepilov", | |
"rank": "Crew", | |
"level": "Level 0", |
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
What is your hourly rate? $35.0 | |
What is the estimated hours you think will be needed to complete the project? 2-3 month for one of platforms (iOS/Android) | |
Reference of similar work done in the past. https://itunes.apple.com/gb/app/qoob/id1037267029?mt=8 |
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
{ | |
1 = { | |
id = 1; | |
moduleQuestionsCount = 24; | |
name = "Weather and Sea Conditions"; | |
number = 1; | |
passed = 100; | |
passing = 85; | |
questions = 20; | |
}; |
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
Original error message: "JSON could not be serialized because of error:\nThe data couldn’t be read because it isn’t in the correct format." | |
$ curl -v \ | |
-X POST \ | |
-u DABADOC_API_V1:DGDA4DMJQAEvZxobJ \ | |
-H "Accept-Language: en;q=1.0" \ | |
-H "User-Agent: dabadoc/1.0 (com.dabadoc.pro; build:2; iOS 10.3.0) Alamofire/4.5.0" \ | |
-H "Accept-Encoding: gzip;q=1.0, compress;q=0.5" \ | |
"https://staging.dabadoc.com/api/v1/fr/doctor/forgot_password?doctor_email=test%40test.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
{ | |
"message" : "this is a dabadoc message this is a dabadoc message this is a dabadoc message this is a dabadoc message this is a dabadoc message this is a dabadoc message this", | |
"phone_number" : [ | |
"+212661303120", | |
"+447773088878", | |
"+212661372626", | |
"+212661079927", | |
"+212644920706", | |
"+212650123456", | |
"+212661442313", |
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
$ curl -v \ | |
-X POST \ | |
-b "doctor.expires_at=BAhVOiBBY3RpdmVTdXBwb3J0OjpUaW1lV2l0aFpvbmVbCEl1OglUaW1lDY5kHcCwEVxqCToNbmFub19udW1pAnUCOg1uYW5vX2RlbmkGOg1zdWJtaWNybyIHYpA6CXpvbmVJIghVVEMGOgZFRkkiD0Nhc2FibGFuY2EGOwtUSXU7Bg2PZB3AsBFcagg7B2kCdQI7CGkGOwkiB2KQ--2c21ff4a68c5924d95bf430d1f96bca9f18eb464;doctor.id=BAhVOhNCU09OOjpPYmplY3RJZCIRVf9CoFgjPwCBAAAB--d505e6aba609d4d36485b1d3cddfd6c0b66a4a6b" \ | |
-H "Content-Type: application/x-www-form-urlencoded; charset=utf-8" \ | |
-H "Accept-Language: en;q=1.0" \ | |
-H "User-Agent: dabadoc/1.0 (com.dabadoc.pro; build:7; iOS 10.3.0) Alamofire/4.5.0" \ | |
-H "Accept-Encoding: gzip;q=1.0, compress;q=0.5" \ | |
-d "booking_slot%5Bstarts_at%5D=2017-10-04T17%3A00%3A00.000&booking_slot%5Bends_at%5D=2017-10-04T18%3A00%3A00.000¤t_day=2017-10-04&doctor_email=ruslan%40dabadoc.com&doctor_token=iyv8baLhjxKB4tz3cbm6" \ | |
"https://staging.dabadoc.com/api/v1/fr/doctor/booking_slot/block_interval" |
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
$ curl -v \ | |
-X PUT \ | |
-u DABADOC_API_V1:DGDA4DMJQAEvZxobJ \ | |
-b "doctor.expires_at=BAhVOiBBY3RpdmVTdXBwb3J0OjpUaW1lV2l0aFpvbmVbCEl1OglUaW1lDctkHcB8ApRsCToNbmFub19udW1pNzoNbmFub19kZW5pBjoNc3VibWljcm8iBgU6CXpvbmVJIghVVEMGOgZFRkkiD0Nhc2FibGFuY2EGOwtUSXU7Bg3MZB3AfAKUbAg7B2k3OwhpBjsJIgYF--38e8b654ede36b1bde29514cb15f553ba986be89;doctor.id=BAhVOhNCU09OOjpPYmplY3RJZCIRVf9CoFgjPwCBAAAB--d505e6aba609d4d36485b1d3cddfd6c0b66a4a6b" \ | |
-H "Accept-Language: en;q=1.0" \ | |
-H "User-Agent: dabadoc/1.0 (com.dabadoc.pro; build:8; iOS 10.3.0) Alamofire/4.5.1" \ | |
-H "Accept-Encoding: gzip;q=1.0, compress;q=0.5" \ | |
"https://staging.dabadoc.com/api/v1/fr/doctor/messages/594aaa757fc535001ce66623?change_block_state=0&doctor_email=ruslan%40dabadoc.com&doctor_token=xT2ttH6hWQWKnEsDfXvE" |
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
UCCESS: { | |
conversations = ( | |
{ | |
"has_unseen_messages" = 0; | |
id = 594aaa757fc535001ce66623; | |
"is_blocked" = 0; | |
"last_message" = { | |
content = ":D"; | |
"created_at" = "2017-06-21T17:19:10.124+00:00"; | |
seen = 1; |