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
namespace Former\Facades { | |
class Former { | |
/** | |
* Register a macro with Former | |
* | |
* @param string $name The name of the macro | |
* @param Callable $macro The macro itself | |
* @return mixed |
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 MilkTrackersController extends App\Http\Controllers\Controller | |
{ | |
public function getIndex() | |
{ | |
return view('test1'); | |
} | |
} |
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
## RUN 1 - no compiled.php, no xdebug | |
Concurrency Level: 1 | |
Time taken for tests: 10.028 seconds | |
Complete requests: 500 | |
Failed requests: 0 | |
Non-2xx responses: 500 | |
Total transferred: 674222 bytes | |
HTML transferred: 174000 bytes | |
Requests per second: 49.86 [#/sec] (mean) |
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
## | |
# Global SSL settings - nginx.conf in http section | |
## | |
## | |
# For additional performance, enable SPDY support for each site by changing the: | |
# | |
# listen 443 ssl; | |
# | |
# line to: |
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
##### /etc/php5/mods-available/xdebug-local.ini ##### | |
xdebug.remote_autostart = on | |
##### /home/claar/bin/pdbg ##### | |
#!/bin/bash | |
db=$1 | |
usage () { | |
echo "Usage: `basename $0` on|off" |
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 | |
php: | |
- 5.5 | |
before_script: | |
- mkdir -p build | |
- mkdir -p shippable/testresults | |
- mkdir -p shippable/codecoverage | |
- phpunit --version |
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
QUERY PLAN | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
Limit (cost=2155935.40..2155935.52 rows=50 width=4) (actual time=8060.510..8060.547 rows=50 loops=1) | |
-> Sort (cost=2155935.40..2155935.80 rows=162 width=4) (actual time=8060.504..8060.523 rows=50 loops=1) | |
Sort Key: inv_asset_view.asset_id | |
Sort Method: top-N heapsort Memory: 18kB | |
-> Subquery Scan on inv_asset_view (cost=97.06..2155930.01 rows=162 width=4) (actual time=28.885..8057.971 rows=2703 loops=1) | |
-> Hash Left Join (cost=97.06..2155928.39 rows=162 width=2430) (actual time=28.884..8056.156 rows=2703 loops=1) | |
Hash Con |