Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c1740b0626
Fetching contributors…

Cannot retrieve contributors at this time

executable file 35 lines (29 sloc) 0.667 kb
#!/usr/bin/env ruby
require "./lib/std/transmit/send_to_dns"
require "logging"
require "resque"
require "parallel"
Logging.color_scheme( 'bright',
:levels => {
:info => :green,
:warn => :yellow,
:error => :red,
:fatal => [:white, :on_red]
},
:date => :blue,
:logger => :cyan,
:message => :magenta
)
Logging.appenders.stdout(
'stdout',
:layout => Logging.layouts.pattern(
:pattern => '[%d] %-5l %c:%M %m\n',
:color_scheme => 'bright'
)
)
nameserver = "ns1.sendtodns.org"
domain = "sendtodns.org"
key = "./keys/private"
#file = "file.img"
file = "asterisk-1.8.9.0.tar.gz"
foo = PushFile.new(domain, nameserver, key, file)
Jump to Line
Something went wrong with that request. Please try again.