August 08, 2015

How to Set the Order of Media Queries for Sprockets Media Query Combiner

Today I was working on a project that's about to launch in a few weeks. I was asked to make a last-minute change to the layout of a page (of course!), which required me to use a media query size I had not yet used in the project. At FINE, we've established the standard of using a breakpoint mixin…

Categories
Web Development
July 25, 2015

Bash Shortcut: Copy your Present Working Directory to your Clipboard

Like most developers, I'm always looking for ways to increase my efficiency. One way I like to do this is through Bash functions.

Just like other programming languages, Bash functions allow you to combine Bash commands or manipulate user input to output a desired effect. While I have a good number…

Categories
Web Development
July 25, 2015

Bash Shortcut: How to Make Directory and Change Directory in One Command

If you're like me, you're constantly using the command line to make a directory and then immediately change to that directory. Here's a Bash function that will allows you to do that:

# Make a directory && cd into that directory
function mkdircd () { mkdir -p "$@" && eval cd "\"\$$#\""; }

This function takes the user supplied directory name, makes all the directories needed to get there, and then cds to…

Categories
Web Development
January 26, 2015

Small Gripe: Target="_blank"

I'm often asked to make small, almost trivial changes to our clients' websites. One of these changes that grinds my gears is the frequent request to "Make this hyperlink open in a new tab/window."

This bothers me because it changes the default behavior of links and takes away the user's control over…

Categories
Web Development
October 23, 2014

Susy Snippets

For work, I've been preparing to share a presentation on Susy 2, a Sass grid implementation system. I'd call it a framework, but that's not accurate. It's a collection of functions and mixins that allow you to create customizable grids via the CSS for your site. It's your grids, when and where you…

Categories
Web Development
Previous123456789
10
11Next