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
// -------------------------------------------------------------- | |
// Set the core Laravel path constants. | |
// -------------------------------------------------------------- | |
require '../paths.php'; | |
// -------------------------------------------------------------- | |
// Unset the temporary web variable. | |
// -------------------------------------------------------------- | |
unset($web); |
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
Process: VisualJSON [31509] | |
Path: /Applications/VisualJSON.app/Contents/MacOS/VisualJSON | |
Identifier: org.3rddev.VisualJSON | |
Version: 1.2.2 (1.2.2) | |
App Item ID: 488709442 | |
App External ID: 11814081 | |
Code Type: X86-64 (Native) | |
Parent Process: launchd [308] | |
Date/Time: 2012-11-19 12:06:17.310 -0500 |
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 | |
/* * ** | |
* | |
* This script converts an existing MySQL database to migrations in Laravel 4. | |
* | |
* 1. Place this file inside app/controllers/ | |
* | |
* 2. In this file, edit the index() method to customize this script to your needs. | |
* - inside $migrate->ignore(), you pass in an array of table |
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 | |
class BulkUpdateModelTest extends TestCase | |
{ | |
/** @expectedException ReflectionException */ | |
public function testItthrowsAnException_if_the_requested_model_is_invalid() | |
{ | |
$status = $this->artisan('mynamespace:bulkupdate',['model' => 'foo']); | |
} | |
public function testItDisplaysAnError_if_the_requested_model_is_invalid() |
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
LOCAL_HOME=/Users/joeblough | |
VAGRANT_HOME=/home/vagrant | |
... | |
DB_CONNECTION=mysql | |
DB_HOST=localhost | |
DB_PORT=3306 | |
DB_PORT_VM=33060 | |
... |
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 | |
... | |
if ($request->ajax()) { | |
$whoops->pushHandler(new \Whoops\Handler\JsonResponseHandler()); | |
} else { | |
$whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler()); | |
} |
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 | |
... | |
if ($request->ajax() || $request->wantsJson()) { | |
$whoops->pushHandler(new JsonResponseHandler()); | |
} else { | |
$handler = new PrettyPageHandler(); | |
//$handler->setEditor('phpstorm'); | |
$handler->setEditor( | |
function ($file, $line) { |
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
LOCAL_HOME=/Users/joeblough | |
SERVER_HOME=/home/vagrant | |
... | |
DB_CONNECTION=mysql | |
... |
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
.frame-file .editor-link { | |
color: #67B3FF; | |
text-decoration: underline; | |
} |
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
... | |
alias phpx="/usr/local/bin/php \ | |
-dxdebug.remote_enable=1 \ | |
-dxdebug.remote_mode=req \ | |
-dxdebug.remote_port=9000 \ | |
-dxdebug.remote_host=127.0.0.1 \ | |
-dxdebug.remote_autostart=1 \ | |
-dzend_extension=/usr/local/opt/php56-xdebug/xdebug.so" |
OlderNewer