Skip to content

Instantly share code, notes, and snippets.

View michaelschapira's full-sized avatar

Michael Schapira michaelschapira

View GitHub Profile
@michaelschapira
michaelschapira / scplit yaml
Created October 29, 2021 16:49
split mulit-yaml document file into individual files
csplit -z -f crd- --suffix-format='%03d.yaml' output.yaml /---/ '{*}'
@michaelschapira
michaelschapira / tmux.conf.txt
Created September 25, 2021 15:08
TMUX Configuration
#set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g history-limit 40000
set -g base-index 1
# Prompt for window name upon creating a new window, Prefix + C (capital C):
bind-key C command-prompt -p "Name of new window: " "new-window -n '%%'"
# Vi copypaste mode
set-window-option -g mode-keys vi
@michaelschapira
michaelschapira / zshrc.txt
Last active September 25, 2021 15:06
.zshrc
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
### Keybase proof
I hereby claim:
* I am michaelschapira on github.
* I am michaelschapira (https://keybase.io/michaelschapira) on keybase.
* I have a public key ASDVES4uy5NmdRA__pKju0BTixsFVYfIh2VnCDiUowOHFQo
To claim this, I am signing this object: