This file contains hidden or 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
POST /users HTTP/1.1 | |
Accept-Language en_US | |
Accept application/vnd.lyft.app+json;version=21 | |
User-Agent lyft:android:5.0:2.8.0.1717 | |
User-Device LGE Nexus 5 | |
X-Carrier AT&T | |
X-Session eyJhIjoiN2E2NzIwYTgzYzcxYzBkZiIsImYiOiIxNTBlNDNmOS00M2NkLTRjOTItYjI1Mi02NzNhMTU3NGI4NDEiLCJnIjoiMjc1NTYwMjU5MjA1NzY3In0= | |
Content-Type application/json; charset=utf-8 | |
Content-Length 126 | |
Host api.lyft.com |
This file contains hidden or 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
STDOUT.sync = true | |
def loadify(message = "", &block) | |
characters = %w[| / - \\ | / - \\] | |
thread = Thread.new do | |
block.call | |
end | |
while thread.alive? |