Skip to content

Instantly share code, notes, and snippets.

View joelbutcher's full-sized avatar
🏠
Working from home

Joel Butcher joelbutcher

🏠
Working from home
View GitHub Profile
<?php
use Illuminate\Foundation\Testing\RefreshDatabase;
use Symfony\Component\Console\Output\BufferedOutput;
use function Termwind\render;
use function Termwind\renderUsing;
uses(RefreshDatabase::class);
test('there are no down migrations', function () {
@joelbutcher
joelbutcher / iTermAutoDarkMode.md
Last active April 25, 2021 21:12 — forked from jamesmacfie/README.md
iTerm 2 - script to change theme depending on Mac OS dark mode

How to use

In iTerm2, in the menu bar go to Scripts > Manage > New Python Script

Select Basic. Select Long-Running Daemon

Give the script a decent name (I chose auto_dark_mode.py)

Save and open the script in your editor of choice.