MD5: 59bab8f71f8c096cd3f72cd73851515d
Rename it to: Sublime Text
Make it executable with: chmod u+x Sublime\ Text
| /* | |
| Distributed under The MIT License: | |
| http://opensource.org/licenses/mit-license.php | |
| Permission is hereby granted, free of charge, to any person obtaining | |
| a copy of this software and associated documentation files (the | |
| "Software"), to deal in the Software without restriction, including | |
| without limitation the rights to use, copy, modify, merge, publish, | |
| distribute, sublicense, and/or sell copies of the Software, and to |
| mr Marathi | |
| bs Bosnian | |
| ee_TG Ewe (Togo) | |
| ms Malay | |
| kam_KE Kamba (Kenya) | |
| mt Maltese | |
| ha Hausa | |
| es_HN Spanish (Honduras) | |
| ml_IN Malayalam (India) | |
| ro_MD Romanian (Moldova) |
| @interface NSManagedObject (Serialization) | |
| - (NSDictionary*) toDictionary; | |
| - (void) populateFromDictionary:(NSDictionary*)dict; | |
| + (NSManagedObject*) createManagedObjectFromDictionary:(NSDictionary*)dict | |
| inContext:(NSManagedObjectContext*)context; | |
| @end |
| <?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>Information</key> | |
| <dict> | |
| <key>Description</key> | |
| <string>Map Rails ActiveSupport timezones to iOS readable timezone IDs.</string> | |
| <key>Version</key> | |
| <string>1.0</string> |
| // | |
| // NSManagedObject+JSON.h | |
| // Rego | |
| // | |
| // Created by Justin Driscoll on 7/29/13. | |
| // Copyright (c) 2013 Makalu Inc. All rights reserved. | |
| // | |
| #import <CoreData/CoreData.h> |
| NSDate *date = [NSDate date]; | |
| NSCalendar *utcCalendar = [[NSCalendar alloc] initWithCalendarIdentifier:NSCalendarIdentifierGregorian]; | |
| utcCalendar.timeZone = [NSTimeZone timeZoneWithAbbreviation:@"UTC"]; | |
| unsigned ymdhmsUnitFlags = NSCalendarUnitYear | NSCalendarUnitMonth | NSCalendarUnitDay| NSCalendarUnitHour | NSCalendarUnitMinute | NSCalendarUnitSecond; | |
| NSDateComponents *utcDateComponents = [utcCalendar components:ymdhmsUnitFlags fromDate:date]; | |
| // Create string of form "yyyy-mm-dd hh:mm:ss" |
| // | |
| // Device.swift | |
| // imHome | |
| // | |
| // Created by Kevin Xu on 2/9/15. Updated on 6/20/15. | |
| // Copyright (c) 2015 Alpha Labs, Inc. All rights reserved. | |
| // | |
| import Foundation |
| // | |
| // Created by Ian Dundas on 16/03/15. | |
| // | |
| #import "UIImagePickerController+cats.h" | |
| #import <AVFoundation/AVFoundation.h> | |
| #import "Photos/Photos.h" | |
| /* | |
| example usage: |
| #import <Contacts/Contacts.h> | |
| @implementation ContactsScan | |
| - (void) contactScan | |
| { | |
| if ([CNContactStore class]) { | |
| //ios9 or later | |
| CNEntityType entityType = CNEntityTypeContacts; | |
| if( [CNContactStore authorizationStatusForEntityType:entityType] == CNAuthorizationStatusNotDetermined) |