Skip to content

Instantly share code, notes, and snippets.

View Nicocchi's full-sized avatar
:shipit:
Stealing treasures

にこっち Nicocchi

:shipit:
Stealing treasures
View GitHub Profile
@Nicocchi
Nicocchi / init.vim
Last active October 13, 2021 16:55
vim configuration file
" curl -fLO $HOME/.config/nvim/autoload/plug.vim --create-dirs \
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
" Install vim-plug if it doesn't installed yet
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
" autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
@Nicocchi
Nicocchi / luks-encrypt.sh
Last active August 24, 2022 11:07
A simple shell to mount, unmount and view status of LUKS disk encryption based parition under Linux.
#!/bin/bash
#
# A simple shell to mount, unmount and view status of disk encryption based
# parition under Linux.
# Tested on Debian, Fedora, and Arch base desktops.
# ----------------------------------------------------------------------------
# Author: Nicocchi
# (c) 2019 Jeremy Boggs under GNU GPL v2.0+
# ----------------------------------------------------------------------------
# Last updated: 01/20/2019