sudo nano /boot/config.txt
sudo apt-get install midori
Set Midori homepage to whatever e.g. http://yourdashboard.yoursite.com
| var clear = document.getElementById('clear'), | |
| overlay = document.getElementById('overlay'); | |
| clear.addEventListener('click', function(){ | |
| overlay.parentNode.removeChild(overlay); | |
| }) |
| <?php | |
| if( $_SERVER['REQUEST_METHOD'] == 'post' ){ | |
| $fp = fopen('../registrations.csv', 'a'); | |
| fputcsv($fp, $_POST); | |
| fclose($fp); | |
| } | |
| ?> |
| LEFT(A2,FIND(" ",A2)−1) | |
| RIGHT(A2,LEN(A2)−FIND(" ",A2)) |
| $message = implode("\n", array_map(function ($v, $k) { return $k . ': ' . $v; }, $_POST, array_keys($_POST))); |
sudo nano /boot/config.txt
sudo apt-get install midori
Set Midori homepage to whatever e.g. http://yourdashboard.yoursite.com
| <?php | |
| if( $_SERVER['REQUEST_METHOD'] == 'POST' ){ | |
| $message = implode("\n", array_map(function ($v, $k) { return $k . ': ' . $v; }, $_POST, array_keys($_POST))); | |
| $headers = 'From: contact_form@example.com'; | |
| mail('info@example.com', 'Website Contact Form', $message, $headers); | |
| header("Location: http://www.example.com/thankyou"); | |
| die(); | |
| } | |
| ?> |
| 'use strict'; | |
| // Making up for Safari's lack of native date picker | |
| // Trying to ape the iOS one | |
| var mac_os_safari_datetime_picker = { | |
| init: function(){ | |
| document.querySelectorAll('input[type="date"]').forEach(function(date_input){ | |
| date_input.addEventListener('focus', mac_os_safari_datetime_picker.date.show_date_picker); | |
| date_input.addEventListener('click', function(event){ |
| #!/bin/bash | |
| for i in $(seq -f "%02g" 1 29) | |
| do | |
| curl -LO https://app.fullstory.com/s/img/avatars/$i@2x.png | |
| done |
| ### Keybase proof | |
| I hereby claim: | |
| * I am knorthfield on github. | |
| * I am knorthfield (https://keybase.io/knorthfield) on keybase. | |
| * I have a public key ASCBtEiD0LexEljuEE16WHUP6VUewBlyvyN0hB-waykjBAo | |
| To claim this, I am signing this object: |