Skip to content

Instantly share code, notes, and snippets.

View cpaika's full-sized avatar

Chris Paika cpaika

View GitHub Profile
tesla-github-terraform $ TF_LOG=TRACE terraform plan
2018/11/26 16:45:50 [INFO] Terraform version: 0.11.10
2018/11/26 16:45:50 [INFO] Go runtime version: go1.11.2
2018/11/26 16:45:50 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.10/bin/terraform", "plan"}
2018/11/26 16:45:50 [DEBUG] Attempting to open CLI config file: /Users/cpaika/.terraformrc
2018/11/26 16:45:50 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/11/26 16:45:50 [INFO] CLI command args: []string{"plan"}
2018/11/26 16:45:50 [INFO] command: empty terraform config, returning nil
2018/11/26 16:45:50 [DEBUG] command: no data state file found for backend config
2018/11/26 16:45:50 [DEBUG] New state was assigned lineage "c0fc6a53-5580-8be0-0adf-53735c9429e3"
@cpaika
cpaika / BIDVIewController5
Last active August 29, 2015 14:09
Presentation Core Location
UIDevice *device = [UIDevice currentDevice];
NSString *currentDeviceId = [[device identifierForVendor]UUIDString];
NSString * url = @"https://491presentation.firebaseio.com/";
self.root = [[Firebase alloc] initWithUrl:url];
url = [url stringByAppendingString: currentDeviceId];
Firebase *myRootRef = [[Firebase alloc] initWithUrl:url];
self.latRef = [myRootRef childByAppendingPath: @"/latitude"];
self.longRef = [myRootRef childByAppendingPath: @"/longitude"];
self.timeRef = [myRootRef childByAppendingPath:@"/velocity"];