Skip to content

Instantly share code, notes, and snippets.

View BillyHilly's full-sized avatar

Billy Hill BillyHilly

View GitHub Profile
If you are connected to the Linux machine, in this case a Raspberry Pi running Raspbian (debian linux) with a terminal window or via ssh use `fdisk` to view and recreate the external hard drive partitions.
##make sure you are `root` ( `su - root` or `sudo -s` gets the job done)
`sudo -s fdisk /dev/sda`
while in fdisk you can verify the partitions with the the `p` command
```
Command (m for help): p
Disk /dev/sda: xxx GB, xxx bytes
```
@BillyHilly
BillyHilly / vimrc.txt
Created November 14, 2018 15:47
VIM .vimrc settings
" Enable pathogen
execute pathogen#infect()
" Custom VIM Config
" " SRC: https://github.com/mcgheee/MyDotFiles/blob/master/.vimrc
" Enable syntax highlighting
syntax on
" Enable filetype plugins
@BillyHilly
BillyHilly / vim__pathogen.txt
Last active November 14, 2018 15:47
VIM Pathogen settings
" pathogen.vim - path option manipulation
" Maintainer: Tim Pope <http://tpo.pe/>
" Version: 2.4
" SRC: https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim
" EASY INSTALL:
" * cd ~/.vim
" * mkdir autoload
" * cd autoload
" * curl -o pathogen.vim https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim