Skip to content

Instantly share code, notes, and snippets.

View glennpratt's full-sized avatar

Glenn Pratt glennpratt

View GitHub Profile
@inceax
inceax / private.xml
Last active December 28, 2017 00:59
Microsoft Sculpt Comfort Mouse Button Binding for OSX (using Karabiner)
<!--
Microsoft Sculpt Comfort Mouse Binding for OSX (using Karabiner)
Window Button => Launchpad
Slide Down, Scroll Left => Backward (Cmd+[)
Slide Up, Scroll Right => Forward (Cmd+])
A modified version from http://www.tslimi.tk/myblog/view.php?name=Touchpad+Support+of+Microsoft+Sculpt+Comfort+Mouse+for+OS+X
-->
<?xml version="1.0"?>
<root>
<devicevendordef>
@glennpratt
glennpratt / PHPUnitSharedSeleniumSession.php
Created August 18, 2011 18:14
Run PHPUnit Selenium test methods with out closing the session, except between classes.
<?php
class SeleniumTestHelper extends PHPUnit_Extensions_SeleniumTestCase {
protected $sharedSession = FALSE;
/**
* @throws RuntimeException
*/
protected function runTest()
{