This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' | |
services: | |
app: | |
build: | |
context: . | |
dockerfile: Dockerfile | |
args: | |
- WITH_XDEBUG=true | |
env_file: .env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The following process was made for MacOS and some commands might not work in a different OS! | |
### Requirements: ### | |
- GIT | |
### Commands ### | |
# Brew and ZSH | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
brew install zsh neovim pre-commit postman kubernetes-cli helm tfenv openlens awscli visual-studio-code drawio fly fzf cheatsheet git-crypt gpg-suite nmap thefuck asdf pygments dive gum metasploit owasp-zap gh | |
yes | /opt/homebrew/opt/fzf/install # Fzf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Zshbase alias | |
alias zshconfig="code ~/.zshrc" | |
alias zshreload="source ~/.zshrc" | |
alias aliasconfig="code ~/.aliases" | |
alias zrl="source ~/.zshrc; source ~/.aliases" | |
# Other aliases | |
alias please="sudo !!" | |
alias ggclean='git branch --merged | egrep -v "(^\*|master)" | xargs git branch -d' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
touch ${HOME}/.hushlogin | |
sudo -v | |
sudo apt-get update && sudo apt-get upgrade -y | |
### Brew ### | |
yes | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
(echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> ${HOME}/.profile | |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" |