Skip to content

Instantly share code, notes, and snippets.

View jimenezrick's full-sized avatar

Ricardo Catalinas Jiménez jimenezrick

View GitHub Profile
@jimenezrick
jimenezrick / zipE
Last active August 29, 2015 14:01
Event zip combinator for Reactive Haskell
import Data.Functor
import Data.Time.Units
import System.Timeout
import Control.Monad
import Control.Concurrent
import FRP.Sodium
main :: IO ()
main = do

Keybase proof

I hereby claim:

  • I am jimenezrick on github.
  • I am jimenezrick (https://keybase.io/jimenezrick) on keybase.
  • I have a public key whose fingerprint is F2B8 1F0C 1C85 AB4A 5617 3223 475C 2138 DB94 EE93

To claim this, I am signing this object:

#!/bin/sh
bspc monitor -d $(seq 1 9)
bspc config top_padding 14
bspc config focused_border_color "#00ccff"
bspc config normal_border_color "#cccccc"
bspc config border_width 1
bspc config window_gap 0
{-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE TemplateHaskell #-}
import Data.ByteString
import Data.ByteString.Unsafe
import Data.Time.Clock
import qualified Language.C.Inline as C
import qualified Language.C.Inline.Unsafe as CU
C.context (C.baseCtx <> C.bsCtx)
module Main where
import Control.Exception
import Foreign.Ptr
import Foreign.Storable
import Foreign.C.String
import Foreign.Marshal.Alloc
#include "rocksdb/c.h"
#include "rocksdb_helpers.h"