I’m working on a project today that uses Twitter Bootstrap, displays
progress bars, and has a requirement to print those progress bars.
Sadly, Chrome doesn’t like to print background colors by default, so
printing the progress bars didn’t work so well. Here’s the trick to get
it to work: -webkit-print-color-adjust:exact
. This instructs Chrome
to print the background color.
More …
Did you build your site thinking that googlebot can't understand your javascript? I did, and I was a bit surprised when I learned I was wrong...
About a month ago, Starr Horne and I launched a reboot of OfficeSpace.com,
which is all about helping people who are looking for office space find it. We've had a lot of fun trying out various techniques and technologies, including trying
different approaches to analytics.
More …
Capistrano has a handy task that runs rake assets:precompile for you when you are deploying your Rails 3.1 application. This gives you an easy way to get the performance boosts of having only one css file and one javascript file to load per request. The price you pay for that benefit is the amount of time it takes to run that rake task when you are deploying. There is a way to get the benefit while reducing that cost, though.
More …
This morning I deployed New Relic's new Server Monitoring feature for the first time (I've used Scout previously). It's cool to see your server vitals right next to all your app vitals, and their interface looks attractive, to boot.
More …
I just released an update to Bundle Watcher this morning that may make it a little easier to get your Ruby gem updates tracked. Now you can specify a URL where your Gemfile.lock resides, rather than having to upload a file.
More …