Skip to content

Instantly share code, notes, and snippets.

View joemay's full-sized avatar

José Luis May Chan joemay

View GitHub Profile
<?php
/**
* Simple wrapper around the
* PHPUnit assertion library.
*
* Assert::equals(21, $age);
* Assert::greaterThan(20, $age);
* Assert::has('Joe', ['John', 'Joe']);
*/
@joemay
joemay / gist:5110152
Last active December 14, 2015 15:48 — forked from JeffreyWay/gist:5105516
Sublime Style Editor
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;font-size:16px}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/php");</script>