Skip to content

Instantly share code, notes, and snippets.

View CatoTH's full-sized avatar

Tobias Hößl CatoTH

View GitHub Profile
@CatoTH
CatoTH / AccessibilityValidator.php
Created August 24, 2015 05:41
A helper class for Codeception that allows automated accessility checks (WCAG 2.0, Section508) using the pa11y command line tool during acceptance testing. It uses local binaries and can therefore be run offline.
<?php
/**
* A helper class for Codeception (http://codeception.com/) that allows automated accessility checks
* (WCAG 2.0, Section508) using the pa11y (http://pa11y.org/) command line tool
* during acceptance testing.
* It uses local binaries and can therefore be run offline.
*
*
* Requirements:
@CatoTH
CatoTH / HTMLValidator.php
Last active May 24, 2017 07:52
A helper class for Codeception that allows automated HTML5 Validation using the Nu Html Checker during acceptance testing. It uses local binaries and can therefore be run offline.
<?php
/**
* A helper class for Codeception (http://codeception.com/) that allows automated HTML5 Validation
* using the Nu Html Checker (http://validator.github.io/validator/) during acceptance testing.
* It uses local binaries and can therefore be run offline.
*
*
* Requirements:
* =============

Keybase proof

I hereby claim:

  • I am catoth on github.
  • I am cato (https://keybase.io/cato) on keybase.
  • I have a public key whose fingerprint is 2A46 1855 80D8 2748 A52B CDF0 1D78 0C75 99C2 D2A2

To claim this, I am signing this object:

@CatoTH
CatoTH / plugin.js
Created March 13, 2012 14:48 — forked from LouisStAmour/plugin.js
Proof-of-concept alpha of jQuery-oembed integrated with CKeditor on paste or when space is pressed.
/*
* CKEditor plugin to automatically embed oEmbed-Content
* CKEditor/jquery.oembed-integration proof of concept by Tobias Hößl
*
* Inspired by:
* Auto-Insertion plugin
* Copyright (c) 2010 Louis St-Amour, but multi-licensed as GPL/LGPL/MPL
*
* Embeds:
* jquery oembed plugin v1.1