Skip to content

Instantly share code, notes, and snippets.

View runa's full-sized avatar

martin sarsale runa

View GitHub Profile
@runa
runa / gist:4131487
Created November 22, 2012 14:37
taxis en CABA
1.9.3p194 :008 > pp JSON.parse(HTTPI.post( "http://safertaxi.com.ar/proxy.php?route=/backend/cars/near_me", "data[location][longitude]=-58.493&data[location][latitude]=-34.62062").body)
[{"Car"=>
{"latitude"=>"-34.600246650000000",
"longitude"=>"-58.465137900000000",
"plate"=>"LLS072",
"driver_id"=>39973,
"id"=>1018,
"Driver"=>
{"is_available"=>false,
"id"=>39973,
Gmail says:
Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning no-reply@sumavisos.com does not designate 190.224.160.24 as permitted sender) smtp.mail=no-reply@sumavisos.com; dkim=neutral (bad format) header.i=@mailing.sumavisos.com
host -t TXT mailing.sumavisos.com ns5.zoneedit.com
Using domain server:
Name: ns5.zoneedit.com
Address: 50.22.254.144#53
Aliases:
@runa
runa / tor_signal.rb
Created October 31, 2011 21:33
send signal to running tor daemon
module Tor
class Controller
def signal(name)
send_command(:signal,name)
read_reply
end
end
end