Install the prerequisites:
sudo apt install curl gnupg2 ca-certificates lsb-release ubuntu-keyring
Import an official nginx signing key so apt could verify the packages authenticity. Fetch the key:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <link href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons' rel="stylesheet"> | |
| <link href="https://unpkg.com/vuetify/dist/vuetify.min.css" rel="stylesheet"> | |
| </head> | |
| <style> | |
| #app { |
| [ | |
| { | |
| "state": "Abia", | |
| "lgas": [ | |
| "Aba North", | |
| "Aba South", | |
| "Arochukwu", | |
| "Bende", | |
| "Ikawuno", | |
| "Ikwuano", |
Instructions tested with a Raspberry Pi 2 with an 8GB memory card. Probably also works fine on a Raspberry Pi 3.
Download the latest Raspbian Jessie Light image. Earlier versions of Raspbian won't work.
Write it to a memory card using Etcher, put the memory card in the RPi and boot it up.
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>PayloadContent</key> | |
| <array> | |
| <dict> | |
| <key>IKEv2</key> | |
| <dict> | |
| <key>AuthName</key> |
| /* | |
| * Inspired by: http://stackoverflow.com/questions/4360060/video-streaming-with-html-5-via-node-js | |
| */ | |
| var http = require('http'), | |
| fs = require('fs'), | |
| util = require('util'); | |
| http.createServer(function (req, res) { | |
| var path = 'video.mp4'; |
| // Only count bytes inserted as values, not counting keys... | |
| (function() { | |
| localStorage.clear(); | |
| var nbBytes = 5000, // about 0.5Mb | |
| oneByte = 'x', | |
| i = 0, | |
| totalBytesInserted = 0; | |
| function repeat(string, length) { |