Skip to content

Instantly share code, notes, and snippets.


Matt Stauffer mattstauffer

View GitHub Profile
mattstauffer /
Last active Oct 26, 2021
SOL articles and projects


Tools to clone and use

View 0. Getting Started With

Welcome! This is my best, simple, introduction for how to buy Solana, and, if you want, also to buy NFTs using it.

mattstauffer /
Created Sep 14, 2020
Tighten Handbook Class Order

Extracted for the benefit of non-Tightenites.

Class "things" should be ordered as follows:

  1. Traits
  2. Statics properties
  3. Constants
  4. Instance properties
mattstauffer /
Created Jul 6, 2020
Simple BASH Xdebug toggler

Written by Matt Stauffer

Note: This expects that you've enabled Xdebug in a specific file: /usr/local/php/X.x/conf.d/ext-xdebug.ini.


Add this function to your .zshrc or similar file.


On the command line, type xdebug and hit enter. This will toggle whether or not Xdebug is running.


mattstauffer / Kids Books with Black
Last active Jun 11, 2020
Kids' books with Black protagonists
View Kids Books with Black

Note: Most of these are applicable to the ages older than I have listed, but I've put them where they were when my kids first started really enjoying them.

Infants (0-2ish?)

  • Shades of People
  • Peekaboo Morning and Peekaboo Bedtime

Really, anything in the "toddlers" section will be fine for these kids. But there aren't a ton of baby-focused books I know.

Toddlers (3-4 or 3-5ish?)

  • Sulwe
mattstauffer / example.html
Created Mar 3, 2020
Example of logging Laravel Livewiure component state
View example.html
<script src="{{ asset('js/app.js') }}"></script>
let logComponentsData = function () {
window.livewire.components.components().forEach(component => {
document.addEventListener("livewire:load", function(event) {
mattstauffer / 24days-theme-modification.css
Created Nov 13, 2019
Modification to the theme is using to make it more accessible
View 24days-theme-modification.css
.entry-meta {
color: #716868;
.entry-meta a {
color: #716868;
/* Page title */
mattstauffer / locales.json
Created Nov 8, 2019
A listing of the locales available on my Mac computer as of 2019-11-08
View locales.json
mattstauffer / navigation.php
Last active Jan 24, 2019
Possible structure for tailwind nav
View navigation.php
return [
'Installation' => [
'Installation' => 'installation',
'Configuration' => 'configuration',
'Colors' => 'colors',
'Responsive Design' => 'responsive-design',
'Adding New Utilities' => 'adding-new-utilities',
'Extracting Components' => 'extracting-components',