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
| ####GIT | |
| # Add in ~/.bashrc or ~/.bash_profile | |
| # apply with 'source ~/.bashrc' | |
| function parse_git_branch () { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
| } | |
| RED="\[\033[01;31m\]" | |
| YELLOW="\[\033[01;33m\]" |
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
| df | |
| sudo umount /dev/<your device> #from previous command | |
| sudo dd bs=4M if=~/Downloads/ubuntu-18.04.2-live-server-amd64.iso of=/dev/<your device> status=progress oflag=sync |