Skip to content

Instantly share code, notes, and snippets.

View waywardmonkeys's full-sized avatar

Bruce Mitchener waywardmonkeys

View GitHub Profile
@waywardmonkeys
waywardmonkeys / rundeck
Created May 31, 2011 18:08
UFW config for RunDeck
rundeck@xxx:/var/lib/rundeck$ cat /etc/ufw/applications.d/rundeck
[RunDeck]
title=RunDeck
description=RunDeck, a task execution system.
ports=4440/tcp
#pragma D option quiet
#pragma D option aggsortrev
Dylan*:::gf-call-lookup-return
{
generic = copyinstr(arg0);
method = copyinstr(arg1, 45);
@counts[generic, method] = count();
@running_counts[generic, method] = count();
}
Module: dfmc-llvm-back-end
Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc.
Additional code is Copyright 2009-2010 Gwydion Dylan Maintainers
All rights reserved.
License: Functional Objects Library Public License Version 1.0
Dual-license: GNU Lesser General Public License
Warranty: Distributed WITHOUT WARRANTY OF ANY KIND
/// Operating System
avro_datum_t avro_record(const char *name, const char *space)
{
struct avro_record_datum_t *datum =
malloc(sizeof(struct avro_record_datum_t));
if (!datum) {
return NULL;
}
datum->name = strdup(name);
if (!datum->name) {
free(datum);
// a GenAvro file might look like:
// @namespace("wwm")
record timestamp {
long seconds;
long nanoseconds;
}
// @namespace("wwm")
record something {