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
@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'
@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
sleep 1m
sudo snap refresh && sudo apt -y update && sudo apt -y upgrade && sudo apt -y dist-upgrade
apt install -y docker.io
" 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'
apt update -y && apt install fish -y && fish && apt install wget ping ping6 vim -y
// set the debug output to none if the debug mode is not set
if (document.cookie.indexOf("DebugMode042003") == -1) {
console.debug = () => {};
}
// ____ __________ __ ________
// / __ \/ ____/ __ )/ / / / ____/
// / / / / __/ / __ / / / / / __
// / /_/ / /___/ /_/ / /_/ / /_/ /
// /_____/_____/_____/\____/\____/
// ##### REMOVE BEFORE COMMIT #######
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
echo "start init script"
sudo apt -y update && sudo apt -y full-upgrade && sudo snap refresh kakoune
apt install -y curl git llvm gcc rustc libclang-dev libssl-dev clang pkg-config
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
echo "PATH=\$PATH:\$HOME/.cargo/env" >> ~/.bashrc
ssh-keygen
cat ~/.ssh/id_rsa.pub
echo "finished init script"
@i5heu
i5heu / ipfs-linux-iso-collection.md
Last active October 9, 2021 06:52
ipfs linux .iso collection
file ipfs hash
debian-10.4.0-amd64-netinst.iso QmSQXa22nRKddx4cojKHpco8du1bBdk3dzDZ5QK2WHjtQY
ubuntu-20.04-live-server-amd64.iso QmXknmssT6gef1tyTxXAtTMuHyE1bid3Thhq5ooRGAt6if
archlinux-2020.05.01-x86_64.iso QmbCNtXFfA2cKvQ5Ncnh3s9ZscdvqA1eZCPUB1qiU4ZuSk
debian-10.4.0-amd64-xfce-CD-1.iso QmaQmb4j9XMVFXv574FpTwnz4R8fLRqPfucd8Mz8c93Qyt
latest-nixos-plasma5-x86_64-linux.iso QmXyRpSxdd67Yo2m4sRTnf8McFy7yPjUN5knonyJPjpq24
tails-amd64-4.6.img QmP5pf2vUEKG3dxAJdfhj4TaoecrZCRQnVQxsk4j7xaxrX
ubuntu-20.04-desktop-amd64.iso QmY7nvn8BLJ8pNCQv1fK31YgfqdXtcMUaf3jqd5ap5ZJMW