Sha256: 980310c793bfe94b1ccb6dc8e911f1b251df0728b5cd35f18fb3b85ce8b839ae
Contents?: true
Size: 779 Bytes
Versions: 3
Compression:
Stored size: 779 Bytes
Contents
#!/home/wilkboar/local_installs/bin/ruby # require 'socket' if Socket.gethostname =~ /bluehost.com/ ENV['GEM_PATH'] = '/home/wilkboar/.gems:/usr/lib/ruby/gems/1.8' ENV['GEM_HOME'] = '/home/wilkboar/.gems' $: << '/home/wilkboar/ruby/gems/gems/fcgi-0.8.8/lib' # what in the world? malformed gem? end require "fcgi" require 'cgi' require 'render_edited.rb' FCGI.each { |request| out = request.out out.print "Content-Type: text/html\n\n" incoming_params = CGI.parse(request.env["REQUEST_URI"].split('?')[1]) # assume they're like mute_starts=["33.0", "35.0"], mute_ends=["34.0", "36.0"] begin render_edited out, incoming_params rescue Exception => e out.puts "failure #{e}" out.puts incoming_params.inspect end request.finish }
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
content-editing-movie-player-0.38.0 | www/youtube_edl/dispatch.fcgi |
sensible-cinema-0.35.3 | www/youtube_edl/dispatch.fcgi |
sensible-cinema-0.34.0 | www/youtube_edl/dispatch.fcgi |