I'm trying to figure out how to use rebar to:
- create erlang project
- add a dependency on an erlang module from github
- start the app via the erl console
- create a release and start the app from the release (via the generated scripts)
import_if_available(Ecto.Query) | |
# alias MyApp.Repo | |
defmodule R do | |
# Old habits die hard. Take a random of something. You don't care which. | |
# > R.take(SomeSchema) | |
def take(schema_or_query) do | |
schema_or_query | |
|> limit(1) | |
|> Repo.one() |
#AppStore: Install XCode | |
#install homebrew | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew doctor | |
brew update | |
curl https://gist.githubusercontent.com/pyetras/4b59e1902cfaf9af3c98/raw/Caskfile > Caskfile | |
curl https://gist.githubusercontent.com/pyetras/4b59e1902cfaf9af3c98/raw/Brewfile > Brewfile |
/opt/cuda-5.0.35/lib64: | |
/opt/XLE/lib: | |
/lib: | |
/lib64: | |
/usr/lib: | |
/usr/lib64: | |
jk292749@students:/lib$ find /usr/lib64 -iname "*boost*" 2>/dev/null | |
/usr/lib64/libboost_date_time.so | |
/usr/lib64/libboost_filesystem.so |