This file contains 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
module "app" { | |
for_each = local.applications.customers | |
source = "./modules/app/" | |
customer_name = each.key | |
providers = { | |
cloudflare = cloudflare | |
cloudflare.user_service_key = cloudflare.user_service_key | |
} | |
} |
This file contains 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
// | |
// jailbreak_protect.c | |
// | |
// Created by Jonathan Cardasis (C) on 10/11/19. | |
// Copyright © 2019 Jonathan Cardasis (C). All rights reserved. | |
// | |
// Source: https://medium.com/@joncardasis/mobile-security-jailbreak-protection-84aa0fbc7b23 | |
// Simply include this file in your project and ensure the file's Target Membership | |
// is set to your app. |
The attached lldb command pblock
command lets you peek inside an Objective-C block. It tries to tell you where to find the source code for the block, and the values captured by the block when it was created.
Consider this example program:
#import <Foundation/Foundation.h>
@interface Foo: NSObject
@end
@implementation Foo
This file contains 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
class AsyncOperation: Operation { | |
enum State: String { | |
case Ready, Executing, Finished | |
fileprivate var keyPath: String { | |
return "is" + rawValue | |
} | |
} | |
var state = State.Ready { |
To make Xcode 9 render markdown file eg. README.md, drop .xcodesamplecode.plist
in your .xcodeproj/
folder.
.xcodesamplecode.plist
is like this:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <array/> </plist>
For convenience, There is this tool, which is derived from a tutorial.
NewerOlder