Skip to content

Instantly share code, notes, and snippets.

Rogério Pereira Araújo ararog

Block or report user

Report or block ararog

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
@brennanMKE
brennanMKE / EventEmitter.swift
Last active Aug 28, 2019
React Native Event Emitter for RCTEventEmitter in Objective-C and Swift
View EventEmitter.swift
class EventEmitter
/// Shared Instance.
public static var sharedInstance = EventEmitter()
// ReactNativeEventEmitter is instantiated by React Native with the bridge.
private static var eventEmitter: ReactNativeEventEmitter!
private init() {}
@frasertweedale
frasertweedale / Middleware.hs
Last active Aug 21, 2017
WAI Middleware to modify request headers
View Middleware.hs
{-# LANGUAGE OverloadedStrings #-}
module Middlware where
import Control.Monad ((<=<))
import qualified Data.ByteString as B
import Network.HTTP.Types
import Network.Wai
@arnaudsj
arnaudsj / core.clj
Last active Aug 29, 2015
Spark streaming tweets using Flambo Clojure library
View core.clj
(ns flambo-streaming-101.core
(:require [flambo.api :as f]
[flambo.streaming :as fs]
[flambo.conf :as fconf]
[flambo.function :refer [pair-function]]
[clj-time.format :as tf]
[clj-time.core :as tc]
[clojure.tools.trace :refer [trace]]
[clojure.java.shell :refer [sh]]
[clojure.pprint :refer [pprint]]
You can’t perform that action at this time.