Skip to content

Instantly share code, notes, and snippets.

View SiarheiFedartsou's full-sized avatar

Siarhei Fedartsou SiarheiFedartsou

View GitHub Profile
@class Foo;
@interface Foo2 : NSObject
@property (nonatomic, strong) Foo* foo;
- (void) releaseFoo;
@end
@interface Foo : NSObject
- (void) boo:(void(^)())block foo2:(Foo2*)foo2;
@end
scSubscribe и newsSubsribe строкой, как было раньше:
PUT /v1/account/523313 HTTP/1.1
Host: dev2.mobitee.com
Content-Type: application/json
Cookie: PHPSESSID=gaihdgc3p7f36oob37o022e2q7; language=en
Connection: keep-alive
Accept: */*
X-BUILD: I_1.4.4_Device_iPhone_Locale_en
User-Agent: Mobitee and PIQ/1.4.4 (iPhone; iOS 9.3; Scale/2.00)
PUT /v1/account/523313 HTTP/1.1
Host: dev2.mobitee.com
Content-Type: application/json
Cookie: PHPSESSID=2fimg5s58c1kd6qkvvb84nlfu0; language=en
Connection: keep-alive
Accept: */*
X-BUILD: I_1.4.4_Device_iPhone_Locale_en
User-Agent: Mobitee and PIQ/1.4.4 (iPhone; iOS 9.3; Scale/2.00)
Accept-Language: en-US;q=1
Content-Length: 195
- (void)sendRequest:(id<GAApiRequest>)request success:(void (^)(AFHTTPRequestOperation *, id<GAApiResponse>))success
failure:(void (^)(AFHTTPRequestOperation *, NSError *))failure
{
if ([UIApplication sharedApplication].applicationState == UIApplicationStateBackground) {
GALog(@"Processing in background request : %@, time in GBG left %f", request.apiPath, [UIApplication sharedApplication].backgroundTimeRemaining);
}
[[NSHTTPCookieStorage sharedHTTPCookieStorage] setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways];
NSMutableDictionary *cookieProperties = [NSMutableDictionary dictionary];
[cookieProperties setObject:@"PHPSESSID" forKey:NSHTTPCookieName];
MacBook-Pro:~ sergeyfedortsov$ fastlane new_plugin test
Please enter a short summary of this fastlane plugin:
test
Your plugin was successfully generated at fastlane-plugin-test/ 🚀
To get started with using this plugin, run
fastlane add_plugin test
<br />
<font size='1'><table class='xdebug-error xe-notice' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Undefined variable: resUpd in /home/user/projects/mobitee/web/application/modules/default/controllers/MobiteeController.php on line <i>119</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0000</td><td bgcolor='#eeeeec' align='right'>243120</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/home/user/projects/mobitee/web/public/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr>
<tr><t
typedef struct {
BOOL scheduled;
OSSpinLock lock;
} PAScheduleOnceToken;
static char PAScheduleOnceTokenKey;
static void PAScheduleOnce(dispatch_queue_t queue, void (^block)())
{
PAScheduleOnceToken* tokenPointer = (PAScheduleOnceToken*)dispatch_queue_get_specific(queue, &PAScheduleOnceTokenKey);
#import <Foundation/Foundation.h>
#import <libkern/OSAtomic.h>
typedef struct {
BOOL scheduled;
OSSpinLock lock;
} PAScheduleOnceToken;
static char PAScheduleOnceTokenKey;
#import <Foundation/Foundation.h>
#import <libkern/OSAtomic.h>
typedef struct {
BOOL scheduled;
OSSpinLock lock;
} PAScheduleOnceToken;
static char PAScheduleOnceTokenKey;
objc[6539]: Class Foo is implemented in both /private/var/mobile/Containers/Bundle/Application/FBDC29F1-5447-47B0-B898-02E6714F319E/App.app/App and /private/var/mobile/Containers/Bundle/Application/FBDC29F1-5447-47B0-B898-02E6714F319E/App.app/App. One of the two will be used. Which one is undefined.