Tuesday, January 27, 2009

:rails => 'Clearing the Memcached Cache'

#drop in: /lib/tasks/cache.rake

namespace :cache do??desc 'Clear memcache cache'??task :clear => :environment do?? ActionController::Base.cache_store.clear??endend

#call:

rake cache:clear

Obviously, this is only useful if you’re using Memcached with your Rails site.


Via Strictly Untyped

Thursday, January 15, 2009

Untitled

Pzkgedechiseee7lwriaqrf5o1_500

Earth, observed - The Big Picture - Boston.com

Make sure to check out the source of the images at Nasa’s Earth Observatory site.

Untitled

Pzkgedechirp2mubvgyio4jso1_500

BigStopWatch. I wish this was available as an actual watch with a widescreen OLED display. Alas, it’s not, but it is almost as good: an iPhone app.

Tuesday, January 13, 2009

:php => 'Force Errors Off'

This trick just saved me a few hours, so it’s perfect for sharing. If you need to force the display of PHP errors off on a specific site, add this to your .htaccess file:

php_flag display_errors off

Untitled

Pzkgedechipnf3tziqzaz1iko1_500

Untitled

The very existence of flamethrowers proves that some time, somewhere, someone said to themselves, “You know, I want to set those people over there on fire, but I’m just not close enough to get the job done.

George Carlin

:rails_2_1 => 'Using AR validations with non-AR models'

http://www.neeraj.name/blog/articles/646

Untitled

Pzkgedechiogw7hkcy2jasrho1_500

Porsche WorldTime. Haute.

Monday, January 12, 2009

Untitled

Pzkgedechioao9v7b1bgmmgvo1_400

Web Development Project Estimator

From the site: “The Web Development Project Estimator is a simple tool that allows web designers and site developers to quickly and thoroughly estimate the time and materials required for a proposed web project.”

Untitled

Pzkgedechio4sloy319tmsaoo1_r1_400

Google ‘Quick Search Box’ for Mac

Sunday, January 11, 2009

Untitled

Pzkgedechimpcexpwosae6gho1_500

Quickly, easily browse through the fonts available on your computer. Nice.

Untitled

If the user can’t find it, the function’s not there.

Human Factors

Thursday, January 8, 2009

Untitled

Pzkgedechiigodnp9rtkbg2co1_500

The Cue Cat concept makes yet another comeback with Microsoft Tag. I???ve tried this app, and every other one like it (QR, etc.). My issue with this is that it???s still just as much work as typing a URL; you have to start the barcode reader, take a good pic, approve the pic, and if the pic is okay, wait for the browser (or whatever) to launch. Why not just put a TinyURL in the ad and be done?

Until scanning a barcode is effortless, it???s pointless.

Untitled

Pzkgedechiieu4wdcouibnlxo1_500

Exactly. Via Coding Horror

Tuesday, January 6, 2009

Untitled

Pzkgedechiejju980e2nogu8o1_500

I. Want. This. Watch. I’m addicted to watches. Anyone feeling generous?