March 09, 2016

Using && and || in Bash Scripts

I write about Bash so often you might start to think it's all I do. It's not, but considering I spend a good portion of my day in the terminal, I'm always on the look out for ways to make it a more efficient experience. Recently, I came upon a simple trick for bash scripts that just has to be shared…

Categories
Web Development
December 16, 2015

Update for Ripsum

Tonight, I released version 0.1.2 of the Ripsum gem . This version adds a new feature to the gem, a configurable library of words. The user can now pass in their own choice of placeholder text. Hipster Ipsum. Zombie Ipsum. Harry Potter Ipsum. Whatever you choose. This is done by adding an…

Categories
Web Development
December 06, 2015

Ripsum

A Ruby Gem for Generating a Random Amount of Lorem Ipsum with Each Page Load

Today, I published my first Ruby gem: Ripsum . Using Ripsum allows you to generate a random amount of lorem ipsum text with each page load. But why might we want to randomize how much text is output to a page? I work with designers who frequently miss what might happen to a layout if a heading is…

Categories
Web Development
September 10, 2015

My Favorite Git Aliases

If you're like me, you like to find patterns in your work and turn them into aliases and shortcuts in the terminal. I thought I'd share with you my current Git aliases, explaining a few along the way. For starters, you'll want to add these aliases to your .gitconfig file. Most of these aliases are…

Categories
Web Development
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: 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: This function takes the user supplied directory name, makes all the directories needed to get there, and then cd s…

Categories
Web Development
Previous12345678910
11
1213Next