I hereby claim:
- I am hotmeteor on github.
- I am adamspur (https://keybase.io/adamspur) on keybase.
- I have a public key ASCITLrhXiOL5OmmPvkyMEAGsDiJtjy4uwAne1i7iBnHcQo
To claim this, I am signing this object:
<?php | |
// As found here: https://www.naics.com/sic-naics-crosswalk-search-results/ | |
return [ | |
[ | |
'sic_code' => '0111', | |
'sic_description' => 'Wheat', | |
'naics_code' => '111140', | |
'naics_description' => 'Wheat Farming', |
<?php | |
// As listed here: https://www.sec.gov/corpfin/division-of-corporation-finance-standard-industrial-classification-sic-code-list | |
return [ | |
[ | |
'code' => 100, | |
'office' => 'Industrial Applications and Services', | |
'industry' => 'AGRICULTURAL PRODUCTION-CROPS', | |
], |
<?php | |
namespace App\Providers\Macros; | |
class ApaTitle | |
{ | |
public function __invoke() | |
{ | |
return function ($string) { | |
// Define minor words to be lowercase |
{ | |
"openapi": "3.0.0", | |
"info": { | |
"title": "Users.v1", | |
"version": "1.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://localhost:3000" | |
} |
<?php | |
$results = DB::table('users') | |
->select('users.id', 'users.first_name', 'users.last_name', 'users.email') | |
->select('latest_account.name', 'latest_account.city') | |
->joinLateral(function($query) { | |
$query->select('accounts.name', 'accounts.city') | |
->from('accounts') | |
->whereColumn('accounts.user_id', 'users.id') | |
->orderByDesc('accounts.id') |
I hereby claim:
To claim this, I am signing this object:
<?php | |
use Illuminate\Support\Facades\Schema; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Database\Migrations\Migration; | |
class CreateMyTable extends Migration | |
{ | |
/** | |
* Run the migrations. |
<?php | |
namespace App\Notifications; | |
use Illuminate\Bus\Queueable; | |
use Illuminate\Contracts\Queue\ShouldQueue; | |
use Illuminate\Notifications\Notification; | |
use Illuminate\Queue\SerializesModels; | |
class AppointmentReminder extends Notification implements ShouldQueue |
<?php | |
namespace App\Notifications; | |
use Illuminate\Bus\Queueable; | |
use Illuminate\Contracts\Queue\ShouldQueue; | |
use Illuminate\Notifications\Notification; | |
use Illuminate\Queue\SerializesModels; | |
class AppointmentReminder extends Notification implements ShouldQueue |
<?php | |
namespace App\Base\Providers; | |
use App\Notifications\Listeners\NotificationSendingListener; | |
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; | |
use Illuminate\Notifications\Events\NotificationSending; | |
class EventServiceProvider extends ServiceProvider | |
{ |