Skip to content

Instantly share code, notes, and snippets.


Bryan Bryce BryanJBryce

Block or report user

Report or block BryanJBryce

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
BryanJBryce / parsing.swift
Last active Aug 29, 2015 — forked from chriseidhof/parsing.swift
JSON Parsing in Swift
View parsing.swift
// This code accompanies a blog post:
// As of Beta5, the >>= operator is already defined, so I changed it to >>>=
import Foundation
let parsedJSON : [String:AnyObject] = [
"stat": "ok",
"blogs": [
BryanJBryce / MirrorDebugDecscription.swift
Created Jan 28, 2016 — forked from mcmurrym/MirrorDebugDecscription.swift
A default protocol implementation for CustomDebugStringConvertible that uses Mirror for introspection. This is meant for debugging only.
View MirrorDebugDecscription.swift
public extension CustomDebugStringConvertible {
var debugDescription: String {
return debugDescription()
func debugDescription(indentationLevel: Int = 0) -> String {
let indentString = (0..<indentationLevel).reduce("") { tabs, _ in tabs + "\t" }
var s = "\(self.dynamicType)"

Keybase proof

I hereby claim:

  • I am bryanjbryce on github.
  • I am bryanbryce ( on keybase.
  • I have a public key ASBAe_kEOjWTbAAAzJg_WlZOSqjv9tK8AsGfrE4un1rY2go

To claim this, I am signing this object:

View NewReactor.swift
import Foundation
import Actor
import MessageRouter
public final class Core<State, Event, Command> {
public typealias CommandProcessor = (Core<State, Event, Command>, Command) -> Void
public typealias EventHandler = (State, Event) -> CoreUpdate<State, Command>
public let stateChanged = MessageRouter<State>()
BryanJBryce /
Last active Jan 24, 2020 — forked from cheburashka/
nRF52 Toolchain Setup in Mac OS X


  • MacOS Sierra 10.12.5
  • MacBook Pro (Retina, 13-inch, Late 2012)
  • nRF52-DK (PCA10040)

Toolchain Setup

  1. Install GCC
You can’t perform that action at this time.