Skip to content

Instantly share code, notes, and snippets.

View jkoppe's full-sized avatar

Jason Koppe jkoppe

  • Indeed.com
  • Austin, TX
View GitHub Profile
@jkoppe
jkoppe / gist:5537570
Created May 8, 2013 01:37
kibana2 under passenger on centos6
# this works for centos6 after doing
# sudo yum install ruby-devel rubygem-passenger.x86_64 mod_passenger.x86_64 rubygem-passenger-native.x86_64
# sudo gem install bundler
# cd /var/www/logvisibility/html
# wget kibana.tgz
# tar zxvf kibana.tgz
# modify KibanaConfig.rb
# sudo bundle install
LoadModule passenger_module /usr/lib64/httpd/modules/mod_passenger.so
PassengerRoot /usr/share/rubygems/gems/passenger-3.0.17
@jkoppe
jkoppe / activemq.xml
Created August 29, 2012 21:07
activemq jetty mcollective
below is /etc/activemq/activemq.xml. note that i have the admin user in the admins group which is authorized to perform read/write/admin operations on all queues/topics.
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:amq="http://activemq.apache.org/schema/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd
http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd">
@jkoppe
jkoppe / example
Created July 20, 2012 18:44
add timestamps with perl
jkoppe@localhost in ~ at 2012-07-20 13:43:47
--> echo something
something
jkoppe@localhost in ~ at 2012-07-20 13:43:50
--> echo something | timestamp
Fri Jul 20 13:43:54 2012 something
jkoppe@localhost in ~ at 2012-07-20 13:43:54
-->