I hereby claim:
- I am robpearson on github.
- I am robpearson (https://keybase.io/robpearson) on keybase.
- I have a public key whose fingerprint is 98DB 6E9E 1504 3DB1 5337 7900 4E53 4510 2A46 C11C
To claim this, I am signing this object:
// Location Service | |
- (RACSignal *)locationSignal { | |
// NOTE: Location service is a singleton thus no strongify/weakify | |
// TODO: Review previous service code to add checks on last object to ensure that it's up-to-date and of the correct accuracy. | |
// TODO: Review how to restart the timer. I'm currently using take: 1 so it's not needed immediately. | |
RACSignal *locationSignal = [[RACSignal |
@weakify(self); | |
RACSignal *timerSignal = [RACSignal | |
interval:10 onScheduler:[RACScheduler mainThreadScheduler]]; | |
self.somethingSignal = [timerSignal | |
map:^id(id value) { | |
@strongify(self); | |
return self.something; |
// One Off | |
RACSignal *currentUserLocationSignalX = [self.locationService.locationSignal take:1]; | |
// Refresh User Location on a interval timer | |
RACSignal *currentUserLocationIntervalSignal = [[[RACSignal | |
interval:60 | |
onScheduler:RACScheduler.scheduler] | |
map:^id(id value) { | |
strongify(self); | |
return [self.locationService.locationSignal take:1]; |
RACSignal *isWorkingSignal = [[RACObserve(object, isWorking) | |
map:^id(NSNumber *isWorking) { | |
if (YES == [isWorking boolValue]) { | |
NSTimeInterval delayInterval = 2; // seconds | |
return [[RACSignal return:isWorking] delay:delayInterval]; | |
} else { | |
return [RACSignal return:isWorking]; | |
} | |
}] switchToLatest]; |
// | |
// Created by Rob Pearson on 28/08/13. | |
// Copyright (c) 2013 Maple Pixel Pty. Ltd. All rights reserved. | |
// | |
// To change the template use AppCode | Preferences | File Templates. | |
// | |
#import <Foundation/Foundation.h> | |
#import <CoreLocation/CoreLocation.h> |
#import "DateTools.h" | |
#import "RACEXTScope.h" | |
#import "ReactiveCocoa.h" | |
@interface MPXTransitDashboardViewModel () | |
/// ... | |
@end |
I hereby claim:
To claim this, I am signing this object:
First, I wouldn't buy any official Apple adapters/dongles. They're very expensive and the reviews for a lot of them are terrible. One guy at Octopus bought Apple's USB-C Digital AV Multiport Adapter and it was dead on arrival. Apple replaced it happily but it's compatibility isn't supposed to be great.
Also see Casey Liss' new mac setup notes.
# Publish the application to a folder | |
dotnet publish C:\Projects\RandomQuotes\RandomQuotes.sln --output published-app --configuration Release | |
# Package the folder into a ZIP | |
octo pack --id RandomQuotes --version $env:APPVEYOR_BUILD_VERSION --basePath C:\projects\RandomQuotes\RandomQuotes\published-app | |
# Push Build Artifact AppVeyor Deployment with Octopus | |
appveyor PushArtifact C:\projects\randomquotes\RandomQuotes.$env:APPVEYOR_BUILD_VERSION.nupkg -Type OctopusPackage |