Skip to content

Instantly share code, notes, and snippets.

@Fuzion24
Last active Aug 29, 2015
Embed
What would you like to do?
A simple file server to serve up an APK
wget https://gist.githubusercontent.com/Fuzion24/6dd7552a1c594911416f/raw/server.rb
wget https://s3.amazonaws.com/uploads.hipchat.com/35420/441986/5xRGtuTBdBnuisN/twitter.apk
gem install sinatra --no-rdoc
ruby server.rb ./twitter.apk
require 'rubygems'
require 'sinatra'
get '/*' do
send_file(ARGV[0])
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment