Skip to content

Instantly share code, notes, and snippets.

View croensch's full-sized avatar
🤠
out there

croensch

🤠
out there
  • Hella Gutmann Solutions
  • Freiburg im Breisgau, Germany
View GitHub Profile
@croensch
croensch / README.md
Last active August 29, 2015 14:04 — forked from gmarik/README.md

About

minimal example of using [phantomjs] with [qunit]

$ phantomjs run-qunit.js file://`pwd`/test.html
'waitFor()' finished in 200ms.
Tests completed in 21 milliseconds.
5 tests of 5 passed, 0 failed.

Installation

@croensch
croensch / FirebugDoctrineLogger.php
Created June 12, 2012 12:27 — forked from snichme/gist:789589
A Doctrine logger for FireBug(FirePHP)
<?php
/**
* Doctrine logger for FireBug
*
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @author Magnus Andersson <mange@mange.name>
* @author Christoph Roensch
*
* @link https://gist.github.com/2917214
*/
<?php
// Zend Framework Workaround
require_once('ZFWA\Db\Table\Row\Abstract.php');
require_once('ZFWA\Db\Table\Select\ColumnsWithoutFrom.php');
// That Table we want to start from
require_once('ThatTable.php');
// init Table
$ThatTable = new ThatTable();
// fetch Rowset/Row
$ThatRowset = $ThatTable->find(1);