Skip to content

Instantly share code, notes, and snippets.


Scott Zirkel scottzirkel

View GitHub Profile
scottzirkel / gallery.vue
Created Sep 3, 2019
Very simple gallery lightbox
View gallery.vue
scottzirkel /
Created Jun 14, 2019
A sample draft chapter from a book I'm working on.

Random Chapter

or The One Where She Goes to the Bar

Author's Note: The following is a sample chapter from the book I am currently working on. It's in a very rough form and this chapter currently exists on its own. I haven't written any of the scenes before or after this, save the prologue, epilogue and a smattering of the first chapter. As I was constructing my outline, this scene popped into my head, quite fully realized. As it is very much a stand-alone scene, I thought I'd share it with the world, just to see what came of it. Love it or hate it, please leave me a comment letting me know what you thought and why you thought it. I do hope you enjoy it, and if so, please lay on the applause.

This article was originally published on Medium on January 18, 2018.

Callie ran down the street to her right, trying to catch her breath. This town was nothing like home

scottzirkel /
Created Jun 14, 2019
My thoughts on Tailwind CSS after using it on client work for a year

A Year With Tailwind

This article was originally written on Medium and published on November 6, 2019.

A year-ish ago I started using Tailwind CSS from Adam Wathan. If you haven't heard of it, you might want to check out my previous post, A Week With Tailwind in which I cover my first week with Tailwind. I'm not good at naming things.

Tailwind CSS Logo

Now that it's been out a year, I figured I'd do a follow up post and let everyone know that, yes, I'm still using Tailwind. It has found its way into every project we do here at Alara. It doesn't matter if it's a simple Statamic brochure site or a

scottzirkel / .hyper.js
Last active Sep 25, 2017
Hyper Settings
View .hyper.js
module.exports = {
config: {
updateChannel: 'stable',
fontSize: 13,
fontFamily: '"Source Code Pro", Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
cursorColor: 'hsl(12, 100%, 61%)',
cursorShape: 'BLOCK',
cursorBlink: false,
foregroundColor: 'hsl(0, 33%, 90%)',
backgroundColor: 'hsl(45, 5%, 16%)',
scottzirkel / States.php
Last active Jan 4, 2019
State helper for php & Laravel
View States.php
namespace App\Http\Utilities;
class State
protected static $states = [
View Country.php
namespace App\Http\Utilities;
class Country
protected static $countries = [
"United States" => "us",
"Afghanistan" => "af",
"Albania" => "al",
"Algeria" => "dz",
View states.json
"Alabama" : "AL",
"Alaska" : "AK",
"Arizona" : "AZ",
"Arkansas" : "AR",
"California" : "CA",
"Colorado" : "CO",
"Connecticut" : "CT",
"Delaware" : "DE",
"District of Columbia" : "DC",
scottzirkel / PagesController.php
Created Oct 5, 2016
Lumen/Laravel Pages Controller
View PagesController.php
namespace App\Http\Controllers;
class PagesController extends Controller
public function page($page)
if (file_exists('../resources/views/templates/' . $page . '.blade.php'))
return view('templates/' . $page);

Keybase proof

I hereby claim:

  • I am scottzirkel on github.
  • I am scottzirkel ( on keybase.
  • I have a public key ASCE3nxuKwJltQWL2zyvaiNBhPkUQcLvWVXcuf16pd0iXwo

To claim this, I am signing this object:

scottzirkel / .zshrc
Created May 2, 2016
Make directory then CD in
View .zshrc
function mkcd {
if [ ! -n "$1" ]; then
echo "Enter a directory name"
elif [ -d $1 ]; then
echo "\`$1' already exists"
mkdir $1 && cd $1