This file has been truncated, but you can view the full file.
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
| STATION,NAME,DATE,PRCP,TAVG,TMAX,TMIN | |
| USW00013960,"DALLAS FAA AIRPORT, TX US",8/8/1939,0.03,,85,79 | |
| USW00013960,"DALLAS FAA AIRPORT, TX US",8/9/1939,0,,96,74 | |
| USW00013960,"DALLAS FAA AIRPORT, TX US",8/10/1939,0,,98,73 | |
| USW00013960,"DALLAS FAA AIRPORT, TX US",8/11/1939,0,,98,78 | |
| USW00013960,"DALLAS FAA AIRPORT, TX US",8/12/1939,0,,99,78 | |
| USW00013960,"DALLAS FAA AIRPORT, TX US",8/13/1939,0,,102,77 | |
| USW00013960,"DALLAS FAA AIRPORT, TX US",8/14/1939,0,,102,76 | |
| USW00013960,"DALLAS FAA AIRPORT, TX US",8/15/1939,0,,100,77 | |
| USW00013960,"DALLAS FAA AIRPORT, TX US",8/16/1939,0.02,,102,76 |
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
| ///Lists all fonts available to the app, including embedded fonts | |
| public static func listAvailableFontFamilies() { | |
| let fontFamilies = NSFontManager.shared.availableFontFamilies | |
| for (index, family) in fontFamilies.enumerated() { | |
| print("\(index). \(family)") | |
| } | |
| } | |
| public static func listAvailableFonts() { | |
| let fonts = NSFontManager.shared.availableFonts |
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
| ///Lists all fonts available to the app, including embedded fonts | |
| public static func listAvailableFontFamilies() { | |
| let fontFamilies = NSFontManager.sharedFontManager().availableFontFamilies | |
| for (index, family) in fontFamilies.enumerate() { | |
| print("\(index). \(family)") | |
| } | |
| } | |
| public static func listAvailableFonts() { | |
| let fonts = NSFontManager.sharedFontManager().availableFonts |
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
| extension UIColor { | |
| // Creates a hex string from a UIColor | |
| func hexString() -> NSString { | |
| let colorSpace:CGColorSpaceModel = CGColorSpaceGetModel(CGColorGetColorSpace(self.CGColor)) | |
| let components = CGColorGetComponents(self.CGColor) | |
| var r:CGFloat = 0.0, g:CGFloat = 0.0, b:CGFloat = 0.0, a:CGFloat = 0.0 | |
| if colorSpace.value == kCGColorSpaceModelMonochrome.value { |
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
| # AF Vacuum | |
| # af_vacuum.rb | |
| # Created by Jayson Lane on 3/7/14 | |
| # Copyright (c) 2014 Oven Bits | |
| # This script accepts a static library input and removes all AF* object files and repackages the library. | |
| # It will work with single architecture libraries (thin libs) or multiple architecture libraries (fat libs). | |
| # HT to: http://atnan.com/blog/2012/01/12/avoiding-duplicate-symbol-errors-during-linking-by-removing-classes-from-static-libraries |
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
| amp = .1; | |
| freq = 2.0; | |
| decay = 2.0; | |
| n = 0; | |
| if (numKeys > 0){ | |
| n = nearestKey(time).index; | |
| if (key(n).time > time){ | |
| n--; | |
| } |
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
| if ([urlResponse statusCode] == 200){ | |
| NSLog(@"Good"); | |
| } | |
| else if ([urlResponse statusCode] == 400 || [urlResponse statusCode] == 401) { | |
| [_accountStore renewCredentialsForAccount:_selectedAccount completion:^(ACAccountCredentialRenewResult renewResult, NSError *error) { | |
| NSLog(@"Renewal result: %d", renewResult); | |
| //we don't actually need to inspect renewResult or error. |
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
| Pod::Spec.new do |s| | |
| s.name = "KIImagePager" | |
| s.version = "0.0.1" | |
| s.summary = "This UIView Subclass is used to present Images loaded from the Web and is inspired from foursquare's Image Slideshow." | |
| s.homepage = "https://github.com/kimar/KIImagePager" | |
| s.screenshots = "https://a248.e.akamai.net/camo.github.com/b2e0850f2ba13ae6274777d1404f9544e9124154/687474703a2f2f6b696d61722e6769746875622e696f2f73637265656e73686f74732f6b69696d61676570616765722f312e706e67", "https://a248.e.akamai.net/camo.github.com/3d31a2286f061c3ff7265de5dcd68e507ae82ad5/687474703a2f2f6b696d61722e6769746875622e696f2f73637265656e73686f74732f6b69696d61676570616765722f322e706e67" | |
| s.license = 'MIT' | |
| s.license = { | |
| :type => 'MIT', | |
| :text => 'LICENSE' |