Skip to content

Instantly share code, notes, and snippets.

Daniel Dreier ddreier

Block or report user

Report or block ddreier

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View app.js
var rtpmidi = require('rtpmidi');
var session = rtpmidi.manager.createSession({
localName: 'My RTPMidi Session',
bonjourName: 'Node Midi Client',
port: 5006
});
// Create a clock
@ddreier
ddreier / gist:d3cc5ca730d9fd40df18
Created May 28, 2014
nx-log Event Logs and IIS Logs to Logstash
View gist:d3cc5ca730d9fd40df18
## This is a sample configuration file. See the nxlog reference manual about the
## configuration options. It should be installed locally and is also available
## online at http://nxlog.org/nxlog-docs/en/nxlog-reference-manual.html
## Please set the ROOT to the folder your nxlog was installed into,
## otherwise it will not start.
define ROOT C:\Program Files\nxlog
#define ROOT C:\Program Files (x86)\nxlog
View gist:e921abb359791658cb56
input {
tcp {
port => 5000
type => "syslog"
}
tcp {
type => "eventlog"
port => 3515
codec => json_lines
}
@ddreier
ddreier / gist:6473794
Created Sep 7, 2013
nx-log Event Logs to Logstash config
View gist:6473794
######################
#### nxlog.conf ####
######################
## This is a sample configuration file. See the nxlog reference manual about the
## configuration options. It should be installed locally and is also available
## online at http://nxlog.org/nxlog-docs/en/nxlog-reference-manual.html
## Please set the ROOT to the folder your nxlog was installed into,
## otherwise it will not start.
View redis_es_ls.md

This will be a copy/paste doc for installing redis, elasticsearch and logstash on ubuntu 12.04

Pre-Requisites

apt-get update
apt-get upgrade
apt-get install tcl8.5 tcl8.5-dev build-essential rubygems git \
htop python-dev openjdk-7-jre-headless libcurl4-openssl-dev \
bison ctags flex gperf libevent-dev libpcre3-dev libssl-dev libreadline6-dev \
libtokyocabinet-dev libncursesw5-dev libxml2-dev libxslt1-dev libsqlite3-dev \
You can’t perform that action at this time.