http://www.apache.org/licenses/LICENSE-2.0
Allows public/private derivations.
config: | |
aws:region: us-east-1 | |
infra-aws-v4-dashboard:canary: | |
memory: 128 | |
port: 80 | |
infra-aws-v4-dashboard:vpc: | |
number_of_availability_zones: 1 | |
pulumi:template: aws-python |
"""An AWS Environment for the `dashboard` application.""" | |
import pulumi | |
import pulumi_awsx as awsx | |
import pulumi_aws as aws | |
from pulumi_awsx.ec2 import DefaultVpc | |
""" | |
Define the common resources for an application stack (dev/stage/prod) including: |
require 'rubygems' | |
require 'serialport' | |
class Korad | |
def initialize(port="/dev/ttyACM0", baud=9600) | |
@serial = SerialPort::open(port,baud) | |
@serial.read_timeout = 100 | |
end | |
def get_status |
$ curl localhost:9100/metrics | |
# HELP go_gc_duration_seconds A summary of the GC invocation durations. | |
# TYPE go_gc_duration_seconds summary | |
go_gc_duration_seconds{quantile="0"} 0 | |
go_gc_duration_seconds{quantile="0.25"} 0 | |
go_gc_duration_seconds{quantile="0.5"} 0 | |
go_gc_duration_seconds{quantile="0.75"} 0 | |
go_gc_duration_seconds{quantile="1"} 0 | |
go_gc_duration_seconds_sum 0 |
description "pydoc documentation server" | |
author "Todd Greenwood-Geer <[email protected]>" | |
version "1.0" | |
# ------------------------------------------------- | |
# stanzas | |
# ------------------------------------------------- | |
start on (filesystem and net-device-up IFACE=lo) or runlevel [2345] | |
stop on runlevel [!2345] |
{erl_opts, [debug_info]}. | |
{deps, [ | |
{yaws, ".*", {git, "git://github.com/klacke/yaws", {tag, "yaws-1.94"}}}, | |
{mochiweb, ".*", {git, "git://github.com/mochi/mochiweb.git", "master"}}, | |
{mimetypes, ".*", {git, "git://github.com/spawngrid/mimetypes.git", "master"}} | |
]}. |
-module(launch). | |
%% API. | |
-export([start/0]). | |
%% API. | |
start() -> | |
{ok, Cwd} = file:get_cwd(), | |
Docroot = Cwd ++ "/webapp", |
PROJECT = embedded_yaws | |
REBAR = rebar | |
all: clean webapp deps compile | |
compile: | |
rebar get-deps compile | |
clean: | |
rebar clean |
=INFO REPORT==== 23-Nov-2012::15:50:22 === | |
/home/todd/projects/mygit-repo/seed-master/desktop/erlang/cowboy/src/rest_echo.erl:37: Warning: function do_echo/2 is unused | |
/home/todd/projects/mygit-repo/seed-master/desktop/erlang/cowboy/src/rest_echo.erl:44: Warning: function extract_parameter/2 is unused | |
/home/todd/projects/mygit-repo/seed-master/desktop/erlang/cowboy/src/rest_echo.erl:49: Warning: function format_response/1 is unused | |
/home/todd/projects/mygit-repo/seed-master/desktop/erlang/cowboy/src/rest_echo.erl:0: Recompiled with 1 warnings | |
=ERROR REPORT==== 23-Nov-2012::15:50:26 === | |
Unable to determine options for "/home/todd/bin/erlang/otp/lib/compiler/src/R15B02/lib/compiler-4.8.2/src/beam_asm.erl" | |
=ERROR REPORT==== 23-Nov-2012::15:50:26 === | |
Unable to determine options for "/home/todd/bin/erlang/otp/lib/compiler/src/R15B02/lib/compiler-4.8.2/src/beam_block.erl" |