Dan Brubaker Horst

I type for a living

Responsive Web Design

by Dan Brubaker Horst

In 2010 Ethan Marcotte coined the term responseive web design to describe a process for creating flexible, versatile websites. By using media queries in conjunction with a fluid grid a designer can alter the flow of content within a website to provide a good viewing experience on a phone-sized screen as well as a 70” display. Philosophically it embraces the idea that when designing for the web we should “accept the ebb and flow of things”.

Read more →

Stage All Deleted Files In A Git Repository

by Dan Brubaker Horst

Sometimes I use rm instead of git rm to delete files in a git repository. This simple mistake means that the deleted files are not staged when I try to commit my changes. A short post on how to use xargs I found this morning led me to a simple solution: git ls-files -d | xargs git rm How does this work? git ls-files lists all the files tracked by the git repository.

Read more →