I hereby claim:
- I am garethnic on github.
- I am garethnic_ (https://keybase.io/garethnic_) on keybase.
- I have a public key ASDJQ1OwOCQ9L1I3UBqz1_sJFFElhfwR5UwGc275mFjHnQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
use Illuminate\Database\Seeder; | |
use Illuminate\Support\Facades\DB; | |
use Illuminate\Database\Eloquent\Model; | |
class DatabaseSeeder extends Seeder | |
{ | |
private $tables = [ | |
'tables', |
$countries = [ | |
'-' => 'Please Choose', | |
'Afghanistan'=>'Afghanistan', | |
'Albania'=>'Albania', | |
'Algeria'=>'Algeria', | |
'American Samoa'=>'American Samoa', | |
'Andorra'=>'Andorra', | |
'Angola'=>'Angola', | |
'Anguilla'=>'Anguilla', | |
'Antarctica'=>'Antarctica', |
<?php | |
namespace Tests; | |
use Illuminate\Support\Facades\Artisan; | |
use Illuminate\Contracts\Console\Kernel; | |
trait CreatesApplication | |
{ | |
/** |
### Keybase proof | |
I hereby claim: | |
* I am garethnic on github. | |
* I am garethnic (https://keybase.io/garethnic) on keybase. | |
* I have a public key ASCpxsrkFrfF9lpAcTURzkvVKL_z-P9jz4iOP8Z8mge2uwo | |
To claim this, I am signing this object: |
syntax enable | |
set t_Co=256 | |
set background=dark | |
colorscheme PaperColor | |
set backspace=indent,eol,start | |
set number |
<?php | |
if ($statusCode === 500 && !$isValidationException && app()->environment() == 'production') { | |
return response()->view('errors.500', [], 500); | |
} else { | |
return parent::render($request, $exception); | |
} |
<?php | |
/** | |
* Render an exception into an HTTP response. | |
* | |
* @param \Illuminate\Http\Request $request | |
* @param \Exception $exception | |
* @return \Illuminate\Http\Response | |
*/ | |
public function render($request, Exception $exception) |
<?php | |
/** | |
* Render an exception into an HTTP response. | |
* | |
* @param \Illuminate\Http\Request $request | |
* @param \Exception $exception | |
* @return \Illuminate\Http\Response | |
*/ | |
public function render($request, Exception $exception) |
http://yerevann.com/a-guide-to-deep-learning/ |