recent
μblog

My .vimrc

.vimrc is the file where you can configure how you want vim to run.

In your .vimrc file you can specify which vim plugins you use, which colorscheme, custom keybindings and various other neat configurations to make your vim experience the best it can be!

Since everyone has their own way of configuring the way they use vim, I thought I’d share mine with you:

.vimrc code

" Ensure vim-plug is installed
if empty(glob('~/.vim/autoload/plug.vim'))
  silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
    \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif

" vim-plug plugins
call plug#begin()
        Plug 'scrooloose/nerdtree'      " A built-in file browser!
        Plug 'tpope/vim-surround'       " Allows you to easily change surrounding characters
        Plug 'vim-airline/vim-airline'  " A very nice status line plugin!
        Plug 'vim-airline/vim-airline-themes'   " Themes for the very nice status line!
        Plug 'morhetz/gruvbox'          " One of my favorite color schemes!
call plug#end()

" Adds the line numbers to the left side and the ability to scroll through command options
set number
set wildmenu

" I like the gruvbox color theme in dark mode. The airline plugin supports gruvbox as well!
color gruvbox
set bg=dark
let g:rehash256 = 1
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts=1
let g:airline_theme='gruvbox'

" I use vim inside of Windows Terminal, and this lets me select/point with my mouse
" and scroll up and down the page with my scroll wheel.
set mouse=a
map <ScrollWheelUp> <C-Y>
map <ScrollWheelDown> <C-E>

" Automatically close brackets/parenthesis
inoremap " ""<left>
inoremap ' ''<left>
inoremap ( ()<left>
inoremap [ []<left>
inoremap { {}<left>
inoremap {<CR> {<CR>}<ESC>O
inoremap {;<CR> {<CR>};<ESC>O

" Press F9 to save and run python code
autocmd FileType python map <buffer> <F9> :w<CR>:exec '!python3' shellescape(@%, 1)<CR>
autocmd FileType python imap <buffer> <F9> <esc>:w<CR>:exec '!python3' shellescape(@%, 1)<CR>)'')''"}}}}}}]]))'''""""""''"")"''"''"''"''"'')"''))"

Website Under Construction

Thank you for visiting! I’ve added projects from my resume to this website as blog posts which you can read either here on the homepage or in the posts tab.

I will be revising the blog posts to elaborate and add more details as right now they’re using the project descriptions from my resume.

Another post coming soon will explain how I made this website using Hugo and Netlify!

Thanks for reading and have a wonderful day!

Proxmox Virtualization Environment Host Node

February 2020

Installed the Proxmox VE operating system onto a desktop computer to act as a host node. Created LXC (Linux container) templates. Utilized containers to host web servers, Linux shells for friends, Discord chat bots, and Minecraft servers.

Arduino Digital Clock

December 2019

Programmed an Arduino to display the four digits of a digital clock onto a four-digit seven segment display. Implemented a circuit of two pushbuttons to be able to adjust the time by incrementing or decrementing the value due to the lack of a hardware clock and internet access to access an internet clock.

RFID Card Attendance Scanner

December 2019

Developed a C program for a Texas Instruments TIVA LaunchPad Embedded Systems Board to interface with an RFID Card Reader to take attendance by scanning student ID cards. Implemented python script to send attendance list email.

Bogo Sort Bot

November 2019

Programmed a Raspberry Pi using Python and Linux tools to continuously attempt to sort a randomly generated list of numbers using the Bogo Sort sorting algorithm. Upon successfully sorting the list, subscribers in a mailing list were emailed the statistics and duration of the sorting process.

Raspberry Pi Robot Arm Surveillance Camera

November 2018

Programmed a Raspberry Pi that controlled a web camera mounted on a servo-motor robot arm. Implemented the ability to view a live feed, capture images, record video and control the servo arm over SSH

Seinfeld Theme Door Sensor

November 2018

Constructed a circuit using an Arduino, ultrasonic sensor, and Adafruit MP3 Shield to play a randomly selected MP3 file when the ultrasonic sensor data deduced that an individual entered the room.

Password Dump Parser

May 2018

Developed a Java program that generates statistics of publicly known password dumps to identify patterns in passwords. The statistics are used to educate the public about vulnerable passwords.

Fan Baseball Cap

July 2017

Mounted, soldered and wired a computer fan to the bill of a baseball cap to blow air on the wearer’s face. The computer fan was soldered to an on/off switch and 4xAA battery power supply.

Bike Hub Electromagnetic Generator

June 2015

Implemented an electromagnetic generator in a bicycle hub for charging a mobile device while the bicycle is being ridden.

Electromagnetic Generator

March 2012

Crafted a generator with RadioShack magnets and copper wire mounted to Plexiglas panels cut with a rotary saw, wire saw, deburring tool and sandpaper. Soldered diode to metal pins soldered to copper wire. Diode is powered when the magnets are spun inside copper wire coil.