This is not intended to be comprehensive or authoritative, just free online resources I've found valuable while learning more about Erlang.
https://web.archive.org/web/20070429181654/http://www.sics.se/~joe/
This is not intended to be comprehensive or authoritative, just free online resources I've found valuable while learning more about Erlang.
https://web.archive.org/web/20070429181654/http://www.sics.se/~joe/
| #compdef vmc | |
| #autoload | |
| # vmc autocompletion for oh-my-zsh | |
| # requires: the vmc gem (gem install vmc) | |
| # author: Andy Piper (http://andypiper.co.uk) | |
| _list_apps() { | |
| for APP in `vmc apps | grep -oE '^\| [[:alnum:]-]+ . ' | grep -oE '[[:alnum:]-]+'`; do | |
| compadd "$@" $APP |
| #!/usr/bin/env bash | |
| ###############FUNCTIONS############ | |
| function prepare { | |
| #optimize the index | |
| echo -n "Optimizing index $INDEX_NAME..." | |
| curl -XPOST "$ADDRESS/$INDEX_NAME/_optimize" 2>/dev/null| grep 'failed":0' >/dev/null | |
| if [ $? -eq 0 ]; then | |
| echo "done" |
| #!/bin/bash -e | |
| lua_url="http://www.lua.org/ftp/lua-5.1.4.tar.gz" | |
| lua_tgz="lua-5.1.4.tar.gz" | |
| lua_dir="lua-5.1.4" | |
| echo "Downloading and extracting ${lua_tgz}..." | |
| [ ! -f "${lua_tgz}" ] && wget -q -O ${lua_tgz} ${lua_url} | |
| rm -rf ${lua_dir} | |
| tar zxf ${lua_tgz} |