Profile cover photo
Profile photo
chuck peterson
65 followers -
Where the wild things are...
Where the wild things are...

65 followers
About
Posts

Post has attachment
New Helper Function...
Maybe you can tell that I am not a fan of helper functions :) <?php if (! function_exists( '💩' )) { /** * Get the available laravel container instance. * * @param string $abstract * @param array $parameters * @return mixed|\Illuminate\Foundation\Applica...
Add a comment...

Post has attachment
Add a comment...

Post has attachment
MacBook - Rear View Mirror
How to Turn on a MacBook Camera by Chad Anderson The built-in iSight camera in the Apple MacBook line does not have an on and off switch. Instead, it is activated by software requesting camera input. If a piece of software is not up to date, the application...
MacBook - Rear View Mirror
MacBook - Rear View Mirror
blog.geekslikeshinythings.com
Add a comment...

Post has attachment
MySQL: mysqldump, compress, to remote server, and import on remote server
Here is what I do for a quick dump via mysqldump, syncing the data to another remote server with compression, decompressing it on the other side and importing the data into mysql ... assuming that you have setup an ssh key between the 2 servers create file ...
Add a comment...

Post has attachment
Adminer.php for Laravel v2.0.1 released.
adminer-for-laravel 5.* Adminer  is a full-featured database management tool written in PHP. This package automates setup for adminer and routes your.domain.here/adminer to the the adminer.php script. Installation Composer composer require leung/laravel-adm...
Add a comment...

Post has attachment
Interactively remove git commit from history of repo.
Thanks to  1800 INFORMATION  for an old, but good answer to the question Key Points Interactive mode for git rebase ... -i select the commit hash for the one you want to remove ... <commit> go back one commit and rebase from there ... ~1 Editor will be disp...
Add a comment...

Post has attachment
Middleware Group Exists
This took me awhile to find, so it thought I would post it for future use. Middleware group definitions that are defined in the Kernel [app/Http/Kernel.php] but they  end up in the router for Laravel 5.4  ( \Route::hasMiddlewareGroup('adminer') [ vendor/lar...
Add a comment...

Post has attachment
How to upgrade to PHP 7.1 on Ubuntu
How to upgrade to PHP 7.1 on Ubuntu Thursday, 2017-07-20 Ubuntu can easily be updates with PHP 7.1 now. I found an old how to install php7.1 with package updates , now that is not needed!  Here is how to upgrade today. 1. List your current PHP packages Your...
Add a comment...

Post has attachment
PhpStorm Remote Xdebug
Just do you get the Gist ... This is a remote xDebug configuration hint ... it is not a guide or help or feedback. :)  homestead box - remote xdebug Raw   README.md HOMESTEAD BOX Remote PhpStorm Xdebug This will allow  PhpStorm  to use remote debugging with...
Add a comment...

Post has attachment
Laravel and PhpStorm needed proper inheritance hinting
Thanks again to Taylor Otwell for quick response to a needed update for Laravel 5.4 to work properly with PhpStorm ide helpers. Eloquent\Builder does this already /**
* @mixin \Illuminate\Database\Eloquent\Query
*/ So adding it to the Model and Relations ...
Add a comment...
Wait while more posts are being loaded