Skip to content

Instantly share code, notes, and snippets.

View Ch4ni's full-sized avatar

Ada Ch4ni

View GitHub Profile

ZSH CheatSheet

This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.

Strings

Description Syntax
Get the length of a string ${#VARNAME}
Get a single character ${VARNAME[index]}
@Urthen
Urthen / zendevelopment.md
Last active July 25, 2022 17:51
Guidelines for Zen Development

Written by Michael Pratt - Inspired by The Codeless Code

Guidelines for Zen Development

These aren't rules, merely guidelines. The order isn't meant to imply a ranking of importance. Some conflict with each other - this is not a defect, but a reminder that developers often have conflicting requirements. It is up to you to determine how to compromise.

  1. Minimize magic.
  2. A clever solution is not always a good one.
  3. A popular solution is not always the best one.