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 | |
/** | |
* Handle JSON decoding/encoding app-wide in a specific manner | |
* | |
* Class AppJson | |
*/ | |
class AppJson | |
{ |
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 api_clients; | |
use Auth0JwtBootstrap; | |
use AppJson; | |
class Auth0ManagementApiClient | |
{ |
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 api_clients; | |
use Auth0JwtBootstrap; | |
use AppJson; | |
class Auth0ManagementApiClient | |
{ |
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 | |
/** | |
* Helper trait to throw an exception instead of getting affected by Propel's automagic cross-join-"fixing" of a query. | |
* Most often, the cross join is an unwanted consequence of a typo or incorrect usage of the query methods related to relation aliases. | |
* | |
* Use this trait in the *Query classes and manually execute the following method on query objects wherever automatic cross joins are unwanted: | |
* | |
* $query->throwExceptionIfPropelCrossJoinQueryFixWillBeTriggered(); | |
* |
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
#!/usr/bin/env bash | |
set -o errexit | |
#set -x | |
echo "Benchmark - dd if=/dev/zero of=speedtest bs=1024 count=100000" | |
echo "* On host" | |
time dd if=/dev/zero of=speedtest bs=1024 count=100000 | |
echo |
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
{ | |
"name": "vendor/name", | |
"description": "Description", | |
"type": "library", | |
"authors": [ | |
{ | |
"name": "Fredrik Wollsén", | |
"email": "fredrik@neam.se", | |
"homepage": "http://www.neam.se" | |
}, |
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 | |
use Codeception\Util\Stub; | |
class StringTransliterationTest extends \Codeception\TestCase\Test | |
{ | |
use DnaTestTrait; | |
/** | |
* @var \CodeGuy |
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
+ docker version | |
Client: | |
Version: 1.8.3 | |
API version: 1.20 | |
Go version: go1.4.2 | |
Git commit: f4bf5c7 | |
Built: Mon Oct 12 18:01:15 UTC 2015 | |
OS/Arch: linux/amd64 | |
Server: |
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
+ docker version | |
Client: | |
Version: 1.10.3 | |
API version: 1.22 | |
Go version: go1.5.3 | |
Git commit: 20f81dd | |
Built: Thu Mar 10 21:49:11 2016 | |
OS/Arch: darwin/amd64 | |
Server: |
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
FROM busybox | |
COPY . / |