This file contains hidden or 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
# This workflow will build a Java project with Gradle and deploy it on server | |
# deploy.sh will take the given parameters and perform the necessary operations, deploy.sh runs `docker-compose pull` and `docker-compose up -d` | |
name: Java CI with Gradle | |
on: | |
push: | |
branches: [ master ] |
This file contains hidden or 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
# Homebrew and Cask | |
Install the XCode command line tools by running `xcode-select --install` in the terminal. | |
Install Homebrew by following the instructions on the [homebrew website](http://brew.sh). | |
Install Cask by following the instructions on the [cask website](https://caskroom.github.io). | |
# Applications |
This file contains hidden or 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/robbyrussell/oh-my-zsh/wiki/Themes |
This file contains hidden or 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
load_file_if_exists "$HOME/.aliases" | |
#setopt emacs | |
if [[ "$OSTYPE" = darwin* ]] ; then | |
setopt inc_append_history hist_ignore_all_dups hist_ignore_dups hist_allow_clobber hist_reduce_blanks share_history autocd beep extendedglob | |
fi | |
#setopt auto_list list_ambiguous | |
if [[ "$OSTYPE" = darwin* ]] ; then |
This file contains hidden or 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
alias path='echo -e ${PATH//:/\\n}' | |
alias vi="vim" | |
alias ping="prettyping --nolegend" | |
alias less="less -S" | |
alias cat='bat' | |
alias top='htop' | |
alias du="ncdu --color dark -rr -x --exclude .git --exclude .svn --exclude .asdf --exclude node_modules" | |
# Git commands | |
alias st="git st" |