Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/bin/sh | |
| #----------------------------------------------------------------------------------------# | |
| # Hex over TCP with Echo and Netcat # | |
| #----------------------------------------------------------------------------------------# | |
| echo -n -e "\x01\x18\x03" | nc 192.168.1.4 80 | |
| # The -n supresses outputting the trailing newline. | |
| # The -e enables the interpretation of backslash escapes -- allowing us to send hex codes. |
| # include <stdlib.h> | |
| # include <stdio.h> | |
| # include <sys/stat.h> | |
| # include <pthread.h> | |
| # include <fcgiapp.h> | |
| const char* const sockpath = "/tmp/fcgicpp.sock"; |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| <link rel="import" href="../core-icon-button/core-icon-button.html"> | |
| <link rel="import" href="../core-toolbar/core-toolbar.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; | |
| width: 100%; |