- Install ghc 7.6.3 and Haskell Platform
- Install ghc 7.8.2 and Cabal
Install Ubuntu 12.04 depencies:
| [Unit] | |
| Description=RMS Meteor Camera Video Tunnel | |
| After=network.target | |
| [Service] | |
| Type=oneshot | |
| RemainAfterExit=true | |
| ExecStart=/full/path/to/tunnel.sh | |
| [Install] |
| #!/usr/bin/env python3 | |
| import asyncio | |
| from time import time | |
| async def main(): | |
| async def counter(): | |
| i = 1 | |
| t0 = time() | |
| while True: |
| <!doctype html> | |
| <html lang=en> | |
| <head> | |
| <meta charset=utf-8> | |
| <title></title> | |
| </head> | |
| <body> | |
| </body> | |
| </html> |