I hereby claim:
- I am osteslag on github.
- I am bondo (https://keybase.io/bondo) on keybase.
- I have a public key whose fingerprint is 79D8 8215 2CEA 0B1B 693E F2D2 3DD9 D69D 916E FFC5
To claim this, I am signing this object:
| // Contrived example illustrating problems with singleValueContainer on Encoder, and maybe Character not being Codable. | |
| import XCTest | |
| enum Suit: Character { | |
| case diamonds = "♦" | |
| case clubs = "♣" | |
| case hearts = "♥" | |
| case spades = "♠" | |
| } |
| // Adapted from Apple's Tech Note, [Modifying Image Metadata Without Recompressing Image](https://developer.apple.com/library/archive/qa/qa1895/_index.html). | |
| import Cocoa | |
| import ImageIO | |
| let url = URL(fileURLWithPath: "/path/to/file.tiff") | |
| guard let imageSource = CGImageSourceCreateWithURL(url as CFURL, nil) else { fatalError("Cannot create URL") } | |
| guard var properties = CGImageSourceCopyPropertiesAtIndex(imageSource, 0, nil) as? Dictionary<CFString, Any> else { fatalError("Cannot get image properties") } | |
| properties[kCGImageDestinationDateTime] = Date() |
| // | |
| // Quadrilateral.swift | |
| // CPR | |
| // | |
| // Created by Joachim Bondo on 16/08/16. | |
| // Copyright © 2016 Joachim Bondo. All rights reserved. | |
| // | |
| import UIKit | |
| import CoreImage |
| // | |
| // UIKit+Changeset.swift | |
| // Copyright (c) 2016 Joachim Bondo. All rights reserved. | |
| // | |
| import UIKit | |
| import Changeset | |
| public extension UITableView { | |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| find . -name "*conflicted copy*" -print -delete |
| #!/bin/sh | |
| version="0.1" | |
| script=$(basename $0) | |
| smc=/Applications/smcFanControl.app/Contents/Resources/smc | |
| smc_key="F1Mx" # HDD fan key | |
| minimum_speed=2500 | |
| fan_speed=0 | |
| version () { |
| #!/bin/sh | |
| # Script for managing build and version numbers using git and agvtool. | |
| # Change log: | |
| # v1.0 18-Jul-11 First public release. | |
| # v1.1 29-Sep-12 Launch git, agvtool via xcrun. | |
| version() { |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>DVTConsoleDebuggerInputTextColor</key> | |
| <string>0.811765 0.796078 0.564706 1</string> | |
| <key>DVTConsoleDebuggerInputTextFont</key> | |
| <string>Inconsolata - 16.0</string> | |
| <key>DVTConsoleDebuggerOutputTextColor</key> | |
| <string>1 1 1 1</string> |