838e3536 d1ac 11e4 8766 04ec04c0b199

Sensible Development Dotfiles

My Dotfiles repo contains a sensible set of vim, zsh, git, and tmux configuration files that work well for my development workflow (thanks mdp!).

These are a wonderful way to keep track of the plethora of configuration files that you'll undoubtedly set up while working as a developer, and quickly install them on another machine. Nothing like having your environments on your home and work boxes be the same!

If you want a nice baseline of configuration for your .zshrc, .vimrc, .gitconfig, .aliasrc, .tmux.conf, and many others, my dotfiles repo is a very quick setup that allows you to granularly pick exactly the files you want.

I recommend forking my repo to your Github account, cloning to your home directory, and then running the install script.

git clone git@github.com:Lordnibbler/dotfiles.git ~/.dotfiles

# follow the prompts
~/.install.sh

From here, you can adjust the dotfiles to your liking, keep them up to date, and safely backed up on Github!

E129100c bd35 11e4 8699 138009a03359

Where I've Been Since November 2014 (aka Breaking Your Femur 101)

The Accident

On November 17, 2014 at around 9:30AM, I was involved in a bicycle accident at the intersection of 3rd Street and Market Street in San Francisco. I was traveling northbound on Market Street at around 10 miles per hour as I entered the intersection on a solid green light.

There was a man standing in the middle of market street, and at the very last moment, he stepped directly in front me. I collided with him handlebars-to-chest, and immediately fell to my right side. Despite over 20 years of bicycling, I went against my instinct and stiffened up and put my hand down to my side. My hand and wrist broke much of my fall, and I put a hairline fracture in the scaphoid bone in my right wrist.

Continue reading →

NPM and Nodemon install errors

Having trouble getting packages installed in NPM? Getting an error that looks like this??

~ npm install -g nodemon
npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "nodemon"
npm ERR! node v0.10.32
npm ERR! npm  v2.0.0
npm ERR! path /Users/me/.nvm/v0.10.32/lib/node_modules/nodemon/node_modules/update-notifier/node_modules/configstore/node_modules/mkdirp/package.json
npm ERR! code ENOENT
npm ERR! errno 34

npm ERR! ENOENT, open '/Users/me/.nvm/v0.10.32/lib/node_modules/nodemon/node_modules/update-notifier/node_modules/configstore/node_modules/mkdirp/package.json'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <http://github.com/npm/npm/issues>
~ which npm
/usr/local/bin/npm
~ node -v
v0.10.32
~ which node
/Users/me/.nvm/v0.10.32/bin/node
~ cd ~/Code/onelogin/search

The solution is simple.

Continue reading →

Awesome Git Configuration, Shortcuts, and Aliases

Introduction

When working with Git, and software in general, the most important thing for me is that the act of using the application blends seamlessly into my workflow. It should feel natural, simple, and shouldn't slow you down.

I've worked with Git for a few years now, and like all things, I've kept track of my favorite tweaks and configurations. I'd like to share a few of the most awesome Git shortcuts I use on a daily basis.

Continue reading →