Skip to content

Instantly share code, notes, and snippets.

View bitcoinv3's full-sized avatar

animal bitcoinv3

View GitHub Profile
@bitcoinv3
bitcoinv3 / .screenrc
Last active April 24, 2022 10:48
.screenrc (~/.screenrc)
autodetach on
startup_message off
hardstatus alwayslastline
shelltitle 'zsh'
hardstatus string '%{gk}[%{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= w}%?%+Lw%?%? %{g}][%{d}%l%{g}][ %{= w}%Y/%m/%d %0C:%s%a%{g} ]%{W}'
@bitcoinv3
bitcoinv3 / .zshrc
Last active April 24, 2022 10:48
.zshrc (~/.zshrc)
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
@bitcoinv3
bitcoinv3 / init.vim
Created April 23, 2022 09:04
neovim init (~/.config/nvim/init.vim)
"" vim-plug
" vim-plug auto-install if src not found.
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
if empty(glob(data_dir . '/autoload/plug.vim'))
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
@bitcoinv3
bitcoinv3 / ubuntu-startup.md
Last active April 24, 2022 10:48
ubuntu 20.04 lts cloud startup

start it up

initial server config ubuntu 20.04 lts

ufw allow OpenSSH
ufw enable
adduser keaton
usermod -aG sudo keaton