Skip to content

Instantly share code, notes, and snippets.

@ohsai
ohsai / linux_setting.conf
Last active October 4, 2019 08:04
Linux Personal Setting
# ~/.tmux.conf
bind-key -n F5 split-window -v
bind-key -n F8 kill-pane
bind-key -n F9 split-window -h
bind-key -n F7 resize-pane -D 2
bind-key -n F6 select-pane -t :.+
# ~/.vimrc
@ohsai
ohsai / mlp.hs
Last active May 4, 2019 03:05
Haskell MLP implementation
import Data.List
import Data.List.Split (splitOn)
import System.Random
import Control.Monad (replicateM)
{-
SNUCSE undergraduate Oh Hyun Seok
Naive implementation of Multilayer Perceptron in Haskell,
but it is so naive that if dataset is just a little large
memory increases unbearably. Maybe it is due to