Zero dependency package.json scripts

There are lots of great primers on Git hooks out there, so if you’re new to the concept, take a little time to get comfortable first—we’ll get straight to the point here.

By default, Git stores client-side hooks in .git/hooks which is outside of version control. While packages like Husky

First of all, I’m a little upset it has taken me this long to realize that destructuring is so awesome! I find myself using it more and more for basic tasks on arrays and objects like unpacking, unnecessarily verbose tasks like assigning defaults, or giving data semantic meaning by assigning…

Simple implementation of typographical vertical rhythm for styled-components that is flexible and modular.

Usage

Import options

Use the default export as a base for global styles.

import { createGlobalStyle } from 'styled-components';
import typography from '@styles/typography'; // replace path

const GlobalStyle = createGlobalStyle`
${typography}
`;

Use module exports for granulated element styling.

Attempting to stick to an ethos of understanding my tools, I try to take my vim configuration as far as possible before reaching for a plugin. Not that plugins are bad. In fact, there are some that I’d have a hard time living without (thanks to Tim Pope). But in…

Today we’ll look at aliasing two options, -i and -v, to three common Unix commands, cp, mv, and rm.

TL;DR

Add the following lines to the file where you keep your aliases:

alias cp="cp -iv"
alias mv="mv -iv"
alias rm="rm -iv"

Be sure to source the file into an existing session…

Configuration options

Previous: Part 1 — Setup

In part one we did some basic setup to get the history mechanism working in Zsh. In this article we will explore a few options to customize the Zsh environment using setopt in the .zshrc. …

Configuration setup

Next: Part 2 — Options

I recently combed through the dot (hidden) files in my mac’s home directory and was shocked to see just how polluted it had become. Now I know that there is no real downside to leaving these files where they were, but as I prefer to…

Ryan Todd Garza

Principal software engineer — make stuff

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store