This file contains hidden or 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
// | |
// UploadFileToS3Operation.swift | |
// VecinioAPIKit | |
// | |
// Created by Oscar Swanros on 9/2/17. | |
// Copyright © 2017 Vecinio Technologies Inc. All rights reserved. | |
// | |
final public class UploadFileToS3Operation: P3Operation { | |
public let image: UIImage |
This file contains hidden or 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
// | |
// ViewController.swift | |
// Test | |
// | |
// Created by Oscar Swanros on 3/3/17. | |
// Copyright © 2017 Pacific3. All rights reserved. | |
// | |
import UIKit |
This file contains hidden or 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
public func p3_executeOnMainThread(handler: (Void) -> Void) { | |
if Thread.isMainThread { | |
handler() | |
} else { | |
DispatchQueue.main.sync(execute: handler) | |
} | |
} | |
func main() { | |
p3_executeOnMainThread { |
This file contains hidden or 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
ssh-keygen -t rsa -b 4096 -C "[email protected]" # Genera una llave con tu correo. Te va a pedir una ubicacion, luego un | |
# passhphrase y una confirmacion del passphrase. Deja todo en blanco. | |
eval "$(ssh-agent -s)" # Activa el servidor SSH. Te debe salir algo como: Agent pid 35677 | |
ssh-add ~/.ssh/id_rsa # agrega la llave que acabas de generar a la lista de llaves permitidas | |
pbcopy < ~/.ssh/id_rsa.pub # copia la llave al portapapeles | |
This file contains hidden or 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 MyController: UIViewController { | |
static var activeInstances: Int = 0 | |
init() { | |
super.init() | |
MyController.activeInstances += 1 | |
} | |
dealloc { |
This file contains hidden or 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
=== BUILD TARGET P3UIKit OF PROJECT P3UIKit WITH THE DEFAULT CONFIGURATION (Release) === | |
Check dependencies | |
=== BUILD TARGET CallicoKit OF PROJECT Callico WITH THE DEFAULT CONFIGURATION (Release) === | |
Check dependencies | |
Write auxiliary files | |
write-file /Users/Swanros/Documents/Pacific3/callico-ios/build/Callico.build/Release-iphoneos/CallicoKit.build/CallicoKit-all-non-framework-target-headers.hmap |
This file contains hidden or 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
build/ | |
DerivedData | |
*.pbxuser | |
!default.pbxuser | |
*.mode1v3 | |
!default.mode1v3 | |
*.mode2v3 | |
!default.mode2v3 | |
*.perspectivev3 |
This file contains hidden or 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
Copperplate-Light | |
Copperplate | |
Copperplate-Bold | |
IowanOldStyle-Italic | |
IowanOldStyle-Roman | |
IowanOldStyle-BoldItalic | |
IowanOldStyle-Bold | |
KohinoorTelugu-Regular | |
KohinoorTelugu-Medium | |
KohinoorTelugu-Light |
This file contains hidden or 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 Copyable { | |
typealias C | |
init() | |
func _copy() -> C | |
} | |
class CopyBox<T: Copyable> { |
This file contains hidden or 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
build/ | |
DerivedData | |
*.pbxuser | |
!default.pbxuser | |
*.mode1v3 | |
!default.mode1v3 | |
*.mode2v3 | |
!default.mode2v3 | |
*.perspectivev3 | |
!default.perspectivev3 |
NewerOlder