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
// uzywanie a1 a2 poza funkcją -- przesłanie tablicy i | |
#include<iostream> | |
using namespace std; | |
float *f(float *(tab[]), int length, float **pMin, float **pMax); | |
int main() { | |
//float tab[] = {9, 2, 5, 2, 5, 21}; | |
//cout << tab[0] << endl << *(tab+0) << endl << *(tab+1) << endl; |
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
UISwipeGestureRecognizer *swipeGestureLeft = [[UISwipeGestureRecognizer alloc] | |
initWithTarget:self action:@selector(handleSwipeGestureLeft:)]; | |
[self.view addGestureRecognizer:swipeGestureLeft]; | |
swipeGestureLeft.direction = UISwipeGestureRecognizerDirectionLeft; | |
[swipeGestureLeft release]; | |
UISwipeGestureRecognizer *swipeGesture = [[UISwipeGestureRecognizer alloc] | |
initWithTarget:self action:@selector(handleSwipeGesture:)]; | |
swipeGesture.direction = UISwipeGestureRecognizerDirectionRight; | |
[self.view addGestureRecognizer:swipeGesture]; |
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
{ | |
added = { | |
1481 = { | |
"easiness_factor" = "2.5"; | |
"last_interval_in_days" = 0; | |
"next_repetition_date" = 1417260013; | |
"phrase_descriptor_id" = 3072; | |
"repetition_count" = 0; | |
"temporary_id" = 1481; | |
}; |
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
Tuż przed chwilą: | |
JSON: (z pull'owania &from=0 | |
2014-11-29 02:07:49.573 Twigit[2994:83979] { | |
changes = ( | |
); | |
"current_version" = 1; | |
} | |
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
2014-11-29 02:01:22.285 Twigit[2994:83979] PARAMS | |
{ | |
added = { | |
1392 = { | |
"easiness_factor" = "2.5"; | |
"last_interval_in_days" = 0; | |
"next_repetition_date" = 1417222882; | |
"phrase_descriptor_id" = 3106; | |
"repetition_count" = 0; | |
"temporary_id" = 1392; |
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
JSON: { | |
changes = ( | |
{ | |
"_id" = { | |
"$oid" = 546d0bae1770fe0bec54884a; | |
}; | |
"_revision_date" = "1416433022.588966"; | |
"_user_id" = { | |
"$oid" = 544df1291770fe63af94cc49; | |
}; |
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" = { | |
"$oid" = 54607e5d1770fe788b61fdab; | |
}; | |
"_revision_date" = "1415609949.781673"; | |
"_user_id" = { | |
"$oid" = 544df1291770fe63af94cc49; | |
}; | |
"_version_id" = 709; | |
added = ( |
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
Wysyłam: | |
{ | |
added = ( | |
); | |
"my_version_id" = 141; | |
removed = ( | |
82 | |
); | |
updated = { |
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
NSDictionary *params = @{ | |
@"added" : @[ | |
], | |
@"removed" : @[], | |
@"updated" : @{ | |
@"3" : [repetition_phrase_descriptor createDictionaryFromFields] | |
}, | |
@"my_version_id" : self.currentUser.version_id | |
}; |
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
@interface Twigit_text_descriptor: NSObject | |
// Everything is copied form the row from text_descriptors table's row | |
@property (nonatomic) NSInteger id; // refactor | |
@property (nonatomic, strong) NSString *author; | |
@property (nonatomic, strong) NSString *title; | |
@property (nonatomic) NSInteger sentences_count; | |
@property (nonatomic) BOOL was_purchased; | |
@property (nonatomic) NSInteger price_tier; |