Skip to content

Instantly share code, notes, and snippets.

View j13k's full-sized avatar

John Fitzpatrick j13k

View GitHub Profile
@j13k
j13k / config.php
Last active August 29, 2015 14:17
This config script facilitates ini-file configuration of Sismo projects
<?php
/**
* This config script facilitates INI-file configuration of
* Sismo (http://sismo.sensiolabs.org/) projects
*
* Installation:
*
* 1. Place this file in ~/.sismo/ (or SISMO_CONFIG_PATH)
* 2. Create projects.ini file in ~/.sismo (or SISMO_CONFIG_PATH), specifying
@j13k
j13k / html-debug-panel.html
Last active August 29, 2015 14:13
Simple HTML debug panel with toggle control
<!-- Simple HTML debug panel with toggle control -->
[ <a id="debugControl" onclick="document.getElementById('debugPanel').style.display = (document.getElementById('debugPanel').style.display == 'none' ? 'block' : 'none'); document.getElementById('debugControl').innerHTML = (document.getElementById('debugControl').innerHTML == '+' ? '-' : '+');">+</a> ]
<pre id="debugPanel" style="font-family: 'Courier New', Monospace; display: none">
<!-- Debug output goes here -->
</pre>