This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// client conf | |
akka { | |
loglevel = "DEBUG" | |
actor { | |
provider = "akka.remote.RemoteActorRefProvider" | |
} | |
remote { | |
transport = "akka.remote.netty.NettyRemoteTransport" | |
log-sent-messages = on | |
log-received-messages = on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## KEYBINDS | |
set -g prefix C-a | |
unbind C-b | |
set -g status-keys vi | |
setw -g mode-keys vi | |
unbind l | |
unbind s | |
unbind w | |
unbind v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE QuasiQuotes #-} | |
import Control.Monad | |
import Data.Array.Repa (Array, DIM2, All(..), Any(..), (:.)(..), U) | |
import qualified Data.Array.Repa as R | |
import Data.Array.Repa.Stencil | |
import Data.Array.Repa.Stencil.Dim2 | |
import Data.Monoid (Endo(..), mappend, mconcat) | |
import System.Random |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Xft settings | |
Xft.dpi: 96 | |
! URxvt settings | |
URxvt*scrollBar: off | |
URxvt*foreground: #DDCCBB | |
URxvt*background: #101010 | |
URxvt*font: xft:terminus:size=12:antialias=true | |
URxvt.perl-ext-common: default,matcher | |
URxvt.urlLauncher: /usr/bin/firefox |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <math.h> | |
//#include <SDL/SDL.h> | |
#define WIDTH 640 | |
#define HEIGHT 420 | |
#define BLK_W WIDTH | |
#define BLK_H HEIGHT / 3 | |
struct l_node |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Data.Array.Repa | |
data Complex a = Complex { re, im :: !a } | |
instance Num a => Num (Complex a) where | |
(Complex a b) + (Complex c d) = Complex (a + c) (b + d) | |
(Complex a b) - (Complex c d) = Complex (a - c) (b - d) | |
(Complex a b) * (Complex c d) = Complex (a*c - b*d) (a*d + b*c) | |
abs _ = undefined | |
signum _ = undefined |
NewerOlder