start new:
tmux
start new with session name:
tmux new -s myname
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"}' |
<?php | |
function it($m,$p){echo ($p?'✔︎':'✘')." It $m\n"; if(!$p){$GLOBALS['f']=1;}}function done(){if(@$GLOBALS['f'])die(1);} |
<?php | |
use Behat\Behat\Context\Context; | |
use Behat\Behat\Hook\Scope\BeforeScenarioScope; | |
class FeatureContext implements Context { | |
private $subContext; | |
/** @BeforeScenario */ | |
public function gatherContexts(BeforeScenarioScope $scope) |