https://help.ubuntu.com/community/Ubuntu%20Studio%20Upgrade%20from%20Ubuntu
Run a test suite; phpunit -c path/to/phpunit.xml --testsuite ${name}
setMethods(array $methods)
can be called on the Mock Builder object to specify the methods that are to be replaced with a configurable test double. The behavior of the other methods is not changed. If you call setMethods(NULL), then no methods will be replaced.
setConstructorArgs(array $args)
can be called to provide a parameter array that is passed to the original class' constructor (which is not replaced with a dummy implementation by default).
setMockClassName($name)
can be used to specify a class name for the generated test double class.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'vendor/autoload.php'; | |
$client = new Elasticsearch\Client([ | |
'hosts' => ['127.0.0.1'] | |
]); | |
echo "Resetting...\n"; | |
$index = ['index' => 'freedomclinics.com']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'vendor/autoload.php'; | |
class Transformer extends League\Fractal\TransformerAbstract | |
{ | |
protected $availableIncludes = ['child']; | |
protected $defaultIncludes = ['child']; | |
public function transform($data) |
I hereby claim:
- I am mbfisher on github.
- I am mbfisher (https://keybase.io/mbfisher) on keybase.
- I have a public key ASCZLo9Z9OjS2OfqFb50eyedCya6xHOKd8sTk79pttjN3Qo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import sys | |
from datetime import datetime | |
fields = ['Date completed', 'Description', 'Amount', 'Balance'] | |
data = [] | |
with open(sys.argv[1], encoding="utf-8-sig") as csvfile: | |
reader = csv.DictReader(csvfile) |
- Add forward pressure to the yoke
- Set 20 TPR thrust (40-50% N1)
- Press TOGA
- Remove forward pressure at 80kts
- In HUD, move aeroplane symbol up to dashed TOGA reference line
- Gear up at positive rate
- AP at 200ft
- LNAV will engage at 400ft
- Climb thrust will be set at 1500ft (acceleration alt on takeoff ref p2)