I hereby claim:
- I am kafran on github.
- I am kafran (https://keybase.io/kafran) on keybase.
- I have a public key ASCJv9SJ3qWI58rLwTSMBNjmJJIsJy9wuf4TlNklej_V-Qo
To claim this, I am signing this object:
| from airflow.utils import db | |
| from airflow.models import Connection | |
| import csv | |
| outfile = open('myconnections.csv', 'w') | |
| outcsv = csv.writer(outfile) | |
| with db.create_session() as session: | |
| connections = session.query(Connection).all() |
| import Foundation | |
| import CoreData | |
| extension MyCoredataObject { | |
| @nonobjc public class func createFetchRequest() -> NSFetchRequest<MyCoredataObject> { | |
| return NSFetchRequest<MyCoredataObject>(entityName: "MyCoredataObject") | |
| } | |
| @NSManaged public var sortId: Int64 |
| public func CVPixelBufferGetPixelFormatName(pixelBuffer: CVPixelBuffer) -> String { | |
| let p = CVPixelBufferGetPixelFormatType(pixelBuffer) | |
| switch p { | |
| case kCVPixelFormatType_1Monochrome: return "kCVPixelFormatType_1Monochrome" | |
| case kCVPixelFormatType_2Indexed: return "kCVPixelFormatType_2Indexed" | |
| case kCVPixelFormatType_4Indexed: return "kCVPixelFormatType_4Indexed" | |
| case kCVPixelFormatType_8Indexed: return "kCVPixelFormatType_8Indexed" | |
| case kCVPixelFormatType_1IndexedGray_WhiteIsZero: return "kCVPixelFormatType_1IndexedGray_WhiteIsZero" | |
| case kCVPixelFormatType_2IndexedGray_WhiteIsZero: return "kCVPixelFormatType_2IndexedGray_WhiteIsZero" | |
| case kCVPixelFormatType_4IndexedGray_WhiteIsZero: return "kCVPixelFormatType_4IndexedGray_WhiteIsZero" |
| import SwiftUI | |
| // pre-create one instance of MeasurementFormatter for our format needs | |
| // re-use as needed | |
| extension MeasurementFormatter { | |
| static private let formatter: MeasurementFormatter = { | |
| let formatter = MeasurementFormatter() | |
| let numberFormatter = NumberFormatter() | |
| numberFormatter.numberStyle = .decimal | |
| numberFormatter.minimumFractionDigits = 2 |
| import CloudKit | |
| import Foundation | |
| import Locksmith | |
| /** | |
| API Key used by this app is fetched from CloudKit. This class manages fetching and saving it into Keychain | |
| */ | |
| class ApiKey { | |
| private static let RECORD_NAME = <# RECORD_NAME_IN_CLOUDKIT #> | |
| private static let KEY = <# KEY_NAME_IN_CLOUDKIT #> |
I hereby claim:
To claim this, I am signing this object: