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
import UIKit | |
class Contact: Codable { | |
var name = "" | |
var photoURL: String = "" | |
var id = "" | |
init(name: String, photoURL: String, id: String) { | |
self.name = name | |
self.photoURL = photoURL |
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
import Foundation | |
protocol ApiExposable { | |
var baseURL: URL { get } | |
var path: String { get } | |
var method: HTTPMethod { get } | |
var parameters: [String: Any] { get } | |
var isTokenNeeded: Bool { get } | |
} |
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
CREATE TRIGGER workaround_whats AFTER INSERT | |
ON ZWAMESSAGE | |
BEGIN | |
update ZWAMESSAGE | |
set ZTEXT = replace( ZTEXT, 'ff', 'f f') | |
where ZWAMESSAGE.ZTEXT like '%ff%'; | |
update ZWAMESSAGE | |
set ZTEXT = replace( ZTEXT, 'fi', 'f i') | |
where ZWAMESSAGE.ZTEXT like '%fi%'; | |
update ZWAMESSAGE |
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
#!/bin/bash | |
# https://gist.github.com/949831 | |
# http://blog.carbonfive.com/2011/05/04/automated-ad-hoc-builds-using-xcode-4/ | |
# command line OTA distribution references and examples | |
# http://nachbaur.com/blog/how-to-automate-your-iphone-app-builds-with-hudson | |
# http://nachbaur.com/blog/building-ios-apps-for-over-the-air-adhoc-distribution | |
# http://blog.octo.com/en/automating-over-the-air-deployment-for-iphone/ | |
# http://www.neat.io/posts/2010/10/27/automated-ota-ios-app-distribution.html |