Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Typing frantically!

Lacy lacyrhoades

💭
Typing frantically!
View GitHub Profile
View lpinfo.txt
lsb/usr/cupsfilters/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd Fuji Xerox
gutenprint.5.2://pcl-apollo-p2100/expert Apollo P-2100 - CUPS+Gutenprint v5.2.12-pre3
gutenprint.5.2://pcl-apollo-p2150/expert Apollo P-2150 - CUPS+Gutenprint v5.2.12-pre3
gutenprint.5.2://pcl-apollo-p2200/expert Apollo P-2200 - CUPS+Gutenprint v5.2.12-pre3
gutenprint.5.2://pcl-apollo-p2250/expert Apollo P-2250 - CUPS+Gutenprint v5.2.12-pre3
gutenprint.5.2://pcl-apollo-p2500/expert Apollo P-2500 - CUPS+Gutenprint v5.2.12-pre3
gutenprint.5.2://pcl-apollo-p2550/expert Apollo P-2550 - CUPS+Gutenprint v5.2.12-pre3
gutenprint.5.2://pcl-apollo-p2600/expert Apollo P-2600 - CUPS+Gutenprint v5.2.12-pre3
gutenprint.5.2://pcl-apollo-p2650/expert Apollo P-2650 - CUPS+Gutenprint v5.2.12-pre3
gutenprint.5.2://pcl-apple-4100/expert Apple Color StyleWriter 4100 - CUPS+Gutenprint v5.2.12-pre3
View Persistable.swift
//
// Persistable.swift
//
import Foundation
import Disk
public protocol Persistable: Codable {
init()
init?(_: [String: Any])
View PopArtFilter.swift
let group = GPUImageFilterGroup()
let contrastFilter = GPUImageContrastFilter()
contrastFilter.contrast = FoboCore.Context.sceneManager.popArtContrastLevel
let colorFilter = GPUImageFalseColorFilter()
colorFilter.firstColor = GPUVector4(FoboCore.Context.sceneManager.popArtColor.first)
colorFilter.secondColor = GPUVector4(FoboCore.Context.sceneManager.popArtColor.second)
group.initialFilters = [contrastFilter]
View PopArtColor.swift
public struct PopArtColor {
public var first: UIColor
public var second: UIColor
public static let colorIterator = InfiniteIterator(PopArtColor.allColors)
public static let allColors: [PopArtColor] = [
PopArtColor(first: UIColor((154, 99, 141)), second: UIColor((233, 223, 122))),
PopArtColor(first: UIColor((215, 68, 74)), second: UIColor((165, 210, 153))),
PopArtColor(first: UIColor((69, 74, 174)), second: UIColor((171, 171, 207))),
View Constraints.swift
// viewA is INSIDE OF or a SIBLING OF viewB
let viewA: UIView = ...
let viewB: UIView = ...
// Create constraint like...
let constraint = NSLayoutConstraint(item: viewA, attribute: .height, relatedBy: .equal, toItem: viewB, attribute: .height, multiplier: 1, constant: 0)
// or
let constraints = NSLayoutConstraint.constraints(withVisualFormat: "V:|-(margin)-[view]-(margin)-|", options: [], metrics: ["margin": 15.0], views: ["view": viewA])
View TwilioEncoding.swift
struct TwilioEncoding: ParameterEncoding {
static var totallyNormal = TwilioEncoding()
// Twilio requires this weird encoding for arrays
func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
var request = try URLEncoding().encode(urlRequest, with: parameters)
if let data = request.httpBody, let string = String(data: data, encoding: .utf8) {
let replaced = string.replacingOccurrences(of: "%5B%5D=", with: "=")
request.httpBody = replaced.data(using: .utf8)
}
View 01-PrintConfigViewController.swift
//
// PrintConfigViewController.swift
// Fobo
//
// Created by Lacy Rhoades on 8/24/18.
//
import UIKit
protocol PrintConfigViewControllerDelegate: class {
View 1-launch-attached.txt
2018-07-27 15:04:56.292767-0400 Fobo[1734:523812] [DYMTLInitPlatform] platform initialization successful
2018-07-27 15:04:56.657926-0400 Fobo[1734:523743] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2018-07-27 15:04:56.661879-0400 Fobo[1734:523743] [MC] Reading from public effective user settings.
2018-07-27 15:04:57.036655-0400 Fobo[1734:523743] [Crashlytics] Version 3.10.5 (130)
2018-07-27 15:04:57.316786-0400 Fobo[1734:523818] __NSCFLocalDownloadFile: error 2 opening for ioChannel, file: /private/var/mobile/Containers/Data/Application/1552F399-1B2C-4922-800A-2888468695F6/tmp/CFNetworkDownload_cMhpvR.tmp
2018-07-27 15:04:57.316970-0400 Fobo[1734:523818] __NSCFLocalDownloadFile: error 2 opening for ioChannel, file: /private/var/mobile/Containers/Data/Application/1552F399-1B2C-4922-800A-2888468695F6/tmp/CFNetworkDownload_cMhpvR.tmp
2018-07-27 15:04:57.380430-0400 Fobo[1734:523816] [Fa
@lacyrhoades
lacyrhoades / Log-1.txt
Last active Jul 24, 2018
Crashlytics debug mode
View Log-1.txt
2018-07-24 15:29:09.549775-0400 Fobo[768:147768] [DYMTLInitPlatform] platform initialization successful
2018-07-24 15:29:09.985461-0400 Fobo[768:147589] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2018-07-24 15:29:09.986268-0400 Fobo[768:147589] [MC] Reading from public effective user settings.
2018-07-24 15:29:10.141059-0400 Fobo[768:147589] [Fabric] Crashlytics initialization disabled via Info.plist key firebase_crashlytics_collection_enabled
2018-07-24 15:29:10.278071-0400 Fobo[768:147833] 5.4.1 - [Firebase/Analytics][I-ACS023007] Firebase Analytics v.50001000 started
2018-07-24 15:29:10.278473-0400 Fobo[768:147833] 5.4.1 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2018-07-24 15:29:10.331095-0400 Fobo[768:147589] [Crashlytics] Version 3.10.5 (130)
2018-07-24 15:29:10.331349-
View SwiftySync+Dropbox.swift
struct DropboxRequest: SyncRequest {
var uploadRequest: UploadRequest<Files.FileMetadataSerializer, Files.UploadErrorSerializer>?
init(_ req: UploadRequest<Files.FileMetadataSerializer, Files.UploadErrorSerializer>) {
self.uploadRequest = req
}
var listRequest: RpcRequest<Files.ListFolderResultSerializer, Files.ListFolderErrorSerializer>?
init(_ req: RpcRequest<Files.ListFolderResultSerializer, Files.ListFolderErrorSerializer>) {
self.listRequest = req
}
You can’t perform that action at this time.