Last active
November 26, 2017 21:27
-
-
Save KINGSABRI/a5a21b56bb97428c3270aa1a2f6c6222 to your computer and use it in GitHub Desktop.
twitter snaps
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
# Onliner Web Proxy Server in Ruby | |
ruby -r webrick/httpproxy -e 's = WEBrick::HTTPProxyServer.new(:Port => 8080, :RequestCallback => Proc.new {|req,res| puts req.request_line, req.raw_header}); trap("INT"){s.shutdown}; s.start' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment