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
| # Boot into Live CD/USB | |
| # Use UK keyboard | |
| loadkeys uk | |
| # Check partitions available | |
| fdisk -l | |
| # Use fdisk to format partitions | |
| # o to overwrite the disk | |
| # n to create new partition |
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
| parse_git_branch() { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/' | |
| } | |
| show_git_branch() { | |
| if [ ! -z "$(parse_git_branch)" ]; then | |
| echo -e "\001\033[48;5;8;38;5;4m\002\ue0b0\001\033[0m\002\001\033[0;48;5;8m\002 \uf418 $(parse_git_branch) \001\033[0m\002\001\033[0;38;5;8m\002\ue0b0\001\033[0m\002 " | |
| else | |
| echo -e "\001\033[38;5;4m\002\ue0b0\001\033[0m\002 " | |
| fi |
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
| import { BrowserModule } from '@angular/platform-browser'; | |
| import { NgModule } from '@angular/core'; | |
| import { AppComponent } from './app.component'; | |
| //Angular Material Components | |
| import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; | |
| import {MatCheckboxModule} from '@angular/material'; | |
| import {MatButtonModule} from '@angular/material'; |
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
| precmd_functions=("_exit_status" ${precmd_functions[@]}) | |
| function _exit_status() { | |
| local last_exit_status=$? | |
| export last_exit="" | |
| if [ -z "${last_exit_status}" ]; then | |
| last_exit="" | |
| elif (( last_exit_status != 0 )); then | |
| local description |