- create a new IAM user and attach the AWS OpsWorks Register Policy
- for testing: create a new stack on AWS OpsWorks and fetch its ID
- customize all variables prefixed with
YOUR_
from thecloud-config.yml
This file contains hidden or 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
Verifying that +klimpong is my blockchain ID. https://onename.com/klimpong |
This file contains hidden or 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
==> Installing php55-tideways from tideways/homebrew-profiler | |
==> Downloading https://github.com/tideways/php-profiler-extension/archive/v2.0.7.zip | |
==> Downloading from https://codeload.github.com/tideways/php-profiler-extension/zip/v2.0.7 | |
######################################################################## 100.0% | |
Warning: Cannot verify integrity of php55-tideways-v2.0.7.zip | |
A checksum was not provided for this resource | |
For your reference the SHA256 is: 6780061cc6145f7f6f342f7afd6beea2d1f8d31148441e08e799c962b785188f | |
==> /usr/local/opt/php55/bin/phpize | |
==> ./configure --prefix=/usr/local/Cellar/php55-tideways/v2.0.7 --with-php-config=/usr/local/opt/php55/bin/php-config | |
==> make |
This file contains hidden or 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
language: php | |
script: bash php-qa.sh |
This file contains hidden or 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 | |
// an attempt to read data from a local nginx pushstream setup | |
$this->client = new Client('http://vm.local'); | |
$request = $this->client->get( | |
'/sub/foo', | |
['Accept' => '*/*'], | |
['stream' => true], | |
); | |
$factory = new PhpStreamRequestFactory(); |
This file contains hidden or 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 | |
class A | |
{ | |
public function hello(B $b) | |
{ | |
echo "Hello {$b->person}" . PHP_EOL; | |
} | |
} |
This file contains hidden or 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
SELECT | |
req.urlShort, | |
req.resp_x_powered_by, | |
req.resp_server | |
FROM [httparchive:runs.latest_requests] AS req | |
WHERE ( | |
REGEXP_MATCH(req.resp_server, r'PHP') | |
OR | |
REGEXP_MATCH(req.resp_x_powered_by, r'PHP') | |
) |
Assuming you have the following tree and you want file operations on it, this is the minimum PHP you have to write to test it.
$ tree foo
foo
`-- bar
1 directory, 0 files
This file contains hidden or 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
{ | |
"repositories": [ | |
{ | |
"type": "package", | |
"package": { | |
"name": "fabpot/php-cs-fixer", | |
"version": "bleeding-edge", | |
"dist": { | |
"bin": ["php-cs-fixer.phar"], | |
"url": "http://get.sensiolabs.org/php-cs-fixer.phar", |