View cookie-notice-data-data.js.html
View simple-autosave.js.html
<!doctype html> <html lang="en"> <title> *autosave </title>
<h1> autosave </h1>
<p><label> Field 1 <input id="uniq_id_1" class="autosave" ></label>
<p><label> Field 2 <input class="autosave" ></label>
<p><label> Field 3 <select class="autosave" ><option>Option A</option><option>Option B</option></select>
View buy-me-a-coffee-badge.html
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="258px" data-x-width="70.9083mm" height="13.2292mm"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.2" baseProfile="tiny" xml:lang="en" >
<title>Buy Me A Coffee</title>
<!--
https://www.buymeacoffee.com/
-->
View docker-status-cli.php
#!/usr/bin/env php
<?php
/**
* CLI. Run 'docker ps' and 'docker exec ... git describe'. Output the result as JSON.
*
* USAGE:
* sudo su
* ./docker-status.php
*
View dashboard.markdown.template.html
<!doctype html><html lang="en"> <title> *Nick's dashboard </title>
<base target="new" title="Opens in a new window" />
<div id="html-destination"></div>
<pre id="markdown-source" data-type="text/markdown">
# Nick's Dashboard #
View .pa11yci.conf.js
/*!
Pa11y-ci Configuration.
Dynamically generate a '.pa11yci' JSON config object, using an environment variable.
© Nick Freear, 07-March-2018.
https://gist.github.com/nfreear/cece86bf6d5d4d531bf0646417a868fb
https://github.com/pa11y/pa11y-ci/issues/48
USAGE:
View .pa11yci.json
{
"#": "Automated accessibility testing ~ https://github.com/pa11y/pa11y-ci",
"defaults": {
"standard": "WCAG2AA",
"reporter": "cli",
"level": "error",
"threshold": 0,
"ignore": [ ],
"includeNotices": true,
View pa11y-ci.otu.js
// eslint-disable-next-line
const _PKG_ = `
dependencies:
shelljs: ^0.7.8
pa11y-ci: ^1.3.1
# otu: ^1.1.0-beta
pa11y-ci:
defaults:
standard: WCAG2AAA
timeout: 8000
View Twig-translate-function.xgettext.php
<?php
/**
* Twig-translate-function.php
*
* @link https://twig.symfony.com/doc/1.x/advanced.html#filters
*/
$twig = new Twig_Environment($loader);
$twig->addFunction(new \Twig_SimpleFunction('translate', function ($str) {
return gettext( $str );
View countable-js.html
<!doctype html> <title> * Countable </title>
<style>
body { background: #fdfdfd; color: #333; font: 1em sans-serif; margin: 1em auto; width: 45em; }
h1 { font-weight: normal; }
textarea, [ type = submit ] { font-size: 1em; }
textarea { border-color: #ccc; border-radius: 5px; color: #222; height: 16em; padding: 1em; width: 99%; }
[ name = counts ] { width: 100%; letter-spacing: .06em; }
[ type = submit ] { height: 3em; width: 8em; }
:invalid { border-color: red; }