Skip to content

Instantly share code, notes, and snippets.

Avatar

Gregg Turnbull turnbuga

View GitHub Profile
@turnbuga
turnbuga / gist:7f2f3d5934191260726f534fb85f7eb3
Last active Nov 9, 2018
Colorado Flag Status Embed - See Example in the footer of larimer.org
View gist:7f2f3d5934191260726f534fb85f7eb3
<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;
View gist:91b30e58089c2312e7d030718970eb39
<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 / siteimprove-embed
Last active Sep 12, 2018
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
View siteimprove-embed
// 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'
);