Skip to content

Instantly share code, notes, and snippets.

View rhysforyou's full-sized avatar

Rhys Powell rhysforyou

View GitHub Profile
src/containers/SearchPackagesList.js:36
36: const mapStateToProps = (state: State, props: OwnProps): StateProps => ({
^^^^^^^^ property `query`. Property not found in
17: type Props = ChildProps & OwnProps
^^^^^^^^^^ object type
src/containers/SearchPackagesList.js:40
40: const mapDispatchToProps = (dispatch: Dispatch<Action>, props: OwnProps): DispatchProps => ({
^^^^^^^^ property `query`. Property not found in
17: type Props = ChildProps & OwnProps
/* @flow */
import { connect } from 'react-redux'
import { createSelector } from 'reselect'
import { searchPackagesRequested } from '../actions/packages'
import PackageList from '../components/PackageList'
import type { Dispatch } from 'redux'
import type { Selector as BaseSelector } from 'reselect'
import type { Action, Package } from '../actions/types'
import type { State, PackagesState, Search } from '../reducers/types'
package com.rpowell.streaks.models
import com.rpowell.streaks.util.enumerated
import io.realm.Realm
import java.util.*
object Fixtures {
private val goalTitles = Arrays.asList(
"Take Medication",
"Do 30 Minutes Exercise",
import Foundation
import Decodable
struct Restaurant {
enum Meal: String {
case breakfast, lunch, dinner
}
enum DecodingError: Error {
case missing(String)
@rhysforyou
rhysforyou / .block
Last active September 6, 2016 05:43 — forked from monfera/.block
SVG heat shimmer
license: mit
border: no
height: 420
//: Playground - noun: a place where people can play
import UIKit
func unownedFunc<T : AnyObject>(target: T, method: (T) -> () -> ()) -> () -> () {
return { [unowned target] in return method(target)() }
}
func unownedFunc<T : AnyObject, R>(target: T, method: (T) -> () -> R) -> () -> R {
return { [unowned target] in return method(target)() }
}
module Fastlane
module Actions
# Downloads Fabric frameworks
class DownloadFabricFrameworksAction < Action
@@kit_names = ["AWS Cognito", "Answers", "Appsee", "Crashlytics", "Digits Kit",
"GameAnalytics", "Mapbox", "MoPub", "Nuance", "Optimizely", "PubNub",
"Stripe", "Twitter"]
def self.run(params)
path = params[:path]
module Fastlane
module Actions
# Downloads Fabric frameworks
class DownloadFabricFrameworksAction < Action
@@kit_names = ["AWS Cognito", "Answers", "Appsee", "Crashlytics", "Digits Kit",
"GameAnalytics", "Mapbox", "MoPub", "Nuance", "Optimizely", "PubNub",
"Stripe", "Twitter"]
def self.run(params)
path = params[:path]

Keybase proof

I hereby claim:

  • I am rpowelll on github.
  • I am rpowelll (https://keybase.io/rpowelll) on keybase.
  • I have a public key ASCIq919CtKvIf9bMouI06kj7Hn9nbao1yJmGYCR7s_pmQo

To claim this, I am signing this object:

struct ControlLineNode: ControlNode {
let mac: String
let line: UInt8
var groups: [ControlGroupNode] = []
var devices: [ControlDeviceNode] = []
}