From b1672ea3c3b701ab1be55970cbaa7760a2299c64 Mon Sep 17 00:00:00 2001 From: Sebastian Burschel Date: Tue, 21 May 2024 17:49:10 +0200 Subject: [PATCH] Updated files --- OSX/helpful_stuff.md | 2 ++ Raspberry Pi/first_install.sh | 8 +++++--- dotfiles/.vimrc | 8 +++++--- 3 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 OSX/helpful_stuff.md diff --git a/OSX/helpful_stuff.md b/OSX/helpful_stuff.md new file mode 100644 index 0000000..228c2be --- /dev/null +++ b/OSX/helpful_stuff.md @@ -0,0 +1,2 @@ +# If Applications crash without any warning or reason +codesign --deep --remove-signature "App path" \ No newline at end of file diff --git a/Raspberry Pi/first_install.sh b/Raspberry Pi/first_install.sh index 3a20683..e07a424 100644 --- a/Raspberry Pi/first_install.sh +++ b/Raspberry Pi/first_install.sh @@ -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: diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index 062dc6f..47b023e 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -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 = "" 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 f :ALEFix @@ -387,6 +388,7 @@ let g:coc_global_extensions = [ \"coc-git", \"coc-tsserver", \"coc-html", + \"coc-clangd", \"coc-css", \"coc-htmldjango", \"coc-jedi",