Skip to content

Instantly share code, notes, and snippets.

View ottomata's full-sized avatar

Andrew Otto ottomata

View GitHub Profile
~ # ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
link/ether 90:e2:ba:11:82:30 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN qlen 1000
link/ether 90:e2:ba:11:82:31 brd ff:ff:ff:ff:ff:ff
F2 = System Setup
Phoenix ROM BIOS PLUS Version 1.10 1.9.0 F10 = System Services
Copyright 1985-1988 Phoenix Technologies Ltd. F11 = BIOS Boot Manager
iDRAC6gConfigurationDUtility.1.61 F12 = PXE Boot
Copyrights2011eDell Inc. All Rights Reserved
iDRAC6yFirmwareeRevision1version: 1.70.21
PrimarylBackplane Firmware Revision 1.10
FlexiBaymFirmwarePRevisioni1.10
otto@analytics1003:~/kafka/kafka.wmvm$ export JMX_PORT=9999 && bin/zookeeper-server-start.sh config/zookeeper.properties
[2012-08-15 16:13:45,923] INFO Reading configuration from: config/zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2012-08-15 16:13:45,966] INFO Defaulting to majority quorums (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2012-08-15 16:13:45,973] DEBUG preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@437f1ba3, name=log4j:hiearchy=default (org.apache.log4j.jmx.HierarchyDynamicMBean)
[2012-08-15 16:13:45,973] DEBUG postRegister is called. (org.apache.log4j.jmx.HierarchyDynamicMBean)
[2012-08-15 16:13:45,976] DEBUG preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@437f1ba3, name=log4j:logger=root (root)
[2012-08-15 16:13:45,976] DEBUG Adding AppenderMBean for appender named stdout (org.apache.log4j.jmx.LoggerDynamicMBean)
[2012-08-15 16:13:45,982] DEBUG getMBeanInfo called. (org.apache.log4j.jmx.AppenderDynamicMBean)
[2012-0
# Dells analytics1011-1022 have 1 SSD. Use it for root and swap.
d-i partman-auto/method string regular
# Use the first two disks
d-i partman-auto/disk string /dev/sda
# Define physical partitions, 30GB ext4 / and 12GB swap.
d-i partman-auto/expert_recipe string analytics : 30000 5000 30000 ext4 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ / } . 12000 1000 12000 linux-swap method{ swap } format{ }
diff --git a/Makefile.am b/Makefile.am
index 2e33aa9..85b31d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,9 +5,6 @@ bin_PROGRAMS = collector filter
collector_SOURCES = collector.c collector.h export.c export.h
filter_SOURCES = filter.c filter.h
-#AM_LDFLAGS=-ldb -lpthread
-
@ottomata
ottomata / Cryptopan
Created August 24, 2012 18:48
Prefix Preserving?
# ./anon_ip 192.168.1.31
192.168.1.31 -> 97.1.208.192
# ./anon_ip 192.168.1.32
192.168.1.32 -> 68.1.196.254
diff -r /tmp/connect-compiler/compiler.co node_modules/connect-compiler/compiler.co
563a564,600
> class exports.HandlebarsCompiler extends Compiler
> id : 'handlebars'
> match : /\.html?$/i
> ext : '.handlebars'
> module : 'handlebars'
> options : (opts={}) -> { filename:@info.src, data:{} } <<< opts
> -> super ...
>
diff --git a/files/lucene/lsearch.log4j b/files/lucene/lsearch.log4j
index a9a4bcf..1714f3f 100644
--- a/files/lucene/lsearch.log4j
+++ b/files/lucene/lsearch.log4j
@@ -1,5 +1,5 @@
# Set root logger level and its only appender to A1.
-log4j.rootLogger=WARN, A1, udp2log
+log4j.rootLogger=INFO, A1, udp2log
# A1 is set to be a ConsoleAppender.
Sep 20 16:49:19 disk-detect: No Serial ATA RAID disks detected
Sep 20 16:49:19 debconf: --> GET disk-detect/multipath/enable
Sep 20 16:49:19 debconf: <-- 0 false
Sep 20 16:49:20 check-missing-firmware: /dev/.udev/firmware-missing does not exist, skipping
Sep 20 16:49:20 check-missing-firmware: /run/udev/firmware-missing does not exist, skipping
Sep 20 16:49:20 check-missing-firmware: no missing firmware in /dev/.udev/firmware-missing /run/udev/firmware-missing
Sep 20 16:49:20 debconf: --> GET debconf/priority
Sep 20 16:49:20 debconf: <-- 0 high
Sep 20 16:49:20 debconf: --> X_SAVE
Sep 20 20:53:51 kernel: [ 125.071991] Adding 19530748k swap on /dev/sdc1. Priority:-1 extents:1 across:19530748k
Sep 20 20:53:51 kernel: [ 125.077850] Adding 19530748k swap on /dev/sdd1. Priority:-2 extents:1 across:19530748k
Sep 20 20:53:52 apt-install: Queueing package mdadm for later installation
Sep 20 20:53:52 debconf: --> GET partman-auto-raid/recipe
Sep 20 20:53:52 debconf: <-- 0 1 2 0 ext4 / /dev/sdc1#/dev/sdd1 . 1 2 0 swap - /dev/sdc2#/dev/sdd2 .
Sep 20 20:53:52 debconf: --> GET partman-auto-raid/raidnum
Sep 20 20:53:52 debconf: <-- 0
Sep 20 20:53:52 debconf: --> SET partman-auto-raid/raidnum 0
Sep 20 20:53:52 debconf: <-- 0 value set
Sep 20 20:53:52 partman-auto-raid: Selected spare count: 0