Today I Learned...

Strategy

Tony Guzmán's picture

Using your AdWords and Google Grant as one big focus group

We’ve talked about Google Grants before on this blog. In short: it’s a program offered by Google that grants qualifying 501(c)(3) nonprofit organizations $10,000 worth of free Google AdWords a month. It’s an awesome program and every nonprofit should apply for one and start running AdWords campaigns!

Tech

Will Patterson's picture

Smuggling functions through json_encode

Callbacks! Every fancy jQuery plugin has them

and they are almost always specified along with all the other parameters when the plugin is initialized.

Tech

Paul Venuti's picture

Short-circuit Evaluation in JavaScript (or, the Ternary Operator, in Binary)

Here's a peculiar-looking bit of JavaScript syntax that I've repeatedly come across in the wild:

Tech

Paul Venuti's picture

Creating Custom Formatters with Display Suite

Here at EchoDitto, we've been making heavy use of the Display Suite module. It obliterates a lot of the more tedious theming issues we typically run into when building out a Drupal site, and for the most part, we love it.

Tech

Tech

Alan Ivey's picture

Redirect all port 80 requests to port 8080 on Mac OS X

In my previous post, I walked through how to set up a local environment using Nginx running on port 8080 so as to avoid running anything as root or with sudo.

Tech

Paul Venuti's picture

Video Thumbnails with Media and YouTube or Vimeo in Drupal 7

Today, one of the designers I work with asked me a pretty simple question about a Views-based list of videos. The listing displays thumbnails of video

Tech

Tyler Renelle's picture

EJS Views Helpers With Backbone-Rails

Backbone-Rails is a useful gem for setting up Backbone.js in your Rails 3.1 app by providing all the necessary javascript files & dependencies (easy future upgrades with bundler), as well as some generators to setup your MVC directory s

Tech

Alan Ivey's picture

Node.js and NPM on CentOS

Update: This no longer appears to be necessary as of nodejs 0.8.0. It may have been fixed earlier but I noticed neither of these changes are necessary anymore.

Tech

Paul Venuti's picture

Removing Behaviors Using a GMap Macro

I'm building some maps for a client using the [GMap module](http://drupal.org/project/gmap) and came across the following simple problem: using a GMap

Pages

I see you like to read printed material. You should check out Nicco's book The End of Big: http://endofbig.com