Put flip somewhere in your $PATH and chmod a+x it.
Copy fuck into ~/.bashrc.
| import struct | |
| import SocketServer | |
| from base64 import b64encode | |
| from hashlib import sha1 | |
| from mimetools import Message | |
| from StringIO import StringIO | |
| class WebSocketsHandler(SocketServer.StreamRequestHandler): | |
| magic = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11' | 
| Today's lesson: Never call your module types.py if you plan to run | |
| Python from when standing in the same directory. It took me some | |
| time to figure out what was going on: | |
| $ touch types.py # empty file | |
| $ python | |
| Traceback (most recent call last): | |
| File "/usr/lib/python2.7/site.py", line 68, in <module> | |
| import os | |
| File "/usr/lib/python2.7/os.py", line 398, in <module> |