(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| %ANDROID_HOME%\emulator | |
| %ANDROID_HOME%\tools | |
| %ANDROID_HOME%\tools\bin | |
| %ANDROID_HOME%\platform-tools |
| [alias] | |
| c = !git add . && git commit -m | |
| s = status #!git status -s | |
| l = !git log --graph --pretty=format:'%C(blue)%h%C(red)%d %C(white)%s - %C(c> | |
| lp = !git log --graph --first-parent --oneline #--pretty=format:'%C(blue)%h%> | |
| t = !sh -c 'git add -a $1 -m $1' - | |
| count = !git shortlog -s --grep | |
| ammend = !git add --all & git commit --amend --no-edit | |
| lg = log --oneline --graph | |
| log = log --oneline --graph |
| # https://askubuntu.com/questions/344339/how-do-i-convert-epub-to-mobi-using-calibre | |
| for book in *.epub; do echo "Converting $book"; ebook-convert "$book" "$(basename "$book" .epub).mobi"; done |
| # source: https://computingforgeeks.com/how-to-install-terraform-on-fedora/ | |
| if ! command -v curl &> /dev/null || ! command -v wget &> /dev/null || ! command -v unzip &> /dev/null | |
| then | |
| echo "Please install curl, wget and unzip." | |
| exit | |
| fi | |
| TER_VER=`curl -s https://api.github.com/repos/hashicorp/terraform/releases/latest | grep tag_name | cut -d: -f2 | tr -d \"\,\v | awk '{$1=$1};1'` | |
| echo "Installing terraform ($TER_VER)..." | |
| wget https://releases.hashicorp.com/terraform/${TER_VER}/terraform_${TER_VER}_linux_amd64.zip |
| # sudo apt install zsh -y | |
| # chsh -s $(which zsh) | |
| # sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
| alias cls="clear" | |
| export ZSH="$HOME/.oh-my-zsh" | |
| export PATH="$HOME/bin:$PATH" | |
| plugins=( | |
| git | |
| ) |
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| export ANDROID_HOME=~/Android/Sdk | |
| export PATH="$PATH:$ANDROID_HOME/tools" | |
| export PATH="$PATH:$ANDROID_HOME/platform-tools" | |
| # Path to your oh-my-zsh installation. | |
| export ZSH="/Users/diegofernandes/.oh-my-zsh" | |
| export PATH="$PATH:/usr/local/bin" |
| version: '3' | |
| services: | |
| wordpress: | |
| depends_on: | |
| - db | |
| image: wordpress:latest | |
| restart: always | |
| volumes: | |
| - ./wp-content:/var/www/html/wp-content | |
| environment: |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.