I hereby claim:
- I am pheaver on github.
- I am pheaver (https://keybase.io/pheaver) on keybase.
- I have a public key ASAfm1-YxBlFf-LeBmKFNXyZpRb0oQs_8Grt6KqdzmodnQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
"fields": { | |
"fields": { | |
"raw": { | |
"ignore_above": 256, | |
"index": "not_analyzed", | |
"type": "string" | |
} | |
}, | |
"norms": { | |
"enabled": false |
#!/bin/sh | |
# not sure what dock.0 is, but dock.1 seems to be the right one. | |
DOCKED=$(cat /sys/devices/platform/dock.1/docked) | |
case "$DOCKED" in | |
"0") | |
#undocked event | |
xrandr --output LVDS1 --auto --primary | |
;; | |
"1") |
import java.sql._, org.joda.time._, java.util.TimeZone | |
val t = LocalTime.parse("15:00:00") | |
TimeZone.setDefault(TimeZone.getTimeZone("PST")) | |
new Time(t.toDateTimeToday().getMillis()) | |
TimeZone.setDefault(TimeZone.getTimeZone("GMT")) | |
new Time(t.toDateTimeToday().getMillis()) |
curl -XDELETE localhost:9200/_template/template_1 -d ' | |
{ | |
"template": "*", | |
"mappings": { | |
"test": { | |
"dynamic_templates": [ | |
{ | |
"template_1": { | |
"match": "*", | |
"mapping": { |
D, [2012-11-20T20:37:16.233000 #3328] DEBUG -- : Debugging mode enabled. | |
W, [2012-11-20T20:37:16.238000 #3328] WARN -- : Warnings mode enabled. | |
D, [2012-11-20T20:37:16.239000 #3328] DEBUG -- : CONNECTING: | |
jabber.janrain.com:5222 | |
D, [2012-11-20T20:37:16.333000 #3328] DEBUG -- : SENDING: | |
<stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='jabber.janrain.com' xml:lang='en' version='1.0' > | |
D, [2012-11-20T20:37:16.427000 #3328] DEBUG -- : RECEIVED: | |
<stream:stream from='jabber.janrain.com' id='4e884f62-4596-40d2-a1fb-ca4d13f19b95' xml:lang='en' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xmlns='jabber:client'/> | |
D, [2012-11-20T20:37:16.429000 #3328] DEBUG -- : FEATURES: waiting... |
input { stdin { type => "test"}} | |
filter { | |
grok { | |
type => "test" | |
pattern => [ "%{NUMBER:number}" ] | |
add_field => [ "x", "%{number}" ] | |
} | |
} |
Larry, | |
In our standup today, it was revealed that you were mixing tabs and spaces in | |
the umg report script, a python program. There was a general consensus that this | |
is a Shame Jar offense. Please deposit $1 in the shame jar, located in the | |
Capture room, at your earliest convenience. | |
Thank you, | |
The Capture Team |
-- {-# OPTIONS_GHC -Wall #-} | |
{-# LANGUAGE TemplateHaskell #-} | |
{-# LANGUAGE OverloadedStrings #-} | |
module Main where | |
import Data.ByteString ( ByteString ) | |
import qualified Data.ByteString.Char8 as BS | |
import Data.Enumerator | |
import Data.Monoid | |
import Snap.Http.Server |
In file included from dirname.h:21, | |
from basename.c:21: | |
./stdbool.h:109: error: two or more data types in declaration specifiers | |
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -isystem /Users/pweaver/homebrew/include -O3 -w -pipe -c xstrndup.c -o xstrndu | |
p.o >/dev/null 2>&1 | |
make[3]: *** [basename.lo] Error 1 | |
make[3]: *** Waiting for unfinished jobs.... | |
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -isystem /Users/pweaver/homebrew/include -O3 -w -pipe -c progname.c -o prognam | |
e.o >/dev/null 2>&1 | |
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -isystem /Users/pweaver/homebrew/include -O3 -w -pipe -c xalloc-die.c -o xallo |