I hereby claim:
- I am redbeard on github.
- I am rotbart (https://keybase.io/rotbart) on keybase.
- I have a public key ASCNieU3ZSLgwiJCcmbLkRQ99rOhkOUzLuwKDG4CzP3Jpwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
javascript:$('#mw-sopaOverlay').hide();$('#content').show();$('#mw-head').show();$('#mw-panel').show();$('#footer').show(); |
#!/bin/bash | |
curl -XDELETE 'http://localhost:9200/documents/' | |
echo "" | |
curl -XPUT 'http://localhost:9200/documents' -d ' | |
{ | |
"mappings": { | |
"document" : { | |
"_source" : { "enabled" : true }, | |
"properties" : { |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'open-uri' | |
def error(err, exit_code = -1) | |
$stderr.puts err | |
exit exit_code | |
end | |
def usage_error(err, exit_code = -1) |
function background(url, x, y) { | |
return "url(" + url + ") " + x + "px " + y + "px repeat"; | |
} | |
$('body').attr('style', "offset:0; " + $('body').attr('style')); | |
$('body').animate({ | |
offset: 100000, | |
}, | |
{ |
# Simple should_dsl be_empty matcher by Tal Rotbart <redbeard at gmail dot com> | |
# {} |should| be_empty | |
# { 'has': 'contents' } |should_not| be_empty | |
from should_dsl import matcher | |
@matcher | |
class Empty(object): | |
name = 'be_empty' | |
def __call__(self): |
repositories.remote << 'http://repo1.maven.org/maven2' | |
define 'my-search' do | |
project.version = '0.1.0' | |
compile.with transitive('org.apache.lucene:lucene-core:jar:3.0.1') | |
package :jar | |
end |