Skip to content

Instantly share code, notes, and snippets.

View jeffsharpe's full-sized avatar

Jeff Sharpe jeffsharpe

  • Vancouver, BC, CA
View GitHub Profile
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
"profiles":
@jeffsharpe
jeffsharpe / arch-install-gpt-luks_on_lvm.sh
Created October 22, 2015 19:26
Arch Linux Installation Notes - GPT LUKS on LVM (multiple drives)
# # boot to arch linux boot prompt
# installation
# setup networking
ping -c 3 www.google.ca
# eth connections just work or me, so…
wifi-menu # select and log in
ping -c 3 www.google.ca
@jeffsharpe
jeffsharpe / arch-install-gpt-lvm_on_luks.sh
Last active November 13, 2015 01:05
Arch Linux Installation Notes - GPT LVM on LUKS (single drive)
### Arch Linux Installation Notes
### GPT LVM on LUKS (single drive)
###
### These are my personal notes to install Arch. Its not a script, but step by step instructions. If using
### please be aware that every step should be considered before applying, to personalize your
### installations appropriately.
###
# installation
@jeffsharpe
jeffsharpe / arch-install-uefi-gpt-lvm_on_luks.sh
Last active July 28, 2022 20:15
Arch Linux Installation Notes - UEFI GPT LVM on LUKS (single drive)
### Arch Linux Installation Notes
### UEFI GPT LVM on LUKS (single drive)
###
### These are my personal notes to install Arch. Its not a script, but step by step instructions. If using
### please be aware that every step should be considered before applying, to personalize your
### installations appropriately.
###
# boot to arch linux boot prompt
@jeffsharpe
jeffsharpe / .gvimrc
Created June 5, 2015 23:31
Graphical vim configuration file .gvimrc - 20150605
" GUI mode
if has('macunix')
set guifont=Monaco:h13
set fuoptions=maxvert,maxhorz
elseif has('unix')
set guifont=Inconsolata\ Medium\ 12
endif
" set guioptions=aAce
@jeffsharpe
jeffsharpe / wow-create-links-osx.sh
Created June 5, 2015 23:29
Script to create wow links on OSX - 20150605
@jeffsharpe
jeffsharpe / create-wow-links-windows.cmd
Created November 6, 2014 18:41
Keep your WoW WTF and AddOn folders in Dropbox with links.
@jeffsharpe
jeffsharpe / clean-arch.sh
Created October 8, 2014 04:05
clean-arch.sh
#!/bin/bash
# tar -cjf pacman-database.tar.bz2 /var/lib/pacman/local
sudo pacman --noconfirm -Rscn $(pacman -Qtdq)
sudo pacman --noconfirm -Sc
sudo pacman-optimize
sudo sync
if [ -x "/usr/bin/updatedb" ]; then
sudo updatedb
@jeffsharpe
jeffsharpe / update-service-vim.sh
Created October 8, 2014 04:03
update-service-vim.sh
#!/usr/bin/env bash
mkdir -p ~/.dotfiles/vim
cd $HOME/.dotfiles/vim
# if this was the first time ran, you will probably need vundle installed
if [ ! -d "$HOME/.dotfiles/vim/bundle" ]; then
mkdir -p ~/.dotfiles/vim/bundle
git clone https://github.com/gmarik/vundle.git ~/.dotfiles/vim/bundle/vundle
@jeffsharpe
jeffsharpe / arch-luks-on-lvm.sh
Last active August 29, 2015 14:07
arch-luks-on-lvm.sh
#
# Using LUKS on LVM is different than LVM on LUKS
#
# idea is to create the root encrypted system, then use a password file to mount the others
# so for the initial install, do this instead of the above
#
# load this module
modprobe dm-mod
#
pvcreate /dev/sda3