Skip to content

Instantly share code, notes, and snippets.

View turnbuga's full-sized avatar

Gregg Turnbull turnbuga

View GitHub Profile
@turnbuga
turnbuga / siteimprove-embed
Last active September 12, 2018 18:29
Use this code (and your Siteimprove API KEY) to embed your scorecard to a php page / site. See it live at https://www.larimer.org/accessibility
// as seen at https://www.larimer.org/accessibility/
// Crafted mostly Jim Vogl and Gregg Turnbull
<?php
$headers = array(
'Content-Type:application/json',
'Accept: application/json',
'Authorization: Basic FINDYOURKEYTHROUGHTHESITEIMPROVEAPI'
);
@turnbuga
turnbuga / gist:91b30e58089c2312e7d030718970eb39
Created September 12, 2018 18:45
Colorado Flag Status I
<html>
<head>
<style type="text/css">
.flag-status { color: #fff; }
.flag-status .flag-icon {
vertical-align: middle;
margin-right: 10px;
width: 30px;
height: auto;
}
@turnbuga
turnbuga / gist:7f2f3d5934191260726f534fb85f7eb3
Last active November 9, 2018 15:51
Colorado Flag Status Embed - See Example in the footer of larimer.org
<html>
<head>
<!-- Built by Jim Vogl / larimer.org -->
<style type="text/css">
.flag-status { color: #fff; }
.flag-status .flag-icon {
vertical-align: middle;
margin-right: 10px;
width: 30px;
height: auto;