This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from optparse import OptionParser | |
from xml.dom.minidom import parse | |
import os | |
import sqlite3 | |
datatypeMap = { | |
'integer': 'INT', | |
'datetime': 'DATETIME', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results":[ | |
{ | |
"path" : { | |
"collection":"people", | |
"key":"james", | |
"ref":"28f29fc9dae6372c" | |
}, | |
"value":{"msg":"hello world"}, | |
"score":0.15, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function jurl() { | |
case `echo $1 | tr '[a-z]' '[A-Z]'` in | |
"PUT"|"POST") | |
curl -vs -H "Content-Type: application/json" -X $1 -d "${2}" $3 | python -mjson.tool | |
;; | |
"GET"|"DELETE") | |
curl -vs -H "Content-Type: application/json" -X $1 $2 | python -mjson.tool | |
;; | |
*) | |
echo "Error: Please use of the following HTTP methods: GET, POST, PUT, DELETE." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-dss AAAAB3NzaC1kc3MAAACBAOJba+6pCO6cKl3MvDctH1EQwKd+qpLtI3NhEzB3TZLDTDZ59mbThWWdeTAyFiutryysDozUeR50G0OSF0iXfCzQ++ntM/VNrUJDn72IsfEFXv24YAOVhBeM0Voq2hl34Sdcy/UdBxBWRDRbRPp/BaLrQa9ERq030TTLS4FNBG19AAAAFQCJLc5UDT0J+LayGBEhCg8gI1Gz9QAAAIAQL3q7smp3CkB6SpVHyRw4Y4GHCyiMu7qhfEz9lFhDa3OJIyPXgOV4dnIIokCze3YB97hg7cNp3tB4/istRhyoXeQ7/dr1wNCg/5pkOfq9eJJNAt0C6XiVAx7ydAKDG1HW3BU1vEoCaABzJR9S8Z5BOD9MKEPPdeuADpNXsYrbMQAAAIAoOnf+VQC2IHj5yGdMJ8jdeG3u9a8t1UTqTNfl8VwOA1sG6QLiS7HmY1SICLwLZu/7pkTOKK1wkaMPem8WoNabb1oe3ezK/VFgy5P8WifAeTWuESk7j7K65RvfUcb9yjSWf9sqZA439vJssQtC9pYUi/zlAkToC4IzvmtjXUzMxQ== jtran@ubuntu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAuvp4DliG7bRgSKEFywMLcIFefxa9h7ThH13Gp3ZnmjkwedC6KFvqVEYWMK7MO9HXYa8eLS389Cq1tPrUXnC2z9AkvFReGfg+SID+zkY+1vP5j4gJSR6RD9DxCgdT13ncUzgtoC/q76OAVImH7actvNZ9KjLH3gft3tbBMC3Xpiwhjirh+BY+ObJ4QjRK/DWyWUv7pn13wWt1jo+6lfUv4gqSzmthubWI7oUPjTyRqpSuAQf2CFPsV3s51k6JveixaS+tJ/jaCv4usZCyTTLviyh8fLCpVojYEU9S67PLqrWhjWUGuW+B2ietPMEaq5WZFyZvOVXpASeQY9PB3umgUQ== Matt Heitzenroder <mheitzenroder at gmail dot com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAuvp4DliG7bRgSKEFywMLcIFefxa9h7ThH13Gp3ZnmjkwedC6KFvqVEYWMK7MO9HXYa8eLS389Cq1tPrUXnC2z9AkvFReGfg+SID+zkY+1vP5j4gJSR6RD9DxCgdT13ncUzgtoC/q76OAVImH7actvNZ9KjLH3gft3tbBMC3Xpiwhjirh+BY+ObJ4QjRK/DWyWUv7pn13wWt1jo+6lfUv4gqSzmthubWI7oUPjTyRqpSuAQf2CFPsV3s51k6JveixaS+tJ/jaCv4usZCyTTLviyh8fLCpVojYEU9S67PLqrWhjWUGuW+B2ietPMEaq5WZFyZvOVXpASeQY9PB3umgUQ== matt@RoderGo.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GIT | |
remote: git://github.com/fifthlayer/ruby-openid.git | |
revision: 5a45a95621388f9ce65d43414cf7722bac75c0fa | |
branch: riakstore | |
specs: | |
GIT | |
remote: git://github.com/seancribbs/ripple.git | |
revision: e1cd72291422832c019a31a1569288037bd31540 | |
tag: v0.9.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./rebar compile | |
==> jiffy (compile) | |
Compiling c_src/decoder.c | |
c_src/decoder.c: In function ‘dec_init’: | |
c_src/decoder.c:76: warning: passing argument 1 of ‘enif_alloc’ makes pointer from integer without a cast | |
c_src/decoder.c:76: error: too few arguments to function ‘enif_alloc’ | |
c_src/decoder.c: In function ‘dec_destroy’: | |
c_src/decoder.c:92: warning: passing argument 1 of ‘enif_free’ from incompatible pointer type | |
c_src/decoder.c:92: error: too few arguments to function ‘enif_free’ | |
c_src/decoder.c: In function ‘dec_push’: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{{badmatch, | |
{error, | |
{noproc, | |
[{erlang,link,[<0.16724.15>]}, | |
{riak_kv_mapper,init,1}, | |
{gen_fsm,init_it,6}, | |
{proc_lib,init_p_do_apply,3}]}}}, | |
[{riak_kv_map_master,handle_call,3}, | |
{gen_server2,handle_msg,7}, | |
{proc_lib,init_p_do_apply,3}]}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Example = fun(Arg) -> | |
case Arg of | |
ohai -> | |
io:format("OHAI!~n"); | |
foo -> | |
io:format("Foo!~n"); | |
bar -> | |
io:format("Bar!~n"); | |
_EverythingElse -> | |
io:format("~p~n",[_EverythingElse]) |
NewerOlder