I hereby claim:
- I am ccarse on github.
- I am ccarse (https://keybase.io/ccarse) on keybase.
- I have a public key ASChlOIrcWj1NwePYSwYnrX5mJUmu6gfrVktV82mh9Nh6go
To claim this, I am signing this object:
| require 'slack-ruby-client' # first, make sure you do: gem install slack-ruby-client | |
| require 'date' | |
| # Add your Slack API token here | |
| token = [YOUR TOKEN HERE] | |
| Slack.configure do |config| | |
| config.token = token | |
| end |
I hereby claim:
To claim this, I am signing this object:
| Pod::Spec.new do |m| | |
| m.name = 'MapBox' | |
| m.version = '1.0.3' | |
| m.summary = 'Open source alternative to MapKit.' | |
| m.description = 'Open source alternative to MapKit supporting custom tile sources, offline use, and complete cache control.' | |
| m.homepage = 'http://mapbox.com/mobile' | |
| m.license = 'BSD' | |
| m.author = { 'MapBox' => '[email protected]' } |
| - (void)enhancedKvcMagic:(id)object { | |
| int columnCount = sqlite3_column_count([_statement statement]); | |
| int columnIdx = 0; | |
| for (columnIdx = 0; columnIdx < columnCount; columnIdx++) { | |
| id c = [self objectForColumnIndex:columnIdx]; | |
| // check for a null row |
| <entity name="MillHierarchy" representedClassName="MillHierarchy" syncable="YES"> | |
| <attribute name="BaseObjectID" attributeType="String" syncable="YES"/> | |
| <attribute name="Description" optional="YES" attributeType="String" syncable="YES"/> | |
| <attribute name="HierarchyTypeID" attributeType="String" syncable="YES"/> | |
| <attribute name="IsActive" attributeType="Boolean" syncable="YES"/> | |
| <attribute name="MillHierarchyID" attributeType="String" syncable="YES"/> | |
| <attribute name="MillID" attributeType="String" syncable="YES"/> | |
| <attribute name="Name" attributeType="String" syncable="YES"/> | |
| <attribute name="ParentMillHierarchyID" optional="YES" attributeType="String" syncable="YES"/> | |
| </entity> |
| <entity name="MillHierarchy" representedClassName="MillHierarchy" syncable="YES"> | |
| <attribute name="baseObjectID" attributeType="String" syncable="YES"/> | |
| <attribute name="description" optional="YES" attributeType="String" syncable="YES"/> | |
| <attribute name="hierarchyTypeID" attributeType="String" syncable="YES"/> | |
| <attribute name="isActive" attributeType="Boolean" syncable="YES"/> | |
| <attribute name="millHierarchyID" attributeType="String" syncable="YES"/> | |
| <attribute name="millID" attributeType="String" syncable="YES"/> | |
| <attribute name="name" attributeType="String" syncable="YES"/> | |
| <attribute name="parentMillHierarchyID" optional="YES" attributeType="String" syncable="YES"/> | |
| </entity> |
| // Before | |
| NSMutableDictionary *mainDict = [[NSMutableDictionary alloc] init]; | |
| [mainDict setObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:[NSNumber numberWithBool:false], serverBlob, nil] | |
| forKeys:[NSArray arrayWithObjects:@"moreChangesAvailable", @"serverBlob", nil]], changes, nil] | |
| forKeys:[NSArray arrayWithObjects:@"__sync", @"results", nil]] | |
| forKey:@"d"]; | |
| // After | |
| NSDictionary *mainDict = @{@"d":@{@"__sync":@{@"moreChangesAvailable":@0, @"serverBlob":serverBlob}, @"results":changes}}; |