Brew Install Missing Formulas

5 minute read Published

How to recover deleted Homebrew formulas following a brew upgrade.

Okay so I was trying to upgrade to the latest version of Hugo today on macOS and didn’t have the time nor the patience to read man brew again.

tldr brew didn’t show how to install a specific version of a formula so I did what any reasonable person would do and read Jake Trent’s downgrading post so I knew how to go back after an upgrade.

Then I ran a brew upgrade hugo to get the latest Hugo version…

Node.js Debugging Primer

5 minute read Updated

Learn how to get started debugging Node.js applications using Jake.

So I’m putting together this killer new JS front-end development stack called Brunch with Panache, which uses Jake tasks to kick off a custom set of commands for building and managing the app, and I hit a bug while code was running in Node.js. So what now?

Web Development and Debugging Tools

2 minute read Updated

Following is a list of cross-browser/platform web development and debugging tools useful for client-side developers. Depending on the application, one or all of these tools can be valuable in completing work on a website front-end.

Using Promises for Non-AJAX Asynchronous Callbacks in JavaScript

1 minute read Published

After recently falling prey (again) to the immediate execution of a counter-based timing function used to execute a non-Ajax asynchronous callback method in JS, I wanted to share this very useful article I stumbled upon while looking for an approach that would meet my needs.

Amp Up CoffeeScript Coding with Sublime Text

3 minute read Published

Sublime Text with CoffeeScript is a JavaScript developer’s dream, but one that doesn’t evaporate in the fog of sleep shortly after waking. After learning about Sublime Text at Fluent Conf 2012 during a plenary talk from Paul Irish, I immediately began looking for ways to incorporate it into my workflow. And now, after having used it for over 8 months in my day-to-day work, I wanted to share a quick primer for those who want to amp up CoffeeScript coding with Sublime Text too.

JSONView for Google Chrome

1 minute read Published

TIL about the JSONView Google Chrome extension. A handy tool for viewing formatted JSON data in the browser. There’s also an add-on for Firefox.

Mobile Emulators & Simulators: The Ultimate Guide

1 minute read Published

Developing for mobile? You’re gonna need an emulator. Here’s a list of emulators and simulators that can be used to test your mobile webapps.

Switching from Firebug to Chrome Dev Tools

1 minute read Published

Here’s the presentation given at Google I/O this year by Paul Irish and Pavel Feldman that got me to switch to Chrome Developer Tools promptly after watching. If you’re a front-end web developer and haven’t seen this yet take a look. It just may change the way you work.

Optimize Mobile Performance with Jdrop

2 minute read Published

Last month Steve Souders announced Jdrop, a JSON repository in the cloud. Using Jdrop and Souders’ Mobile Perf bookmarklet, developers can send mobile browser data to the cloud for more careful analysis on other devices.

MSIE 4095 Selector Limit

2 minute read Published

Web applications concatenate CSS files to improve performance, which can result in large numbers of style rules in a single file. Enter the 4095 selector limitation for IE browsers. An IE bug whereby the browser will only apply style for the first 4095 selectors declared per file. Impacted browsers include IE6, IE7, IE8 and IE9.

iTunes Fix for Manually Moving Files

4 minute read Published

How to fix the errors iTunes shows when its unable to locate files.

iTunes users opting not to allow the program to automatically keep their folders organized (the default setting) may be well aware that iTunes does not respond well after changing locations of or renaming files. In fact, any change in the file name or path renders the item inaccessible from within iTunes, almost as if your iTunes library disappeared. To make matters worse, there’s no easy way to have iTunes relocate files moved. iTunes prompts the user to relocate missing files but only one at a time with a dialog that says:

The [type] [name] could not be used because the original file could not be found. Would you like to locate it?

Not so useful when a lot of files are moved at once. But if a directory containing hundreds of files needs to be moved, to a larger hard drive for example, locating files individually becomes too much work.