A simple explanation of how mod rewrite works by showing an example of a mod_rewrite script and the same logic written in pseudo-code. The pseudo-code should help build some intuition on how the mod_rewrite script gets executed, and there is a followup link to a cheat sheet. read full post…
Prevent duplicate content your website by redirecting “www” and “index.html” pages to one canonical url with this mod_rewrite script. It has the added benefit of only ever doing one redirect, instead of dealing with both problems separately, and it can easily be modified to handle other situations, such as redirecting “index.php” urls. read full post…

13 February 2010

Result Badge: Hunch Widget

The new hunch “Result Badge” widget, which let’s you display rankings and user reviews about any hunch result on your own site. The two examples are of bourbon drinks from the Hunch cocktails topic. The javascript for the widget creates a div on your page, which allows it to fit into any width container and to have variable height. read full post…

09 February 2010

SEO Bookmarklets

A followup to the SEOmoz post ”30 seo bookmarklets to save you time,” with an exported HTML file of all 30 bookmarklets—to really save you some time. This also has a javascript example of a nofollow bookmarklet. read full post…
How to type special characters on Mac OS X, such as an ellipses, curly quote, en-dash, or em-dash. You can save a few characters on twitter, by using a single ellipses character or a single em-dash instead of two hyphens. read full post…

Peter Coles

Peter Coles

is a software engineer living in NYC who is building Superset 💪 and also created GoFullPage 📸
more »

github · soundcloud · rss