I run v1to2.sh
, included in this gist, to get everything in place in /tmp/beat
> sh v1to2.sh
Switched to branch 'v1'
==> beat_core (clean)
==> beat_tcp_api (clean)
==> beat (clean)
... 99 skip a few ...
a ./erts-5.9.3/bin/typer
(walden) ~/projects/com/github/mindreframer/riemann-vagrant | |
blt> vagrant up | |
[default] Importing base box 'precise64'... | |
[default] The guest additions on this VM do not match the install version of | |
VirtualBox! This may cause things such as forwarded ports, shared | |
folders, and more to not work properly. If any of those things fail on | |
this machine, please update the guest additions and repackage the | |
box. | |
Guest Additions Version: 4.2.0 |
(walden) ~/projects/com/github/mindreframer/riemann-vagrant | |
blt> vagrant destroy | |
Are you sure you want to destroy the 'default' VM? [Y/N] Y | |
[default] Destroying VM and associated drives... | |
(walden) ~/projects/com/github/mindreframer/riemann-vagrant | |
blt> vagrant status | |
Current VM states: | |
default not created |
require 'formula' | |
# Documentation: https://github.com/mxcl/homebrew/wiki/Formula-Cookbook | |
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! | |
class Sfml < Formula | |
homepage 'http://www.sfml-dev.org' | |
version '2.0' | |
url 'http://www.sfml-dev.org/download/sfml/2.0/SFML-2.0-sources.zip' |
> erl | |
Erlang R15B03 (erts-5.9.3) [source] [64-bit] [smp:8:8] [async-threads:0] [hipe] [kernel-poll:false] | |
Eshell V5.9.3 (abort with ^G) | |
1> Foo = <<"foo">>. | |
<<"foo">> | |
2> ets:new(list_to_atom(binary_to_list(Foo)), [set, named_table]). | |
foo | |
3> ets:i(). | |
id name type size mem owner |
I run v1to2.sh
, included in this gist, to get everything in place in /tmp/beat
> sh v1to2.sh
Switched to branch 'v1'
==> beat_core (clean)
==> beat_tcp_api (clean)
==> beat (clean)
... 99 skip a few ...
a ./erts-5.9.3/bin/typer
FROM ubuntu | |
MAINTAINER Brian L. Troutwine "[email protected]" | |
RUN apt-get update | |
RUN apt-get install -y curl | |
RUN curl https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb --remote-name | |
RUN dpkg -i erlang-solutions_1.0_all.deb | |
RUN apt-get update |
I modified the appropriate section of v1to2.sh
to look like:
echo "UPGRADING NODE TO 0.1.1"
./bin/beat-0.1.0 upgrade "0.1.1/beat"
echo "DOWNGRADE NODE TO 0.1.0"
./bin/beat-0.1.0 upgrade "0.1.0/beat"
FROM base | |
MAINTAINER Brian L. Troutwine "[email protected]" | |
RUN apt-get update | |
RUN apt-get install -y curl | |
RUN curl -O https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb | |
RUN dpkg -i erlang-solutions_1.0_all.deb | |
RUN apt-get update |
(setq tempo-interactive t) | |
(require 'tempo) | |
(tempo-define-template "erl-module" | |
'( | |
"-module()." n> | |
n> | |
"-ifdef(TEST)."n> | |
"-include_lib(\"eunit/include/eunit.hrl\")."n> |
-module(lolspeed). | |
-export([main/0]). | |
-define(LOLEND, 1000000). | |
%% > lolspeed:main(). | |
%% = {10354,ok} | |
%% == {10991,ok} | |
%% =:= {8509,ok} |