Skip to content

Instantly share code, notes, and snippets.

View davidmead's full-sized avatar

David Mead davidmead

View GitHub Profile
@davidmead
davidmead / guestbook.html
Created February 19, 2019 21:26 — forked from jgmac1106/guestbook.html
Simple Guestbook for your Website
<!DOCTYPE html>
<html>
<head>
<title>INTERTEXTrEVOLUTION</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/reset.css">
<link rel="stylesheet" href="/styles.css">
<style>
@davidmead
davidmead / known-post-proposed.html
Created February 16, 2019 19:58
Proposed structure for Known post (Listen type as an example) using a more semantic markup
<!DOCTYPE html>
<html lang="en">
<head>
<title>Proposed HTML for a Listen post on Known blog</title>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<style>
/* Just enough CSS to visualize structure */
img {display:block; width:100%;}
.white {background-color: #FFF; padding: 1em;}

Keybase proof

I hereby claim:

  • I am davidmead on github.
  • I am davidmead (https://keybase.io/davidmead) on keybase.
  • I have a public key whose fingerprint is AF94 B3F7 C75F AC5B 695E 5F65 4AEB 4979 065D 57B1

To claim this, I am signing this object:

# Known .htaccess file
<IfModule mod_rewrite.c>
RewriteEngine on
\#RewriteBase /
RewriteCond %{ENV:BASE} ^$
RewriteCond $1::%{REQUEST_URI} ^(.*)::(.*?)\1$
RewriteRule ^(.*)$ - [ENV=BASE:%2]
RewriteRule ^js/canary\.js$ %{ENV:BASE}/js/default.js [L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Verifying I am +davidmead on my passcard. https://onename.com/davidmead
### Keybase proof
I hereby claim:
* I am davidmead on github.
* I am davidmead (https://keybase.io/davidmead) on keybase.
* I have a public key whose fingerprint is 5BC5 C560 35BE 9FB6 0A67 645E 5E0F AB03 91D9 413B
To claim this, I am signing this object: