Skip to content

Instantly share code, notes, and snippets.

Infinite coffee break.

Tadeas Kriz TadeasKriz

Infinite coffee break.
View GitHub Profile
View AGResponse.m
@protocol AGResponse <NSObject>
// Array of unmarshaled objects
@property (readonly, nonatomic) NSArray* objects;
@property (readonly, nonatomic) BOOL hasPrevious;
@property (readonly, nonatomic) BOOL hasNext;
-(void)next:(void (^)(id<AGResponse> response))success failure:(void (^)(NSError *error))failure;
-(void)previous:(void (^)(id<AGResponse> response))success failure:(void (^)(NSError *error))failure;
View gist:10268749
public class AndroidDronePointFilter implements DronePointFilter {
public boolean accept(DroneContext context, DronePoint<?> dronePoint) {
DronePointContext<?> dronePointContext = context.get(dronePoint);
if (dronePointContext.hasConfiguration() && dronePoint.conformsTo(WebDriver.class)) {
if (dronePointContext.isInstantiated()) {
return dronePointContext.getInstanceAs(WebDriver.class) instanceof AndroidDriver;
} else {
* Copyright (C) 2014 Chris Banes
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing, software
View Android Devices.asciidoc

High ends

Samsung Galaxy S4

CZK 15,990

Display: 1920 x 1080 [xxhdpi]

Samsung phones are more and more popular, so it’s probably a good idea to test it on Samsung’s flagship. It also runs TouchWiz UI and when S2 was released, they had their own web browser rendering implementation (not sure if this still applies). This phone has powerful CPU and GPU and lot’s of memory.

Sony Xperia Z

CZK 12,790

View agpushmedium-ios
"url" : "",
"variantID" : "6853aadb-5808-406a-9d59-9f8bbd831708",
"secret": "229a80a3-3704-45df-a2f8-2ff8cdb708d2",
"alias" : ""
View agpushmedium-android
"url" : "",
"variantID" : "some variant id",
"secret": "some variant secret",
"senderID" : "sender id from google console",
"alias" : ""
TadeasKriz / gist:6452242
Last active Dec 22, 2015
Aerogear Perf Test Android
View gist:6452242
"url" : "",
"variantID" : "1af03e9c-20a3-4238-95b7-66789297604b",
"secret" : "0b28f102-18d0-40c1-aefd-2ec9ebb7bc60",
"alias" : " - Android",
"senderID" : "489342927486"
TadeasKriz / gist:6452308
Last active Dec 22, 2015
Aerogear Push Perf Test iOS
View gist:6452308
"url" : "",
"variantID" : "2eb46b6a-e5f0-497b-861f-d790ca752f09",
"secret" : "1dd0260c-d483-41ad-8d2b-d49f1e58d608",
"alias" : " - iOS"
View only the important
PhaseScriptExecution Run\ Script /Users/tkriz/Library/Developer/Xcode/DerivedData/AeroGear-iOS-Integration-fdyvxhzldclvmifwuslqfdvlaggp/Build/Intermediates/
cd /Users/tkriz/Developer/Sandbox/code-coverage-ios/aerogear-ios-integration/AeroGear-iOS-Integration
/bin/sh -c /Users/tkriz/Library/Developer/Xcode/DerivedData/AeroGear-iOS-Integration-fdyvxhzldclvmifwuslqfdvlaggp/Build/Intermediates/
/Applications/ error: RunUnitTests is obsolete. To run unit tests for your target, use the Test scheme action in the Xcode IDE and the test action in xcodebuild.
/Applications/ note: You can remove the Run Script build phase that invokes RunUnitTests from your unit test
TadeasKriz / log
Created Oct 3, 2013
Failing aerogear-ios-integration
View log
2013-10-03 14:49:46.694 otest[43065:303] Unknown Device Type. Using UIUserInterfaceIdiomPhone based on screen size
Test Suite '/Users/tkriz/Library/Developer/Xcode/DerivedData/AeroGear-iOS-Integration-fdyvxhzldclvmifwuslqfdvlaggp/Build/Products/Debug-iphonesimulator/AeroGear-iOS-IntegrationTests.octest(Tests)' started at 2013-10-03 12:49:46 +0000
Test Suite 'AGAbstractBaseTestClass' started at 2013-10-03 12:49:46 +0000
Test Suite 'AGAbstractBaseTestClass' finished at 2013-10-03 12:49:46 +0000.
Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'AGHttpAuthenticationTests' started at 2013-10-03 12:49:46 +0000
Test Case '-[AGHttpAuthenticationTests testLoginSuccess]' started.
Test Case '-[AGHttpAuthenticationTests testLoginSuccess]' passed (0.616 seconds).
Test Case '-[AGHttpAuthenticationTests test_LoginFails]' started.
Test Case '-[AGHttpAuthenticationTests test_LoginFails]' passed (0.693 seconds).