Skip to content

Instantly share code, notes, and snippets.

View davidgoldcode's full-sized avatar
👋
yoooooooo

David davidgoldcode

👋
yoooooooo
View GitHub Profile
@davidgoldcode
davidgoldcode / tmux split-window subcommand.md
Created May 17, 2022 12:33 — forked from sdondley/tmux split-window subcommand.md
Super Guide to the split-window tmux Subcommand (and Beyond)

Super Guide to the split-window tmux Subcommand (and Beyond)

Guide overview

tmux, like other great software, is deceptive. On the one hand, it's fairly easy to get set up and start using right away. On the other hand, it's difficult to take advantage of tmux's adanced power features without spending some quality alone time with the manual. But the problem with manuals is that they aren't geared toward beginners. They are geared toward helping seasoned developers and computer enthusiasts quickly obtain the

@davidgoldcode
davidgoldcode / github-search-cheatsheet.md
Created May 6, 2022 21:18 — forked from bonniss/github-search-cheatsheet.md
Github search cheatsheet from official docs.

Github Search Cheat Sheet

GitHub’s search supports a variety of different operations. Here’s a quick cheat sheet for some of the common searches.

For more information, visit our search help section.

Basic search

diff --git a/.rubocop.yml b/.rubocop.yml
index e6d9b809b1..7320073fe0 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -121,13 +121,80 @@ Style/ConditionalAssignment:
Enabled: false
Layout/ArrayAlignment:
- Enabled: false
+ Enabled: true

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