start new:
tmux
start new with session name:
tmux new -s myname
| <?php | |
| use Behat\Behat\Context\Context; | |
| use Behat\Behat\Hook\Scope\BeforeScenarioScope; | |
| class FeatureContext implements Context { | |
| private $subContext; | |
| /** @BeforeScenario */ | |
| public function gatherContexts(BeforeScenarioScope $scope) |
| <?php | |
| function it($m,$p){echo ($p?'✔︎':'✘')." It $m\n"; if(!$p){$GLOBALS['f']=1;}}function done(){if(@$GLOBALS['f'])die(1);} |
| curl --user "docteurklein" -X POST \ | |
| "https://api.github.com/repos/KnpLabs/KnpRadBundle/pulls" \ | |
| -d'{"issue": 83, "head": "KnpLabs:bugfix/83-csrf-check-option", "base":"develop"}' |