Updated files

This commit is contained in:
Sebastian 2024-05-21 17:49:10 +02:00
parent ed4e836b34
commit b1672ea3c3
3 changed files with 12 additions and 6 deletions

2
OSX/helpful_stuff.md Normal file
View file

@ -0,0 +1,2 @@
# If Applications crash without any warning or reason
codesign --deep --remove-signature "App path"

View file

@ -1,11 +1,11 @@
# Add non-free repository:
wget -qO - https://ftp-master.debian.org/keys/archive-key-10.asc | sudo apt-key add -
echo deb http://deb.debian.org/debian bullseye main contrib non-free | sudo tee -a /etc/apt/sources.list
#wget -qO - https://ftp-master.debian.org/keys/archive-key-10.asc | sudo apt-key add -
#echo deb http://deb.debian.org/debian bullseye main contrib non-free | sudo tee -a /etc/apt/sources.list
apt-get update
apt-get upgrade
apt-get install python3 vim-nox tmux nano zsh git autossh mosh sshuttle fail2ban avahi-daemon ufw lynx npm apticron tidy nmon python3-pip printer-driver-gutenprint htop ncdu python3-venv unrar par2 ack
apt-get install python3 vim-nox tmux nano zsh git autossh mosh sshuttle fail2ban avahi-daemon ufw lynx npm ssmtp apticron tidy nmon python3-pip printer-driver-gutenprint htop ncdu python3-venv unrar par2 ack restic
ufw allow ssh
@ -17,6 +17,8 @@ pip3 install requests bs4 prospector black isort
npm install -g jsonlint
npm install -g fixjson
# Set zsh as default shell:
chsh -s /bin/zsh
# cups remote administration:

View file

@ -59,7 +59,7 @@ Plug 'ap/vim-css-color'
Plug 'keith/swift.vim'
" Latex, I guess? Have to check if I actually need this.
Plug 'LaTeX-Box-Team/LaTeX-Box'
" Plug 'LaTeX-Box-Team/LaTeX-Box'
" I use it as my snippet manager, but it is actually for HTML.
Plug 'mattn/emmet-vim'
@ -311,17 +311,18 @@ let g:SuperTabDefaultCompletionType = "<c-n>"
let g:airline#extensions#tabline#enabled = 1 " Show buffers as tabs
" ale settings
let g:ale_linters = {'python': ['flake8', 'mypy', 'pylint', 'prospector']}
let g:ale_linters = {'python': ['flake8', 'mypy', 'pylint', 'prospector'],
\'cpp': ['cc', 'gcc', 'clang']}
let g:ale_fixers = {'python': ['isort', 'black'],
\'json': ['fixjson'],
\'html': ['html-beautify', 'tidy'],
\'htmldjango': ['html-beautify', 'tidy'],
\'xml': ['xmllint'],
\'java': ['uncrustify'],
\'javascript': ['eslint', 'prettier', 'xo', 'standard'],
\'tex': ['latexindent']}
" \'htmldjango': ['html-beautify', 'tidy'],
" Run ALEFix shortcut
nnoremap <leader>f :ALEFix<CR>
@ -387,6 +388,7 @@ let g:coc_global_extensions = [
\"coc-git",
\"coc-tsserver",
\"coc-html",
\"coc-clangd",
\"coc-css",
\"coc-htmldjango",
\"coc-jedi",