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
.*swp | |
.*un~ |
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
# Enables bash auto-completion for homebrew packages | |
source $(brew --prefix)/Library/Contributions/brew_bash_completion.sh | |
source $(brew --prefix)/etc/bash_completion.d/git-completion.bash | |
source $(brew --prefix)/etc/bash_completion.d/git-prompt.sh | |
source $(brew --prefix)/etc/bash_completion.d/scala | |
# Coreutils commands are prefixed with "g", in order to use them with | |
# their real names, uncomment the following. | |
#PATH="$(brew --prefix coreutils)/libexec/gnubin:$PATH" | |
#MANPATH="$(brew --prefix coreutils)/libexec/gnuman:$MANPATH" |
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
filetype off | |
call pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
set nocompatible | |
set modelines=0 | |
set gfn=Monospace\ 8 | |
set tabstop=2 | |
set softtabstop=2 |
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 scalaz._, Scalaz._, effect._ | |
type Env = Map[String,String] | |
type Error = String | |
case class AppStack[A](f: Env => IO[Validation[Error,A]]) | |
object AppStack { | |
implicit val appStackMonad = new Monad[AppStack] { | |
def point[A](a: => A): AppStack[A] = |
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
# keep only necessary jars in the slug | |
START_SCRIPT="target/start" | |
if [ -f $START_SCRIPT ] && [ -d $SBT_USER_HOME/.ivy2 ] ; then | |
echo "-----> Dropping unnecessary ivy cached jars from the slug" | |
for jar in $(find $SBT_USER_HOME/.ivy2 -name '*.jar' | xargs -0) ; do | |
[[ -f "$jar" ]] || continue | |
jar_name=`basename "$jar"` | |
if grep $jar_name $START_SCRIPT >/dev/null; then | |
echo "Keeping: $jar_name" | |
else |
NewerOlder