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
#install s3fs | |
apt-get install -y git libxml2-dev libcurl4-openssl-dev gcc g++ pkg-config openssl autotools-dev automake libfuse-dev make unzip | |
cd /home/ubuntu/ | |
wget https://github.com/s3fs-fuse/s3fs-fuse/archive/v1.78.zip | |
unzip v1.78.zip | |
mv s3fs-fuse-1.78/ s3fs-fuse | |
#git clone git://github.com/s3fs-fuse/s3fs-fuse.git | |
cd /home/ubuntu/s3fs-fuse | |
./autogen.sh |
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 | |
namespace FTW\GuildBundle\Services; | |
/** | |
* Monitoring Gearman over telnet port 4730 | |
* | |
* So the only way to monitor Gearman is via doing a telnet to port 4730. The | |
* current monitoring supported commands are fairly basic. | |
* There are plans to include more set of commands in the next release. |
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
public function testCharacterProgressionPayload() | |
{ | |
$payload = $this->getPayloadObject($this->urlArray['CharacterProgression']); | |
$this->assertInternalType('object', $payload, 'Payload is not an object'); | |
$this->assertObjectHasAttributeOfType('progression', 'object', $payload); | |
$progression = $payload->progression; | |
$this->assertObjectHasAttributeOfType('raids', 'array', $progression); | |
foreach ($progression->raids as $raid) | |
{ | |
$this->assertInternalType('object', $raid, 'raid is not an object'); |