Skip to content

Instantly share code, notes, and snippets.

View fnazarios's full-sized avatar
🏠
Working from home

Fernando Nazario Sousa fnazarios

🏠
Working from home
  • Guarulhos
  • 22:04 (UTC -03:00)
View GitHub Profile
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
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 }
}
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
#!/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