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 / EventEmitter.swift
Last active Apr 13, 2020
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 / 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 / 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]
[ :refer [trace]]
[ :refer [sh]]
[clojure.pprint :refer [pprint]]
You can’t perform that action at this time.