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
#!/bin/bash | |
# Usage: | |
# | |
# bash play-books-epub-fixer.sh "./path/to/book.epub" | |
# | |
# This will rename the original epub to "./path/to/book_original.epub". You must have calibre installed for this to work: | |
# | |
# apt get calibre | |
# | |
# The EPUB is fixed in 3 steps: |
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
#!/bin/bash | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" | |
exit 1 | |
fi | |
# Create user if needed | |
id -u minecraft &> /dev/null | |
if [ $? -eq 1 ]; then | |
echo "Initial setup" |
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
root: true | |
parser: vue-eslint-parser | |
parserOptions: | |
parser: '@typescript-eslint/parser' | |
sourceType: module | |
plugins: | |
- '@typescript-eslint' | |
- only-warn | |
extends: | |
- eslint:recommended |
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
singleQuote: true | |
trailingComma: all | |
endOfLine: lf | |
printWidth: 80 | |
tabWidth: 2 | |
vueIndentScriptAndStyle: false |
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
# ~/.oh-my-zsh/custom/themes/aklinker1.zsh-theme | |
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[white]%}(" | |
ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY="*" | |
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[green]%}*" | |
ZSH_THEME_GIT_PROMPT_CLEAN="" | |
PROMPT='%{$fg_bold[green]%}%n%{$reset_color%}:%{$fg_bold[blue]%}/%1~%{$reset_color%}$(git_prompt_info)%{$reset_color%} $ ' |
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
# Oh My ZSH Config | |
export ZSH=$HOME/.oh-my-zsh | |
ZSH_THEME="aklinker1" | |
HYPHEN_INSENSITIVE="true" | |
DISABLE_UPDATE_PROMPT="true" | |
ENABLE_CORRECTION="true" | |
COMPLETION_WAITING_DOTS="true" | |
source $ZSH/oh-my-zsh.sh | |
# Custom Syntax Highlighting colors |