Skip to content

Instantly share code, notes, and snippets.

View krcrawford's full-sized avatar

Kyle Crawford krcrawford

  • McKinney, TX, USA
View GitHub Profile
@krcrawford
krcrawford / variables.js
Last active March 4, 2019 17:11
Javascript Homework #2
/**
*
* Hoisting...
*
* In es5 and es6 variables are hoisted. This means that the interpreter
* parses files or code for variable declarations and moves them to the
* top of the top of their respective scopes, or "hoists" them.
* Variables are declared automatically, but may or may not be initialized
* based on how the user wites their code. Initially, any variable that is not
* assigned is given the default value of `undefined`, i.e typeof === 'undefined'.
@krcrawford
krcrawford / song.js
Created March 4, 2019 14:25
Javascript Homework #1
// attributes of a song
// song
const song = {
// artist
artist: {
firstName: 'Herbie',
lastName: 'Hancock',
},
title: 'Stars in Your Eyes',
@krcrawford
krcrawford / .tmux.conf
Created November 17, 2016 21:34
A rolling copy of my tmux configuration
## Status bar design
# status line
set -g status-justify left
set -g status-bg default
set -g status-fg colour12
set -g status-interval 2
# messaging
set -g message-fg black
set -g message-bg yellow
@krcrawford
krcrawford / .vimrc
Last active January 20, 2019 14:19
A rolling copy of my .vimrc file
" Basic configuration.
set nomodeline " for security reasons
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')