Open in app

Sign In

Write

Sign In

Ryan Todd Garza
Ryan Todd Garza

14 Followers

Home

About

Published in JavaScript in Plain English

·Apr 20, 2021

Bootstrap Client-Side Git Hooks for Version Control

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…

Git

2 min read

Bootstrap Client-Side Git Hooks for Version Control
Bootstrap Client-Side Git Hooks for Version Control
Git

2 min read


Published in JavaScript in Plain English

·Jan 17, 2021

Cleaner JavaScript with Destructuring

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…

JavaScript

6 min read

Cleaner JavaScript with Destructuring
Cleaner JavaScript with Destructuring
JavaScript

6 min read


Jan 4, 2021

Vertical Rhythm for styled-components

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.

Programming

2 min read

Vertical Rhythm for styled-components
Vertical Rhythm for styled-components
Programming

2 min read


Nov 17, 2020

Vim Fuzzy Find Files Without Plugins

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…

Vim

3 min read

Vim Fuzzy Find Files Without Plugins
Vim Fuzzy Find Files Without Plugins
Vim

3 min read


Nov 8, 2020

Aliases You Didn’t Know You Wanted: Options `-iv`

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…

Terminal

4 min read

Aliases You Didn’t Know You Wanted: Options `-iv`
Aliases You Didn’t Know You Wanted: Options `-iv`
Terminal

4 min read


Oct 2, 2020

A Better Zsh History, pt. 2

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. …

Zsh

3 min read

A Better Zsh History, pt. 2
A Better Zsh History, pt. 2
Zsh

3 min read


Oct 2, 2020

A Better Zsh History, pt. 1

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…

Zsh

2 min read

A Better Zsh History, pt. 1
A Better Zsh History, pt. 1
Zsh

2 min read

Ryan Todd Garza

Ryan Todd Garza

14 Followers

Software engineer — make stuff

Following
  • Eric Elliott

    Eric Elliott

  • PRISM

    PRISM

  • Lucy Mitchell

    Lucy Mitchell

  • Sunil Sandhu

    Sunil Sandhu

  • Eliza Pertigkiozoglou

    Eliza Pertigkiozoglou

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech