brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| // The `quickEach` method will pass a non-unique jQuery instance | |
| // to the callback meaning that there will be no need to instantiate | |
| // a fresh jQuery instance on each iteration. Most of the slow-down | |
| // inherent in jQuery's native iterator method (`each`) is the constant | |
| // need to have access to jQuery's methods, and so most developers | |
| // see constructing multiple instances as no issue... E.g. | |
| // $(...).each(function(){ $(this)... $(this)... $(this)... }); | |
| // A better approach would be `quickEach`. | |
| jQuery.fn.quickEach = (function(){ |
| license: gpl-3.0 |
| <?php | |
| use Symfony\Component\HttpFoundation\File\File; | |
| use Symfony\Component\HttpFoundation\File\UploadedFile; | |
| /** | |
| * @Entity | |
| */ | |
| class Document | |
| { |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| /** | |
| * Take screenshot when step fails. | |
| * Works only with Selenium2Driver. | |
| * | |
| * @AfterStep | |
| */ | |
| public function takeScreenshotAfterFailedStep($event) | |
| { | |
| if (4 === $event->getResult()) { | |
| $driver = $this->getSession()->getDriver(); |
| <?php | |
| class TxController extends Controller | |
| { | |
| public function context($id) | |
| { | |
| return new TxProxy($this->get($id), $this->get('doctrine.orm.default_entity_manager')); | |
| } | |
| } |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| <?php | |
| /* | |
| * This file is part of the Symfony package. | |
| * | |
| * (c) Fabien Potencier <[email protected]> | |
| * | |
| * For the full copyright and license information, please view the LICENSE | |
| * file that was distributed with this source code. | |
| */ |