most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat| /** | |
| * @When I scroll :elementId into view | |
| */ | |
| public function scrollIntoView($elementId) { | |
| $function = <<<JS | |
| (function(){ | |
| var elem = document.getElementById("$elementId"); | |
| elem.scrollIntoView(false); | |
| })() | |
| JS; | 
| define(['can', 'localCache'], function(can, localCache) { | |
| 'use strict'; | |
| describe('storeLocal()', function() { | |
| var sandbox; | |
| beforeEach(function() { | |
| // create sandbox environment for mocking about | |
| sandbox = sinon.sandbox.create(); | |
| }); | 
| <?php | |
| /** | |
| * Transforms an under_scored_string to a camelCasedOne | |
| */ | |
| function camelize($scored) { | |
| return lcfirst( | |
| implode( | |
| '', | |
| array_map( | 
| <?php | |
| /** | |
| * This class can add WSSecurity authentication support to SOAP clients | |
| * implemented with the PHP 5 SOAP extension. | |
| * | |
| * It extends the PHP 5 SOAP client support to add the necessary XML tags to | |
| * the SOAP client requests in order to authenticate on behalf of a given | |
| * user with a given password. | |
| * | 
| <?php | |
| /** | |
| * FinalKeywordIgnoredInTrait.php | |
| * | |
| * PHP 5.4.13 (cli) (built: Mar 15 2013 02:05:59) | |
| * Copyright (c) 1997-2013 The PHP Group | |
| * Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies | |
| * with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans | |
| * | |
| * @link https://bugs.php.net/bug.php?id=62204 | 
| http://nvie.com/posts/a-successful-git-branching-model/ |