Skip to content

Instantly share code, notes, and snippets.

View nirvanadev's full-sized avatar

Keith Williams nirvanadev

View GitHub Profile
@nirvanadev
nirvanadev / init.vim
Created November 15, 2022 16:11
NeoVim Config 2022
call plug#begin('~/.vim/plugged')
" File Tree
Plug 'preservim/nerdtree'
" File Searching
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
" Intellisense
@nirvanadev
nirvanadev / rsa_sha1_fix_for_openssh9.md
Created April 22, 2022 18:05
How to use RSA Algorithm with OpenSSH v9+

General

RSA Algorithm is depracted in latest versions of OpenSSH. To use Pubkeys with remote systems that haven't upgraded you need to add the two lines as shown below to hosts in your config.

Host *.ssh.wpengine.net
  HostkeyAlgorithms +ssh-rsa
  PubkeyAcceptedKeyTypes +ssh-rsa
@nirvanadev
nirvanadev / wsl2_local_dev_stack.md
Last active January 20, 2022 14:32
WSL2 Local Dev Stack

WSL2 Local Dev Stack

Description

This is my local dev stack for the Windows Subsystem for Linux (WSL2). The stack consists of NGiNX, PHP7.4-fpm, and MariaDB. Additional tools and setup include: wp-cli, nvm (node version manager), SSL Certificates, and WindowsTerminal

Installation

WSL

First, you need to get WSL2 installed and activated. See here.

WindowsTerminal