Skip to content

Instantly share code, notes, and snippets.

View wilburpowery's full-sized avatar
🚀
Busy being awesome.

Wilbur Powery wilburpowery

🚀
Busy being awesome.
View GitHub Profile
@wilburpowery
wilburpowery / machine.js
Created November 22, 2019 17:24
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
<?php
public function test_jobs_older_than_90_days_are_deleted_automatically()
{
$listings = factory(Listing::class, 5)->create();
$listings[0]->update(['created_at' => now()->subDays(91)]);
$listings[1]->update(['created_at' => now()->subDays(91)]);
// We have 5 listings now
{
"editor.fontSize": 16,
"editor.fontFamily": "Roboto Mono, Menlo, Monaco, 'Courier New', monospace",
"workbench.colorTheme": "GitHub Plus",
"workbench.fontAliasing": "antialiased",
"editor.lineHeight": 32,
"editor.wordWrap": "on",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "eq-material-theme-icons",
"window.zoomLevel": 0,