Skip to content

Instantly share code, notes, and snippets.

[
{
"num_subscribers":8989,
"tagline":"Fast Company inspires a new breed of innovative and creative thought leaders who are actively inventing the future of business.",
"value":"http://feeds.feedburner.com/fastcompany/headlines",
"label":"Fast Company",
"score":8989.0,
"link":"https://www.fastcompany.com",
"raw_score":9.396447,
"id":1264
[
{
"title": "New York Times - Travel",
"rss_feed": "http://www.nytimes.com/services/xml/rss/nyt/Travel.xml",
"description": "Travel news, tips and photography about the best places to visit, all over the world. Regular features include 36 Hours, The Frugal Traveler, 52 Places Traveler and more.",
"language": "en",
"website": "https://www.nytimes.com/section/travel?emc=rss&partner=rss"
},
{
"title": "One Mile at a Time",
[
{
"num_subscribers": 13897,
"tagline": "Latest TOP news from www.espn.com",
"value": "https://www.espn.com/espn/rss/news/",
"label": "ESPN - TOP",
"score": 13897,
"link": "http://www.espn.com",
"raw_score": 19.558756,
"id": 482
[
{
"num_subscribers":57577,
"tagline":"CNN.com delivers up-to-the-minute news and information on the latest top stories, weather, entertainment, politics and more.",
"value":"http://rss.cnn.com/rss/cnn_topstories.rss",
"label":"CNN.com - Top Stories",
"score":57577.0,
"link":"https://www.cnn.com/index.html",
"raw_score":8.3599825,
"id":49
[
{
"title": "Washington Post - Politics",
"rss_feed": "http://www.washingtonpost.com/wp-dyn/rss/politics/index.xml",
"description": "Post Politics from The Washington Post is the source for political news headlines, in-depth politics coverage, political opinion, breaking news on the Trump administration and White House, Congress, the Supreme Court, elections...",
"language": "en",
"website": "http://www.washingtonpost.com/pb/politics/"
},
{
"title": "NYT - Politics",
[
{
"num_subscribers":8989,
"tagline":"Fast Company inspires a new breed of innovative and creative thought leaders who are actively inventing the future of business.",
"value":"http://feeds.feedburner.com/fastcompany/headlines",
"label":"Fast Company",
"score":8989.0,
"link":"https://www.fastcompany.com",
"raw_score":9.396447,
"id":1264
extension XCTestCase {
func asyncExpectation(description: String, timeout: TimeInterval = 10, completion: (XCTestExpectation) -> ()) {
let promise = expectation(description: description)
completion(promise)
waitForExpectations(timeout: timeout, handler: nil)
}
}
@gkye
gkye / copy_appropriate_google-service-info-plist.sh
Created June 10, 2019 16:43 — forked from tylermilner/copy_appropriate_google-service-info-plist.sh
A shell script to selectively copy your GoogleService-Info.plist into your app bundle based on the current build configuration. (Dev, Staging & Production)
# Name of the resource we're selectively copying
GOOGLESERVICE_INFO_PLIST=GoogleService-Info.plist
# Get references to dev and prod versions of the GoogleService-Info.plist
# NOTE: These should only live on the file system and should NOT be part of the target (since we'll be adding them to the target manually)
GOOGLESERVICE_INFO_DEV=${PROJECT_DIR}/${TARGET_NAME}/Firebase/Dev/${GOOGLESERVICE_INFO_PLIST}
@gkye
gkye / SwiftyProgressHUD.swift
Created May 4, 2018 01:00 — forked from mspvirajpatel/SwiftyProgressHUD.swift
SwiftyProgressHUD is a Swift based clean and easy-to-use HUD meant to display the progress of an ongoing task on iOS
//
// SwiftyProgressHUD.swift
// mWELL
//
// Created by Shubham Naik on 11/07/17.
// Copyright © 2017 Shubham. All rights reserved.
//
import UIKit
class SwiftyProgressHUD: UIView {
@gkye
gkye / HKQuantityTypeIdentifiers.swift
Created February 4, 2018 08:02
HKTypeIdentifiers for HealthKit
//
// HKTypeIdentifiers
// HealthKit
//
// Copyright (c) 2014 Apple Inc. All rights reserved.
//
/*--------------------------------*/
/* HKQuantityType Identifiers */