Skip to content

Instantly share code, notes, and snippets.

View i5heu's full-sized avatar
🌈
Keep coding!

Mia Heidenstedt i5heu

🌈
Keep coding!
View GitHub Profile
certbot certonly --standalone -d im.openlibre.org
service nginx stop
rm /etc/ejabberd/ejabberd.pem
#cat /etc/letsencrypt/live/im.openlibre.org/fullchain.pem /etc/letsencrypt/live/im.openlibre.org/privkey.pem >> /etc/ejabberd/ejabberd.pem
cat /etc/letsencrypt/live/im.openlibre.org/cert.pem /etc/letsencrypt/live/im.openlibre.org/chain.pem /etc/letsencrypt/live/im.openlibre.org/privkey.pem > /etc/ejabberd/ejabberd.pem
chown ejabberd /etc/ejabberd/ejabberd.pem
service nginx start
service ejabberd restart
// ____ __________ __ ________
// / __ \/ ____/ __ )/ / / / ____/
// / / / / __/ / __ / / / / / __
// / /_/ / /___/ /_/ / /_/ / /_/ /
// /_____/_____/_____/\____/\____/
// ##### REMOVE BEFORE COMMIT #######
// set the debug output to none if the debug mode is not set
if (document.cookie.indexOf("DebugMode042003") == -1) {
console.debug = () => {};
}
apt update -y && apt install fish -y && fish && apt install wget ping ping6 vim -y
" if hidden is not set, TextEdit might fail.
set hidden
" Some servers have issues with backup files, see #649
set nobackup
set nowritebackup
call plug#begin('~/.vim/plugged')
Plug 'neoclide/coc.nvim', {'do': { -> coc#util#install()}}
Plug 'yggdroot/indentline'
sleep 1m
sudo snap refresh && sudo apt -y update && sudo apt -y upgrade && sudo apt -y dist-upgrade
apt install -y docker.io
@i5heu
i5heu / init.vim
Last active August 31, 2018 09:47
NeoVim
"NeoBundle Scripts-----------------------------
if has('vim_starting')
" Required:
set runtimepath+=/home/marvin/.config/nvim/bundle/neobundle.vim/
endif
" Required:
call neobundle#begin(expand('/home/marvin/.config/nvim/bundle'))
" Let NeoBundle manage NeoBundle
@i5heu
i5heu / vim.rc
Last active June 12, 2018 09:56
i5heu's vimrc
" Plugins will be downloaded under the specified directory.
call plug#begin('~/.vim/plugged')
" Declare the list of plugins.
Plug 'tpope/vim-sensible'
Plug 'junegunn/seoul256.vim'
Plug 'lifepillar/vim-mucomplete'
Plug 'scrooloose/nerdtree'
Plug 'vim-airline/vim-airline'
Plug 'nathanaelkane/vim-indent-guides'