Skip to content

Instantly share code, notes, and snippets.

@B1-Bloom
B1-Bloom / DCB64.js
Last active February 11, 2024 20:57
DCB.64
// ==UserScript==
// @name Auto Decoder for all sites
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Decode Base64 encoded links for all sites
// @author Coder
// @match *://**/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=reddit.com
// @grant none
// @license MIT

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]}