This file contains 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
[{ | |
lat: 29.974247, | |
lng: -90.060472 | |
}, | |
{ | |
lat: 53.790123, | |
lng: -1.53243 | |
}, | |
{ | |
lat: 53.756745, |
This file contains 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
{ | |
"name": "electron-quick-start", | |
"version": "1.0.0", | |
"description": "A minimal Electron application", | |
"main": "main.js", | |
"scripts": { | |
"start": "electron .", | |
"postinstall": "electron-rebuild --pre-gyp-fix --force" | |
}, | |
"repository": { |
This file contains 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
SELECT events.* FROM "events" INNER JOIN "operating_schedule_events" ON "operating_schedule_events"."event_id" = "events"."id" INNER JOIN "operating_schedules" ON "operating_schedules"."id" = "operating_schedule_events"."operating_schedule_id" INNER JOIN (SELECT "events"."id" AS pg_search_id, (ts_rank((setweight(to_tsvector('english', unaccent(coalesce(pg_search_2e71682eeb42285accc2d8.pg_search_8cef9fe4cc3d76103d145d::text, ''))), 'B') || setweight(to_tsvector('english', unaccent(coalesce(pg_search_b229fd995799cea4ca76c4.pg_search_93f916f001b6b057ee2922::text, ''))), 'C') || "events"."tsv"), (to_tsquery('english', ''' ' || unaccent('Pizza') || ' ''' || ':*')), 0)) AS rank FROM "events" LEFT OUTER JOIN (SELECT "events"."id" AS id, string_agg("tags"."name"::text, ' ') AS pg_search_8cef9fe4cc3d76103d145d FROM "events" INNER JOIN "taggings" ON "taggings"."taggable_id" = "events"."id" AND "taggings"."context" = 'aliases' AND "taggings"."taggable_type" = 'Event' INNER JOIN "tags" ON "tags"."id" = "taggings"."tag_i |
This file contains 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
- (void)searchBarCancelButtonClicked:(UISearchBar *)searchBar { | |
[searchBar resignFirstResponder]; | |
[UIView animateWithDuration:0.01f animations:^{ | |
self.searchController.searchBar.alpha = 0.0; | |
} completion:^(BOOL finished) { | |
[self.tableView setContentOffset:CGPointMake(0, self.tableView.contentOffset.y + self.searchController.searchBar.frame.size.height)]; | |
[UIView animateWithDuration:1.0f animations:^ { | |
self.searchController.searchBar.alpha = 1.0; | |
}]; |
This file contains 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
[ | |
{name: 'Item A', position: 1, sticky: true}, | |
{name: 'Item B', position: 2, sticky: true}, | |
{name: 'Item C', position: 3, sticky: false}, | |
{name: 'Item D', position: 4, sticky: false}, | |
{name: 'Item E', position: 5, sticky: false}, | |
{name: 'Item F', position: 6, sticky: false}, | |
{name: 'Item G', position: 7, sticky: false}, | |
{name: 'Item H', position: 8, sticky: false}, | |
{name: 'Item I', position: 9, sticky: false}, |
This file contains 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
- (void)deleteItemsAtIndexPaths:(NSArray *)indexPaths { | |
NSArray *reloadedIndexPaths = [self safeIndexPaths:indexPaths]; | |
if (reloadedIndexPaths.count > 0) { | |
[self.collectionView deleteItemsAtIndexPaths:reloadedIndexPaths]; | |
} | |
} |
This file contains 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
@import UIKit; | |
#import "FORMInputValidator.h" | |
#import "FORMFormatter.h" | |
typedef NS_ENUM(NSInteger, VPCounterFormFieldType) { | |
VPCounterFormFieldTypeDefault = 0, | |
VPCounterFormFieldTypeCounter, | |
VPCounterFormFieldTypeUnknown | |
}; |
This file contains 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
@import XCTest; | |
#import "FORMData.h" | |
#import "FORMField.h" | |
#import "FORMSection.h" | |
#import "FORMLayout.h" | |
#import "FORMDataSource.h" | |
#import "NSJSONSerialization+ANDYJSONFile.h" | |
#import "NSDate+HYPString.h" | |
#import "FORMNameInputValidator.h" |
This file contains 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
{ | |
"groups":[ | |
{ | |
"id":"customer-details", | |
"title":"Customer Details", | |
"sections":[ | |
{ | |
"id":"customer-details-0", | |
"fields":[ | |
{ |
This file contains 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
<data type="array"> | |
<datum> | |
<TCCategory> | |
<id type="integer">1</id> | |
<name>Dining</name> | |
<category-id type="integer">2</category-id> | |
<active type="boolean">true</active> | |
<position type="integer">1</position> | |
<created-at type="datetime">2010-03-26T16:06:12-05:00</created-at> | |
<updated-at type="datetime">2010-07-20T14:51:37-05:00</updated-at> |
NewerOlder