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
#include <stdio.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
#include <termios.h> | |
/* | |
Simple program that sets stationary mode in U-Blox GPS connected to serial 0 on a Raspberry Pi 3 running Jessie. This | |
was not tested on any other system. This program assumes the GPS is using its default 9600 baud, 8 data bits, 1 stop bit, | |
and no parity. I'm using the expansion board from Uputronics. | |
This program worked for me when I set up my Pi as a stratum 1 NTP server per the directions on this |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> | |
<window id="foo" orient="vertical" | |
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | |
<script type="application/javascript"><![CDATA[ | |
onload = function onload(event) { | |
let iframe = document.getElementById("foo-iframe"); | |
iframe.addEventListener("DOMContentLoaded", function (event) { |