Skip to content

Instantly share code, notes, and snippets.

@ufosky
ufosky / codesign_gdb.md
Created August 28, 2018 16:02 — forked from gravitylow/codesign_gdb.md
Codesign gdb on macOS

If you are getting this in gdb on macOS while trying to run a program:

Unable to find Mach task port for process-id 57573: (os/kern) failure (0x5).
 (please check gdb is codesigned - see taskgated(8))
  1. Open Keychain Access
  2. In menu, open Keychain Access > Certificate Assistant > Create a certificate
  3. Give it a name (e.g. gdbc)
@ufosky
ufosky / CombineLatest.scala
Created April 19, 2017 13:44 — forked from tg44/CombineLatest.scala
Quick implementation of the CombineLatest RX operator in AkkaStreams
import akka.actor.ActorSystem
import akka.stream._
import akka.stream.scaladsl.{Flow, GraphDSL, Keep, RunnableGraph, Sink, Source}
import akka.stream.stage.{GraphStage, GraphStageLogic, InHandler, OutHandler}
import akka.testkit.TestKit
import org.scalatest.{BeforeAndAfterAll, Matchers, WordSpecLike}
import scala.concurrent.Await
class CombineLatest[A, B]
@ufosky
ufosky / FRP iOS Learning resources.md
Created November 15, 2016 06:28 — forked from JaviLorbada/FRP iOS Learning resources.md
The best FRP iOS resources.

Videos