pancake theorem a blog by jenn schiffer


Override users agent to test mobile sites on Chrome Canary

Chrome has a Canary release (for Mac OS X 10.5+) that added an “Override User Agent” setting in its developer tools, allowing you to set the user agent for testing mobile sites. If you set it to iOS and go to montclair.edu, for example, it will be seen by Montclair’s web server as an iOS device and be sent to its /mobile directory.

What’s cool about this release is that you can install it and run it side-by-side with your usual install of Chrome – no need to overwrite it. A-O RIVER!

Going from Finder directory to Terminal with Go2Shell

Go2Shell (← iTunes App store link) is a cool little Mac app that lets you add a button to Finder that, when clicked, takes you to that same directory in Terminal.

Installation isn’t as straight forward as just getting it from the App store. After installation, you need to drag the app icon from your Applications folder to the buttons on a Finder window.

I hope that a future update will make the button the same size as the other Finder buttons in Lion, as it’s beginning to drive me crazy. Regardless, it’s quite useful, and it’s free.

Add permalinks to the end of your WordPress RSS content

I did some much-needed cleanup of my server over the holiday break. One of the main tasks was removing this blog into a different directory and out of a former WordPress multisite network.

While playing around with the “new” site, I did some small changes that I’ve been meaning to do for months – changes as simple as adding my post’s permalink to the end of each post in my RSS feed.

You can do it, too. Just add the following function and filters to your theme directory’s functions.php file:

<?php 
 
// add permalink to end of each RSS post
function permalinksInRSS($content) {
    $content = $content.'<p><a href="' . get_permalink() . 
'" rel="bookmark" title="Permanent link to \''.get_the_title().'\'">[permalink]</a><p>';
    return $content;
}
add_filter('the_excerpt_feed', 'permalinksInRSS');
add_filter('the_content_feed', 'permalinksInRSS');
 
?>

You can change “[permalink]” to whatever text you want to show. For example, my feed now says “[View this post on pancake theorem.]”

I’m assuming there may be a plugin out there that does this, but I’m not down with OPP (other people’s plugins) when it’s as simple as this snippet.

Note: If it doesn’t work after adding the code, you should refresh your blog’s cache, (and re-ping it on Feedburner if you use it).

Franz Enzenhofer’s Google Image Search by Drawing

This Google Image Search by Drawing web app is a really cool application of Google’s “Search by Image” functionality and HTML5 canvas illustration. Basically, you can draw an image, drag & drop an image, or take a webcam photo (Flash needed for that one), and submit to search Google Images that look like your query.

“Search by Image” isn’t perfect, but it’s great for when you’re not sure if your amazing logo design looks like hundreds already out there. I gave Enzenhofer’s app a shot by drawing a logo and seeing if it already existed:

I clicked “Search by Drawing” to see if anyone has already used my great logo idea for a new toy building brick I invented this morning, called “Lego.” You’re then sent to Google Image Search, where the app has automatically uploaded your canvas image to submit as a query:

UNBELIEVABLE. Someone already stole my idea.

You can find the the source of the app on Github, what fun!

Vintage photos of women and computers →

I just started getting into Pinterest, even though I’ve had the account for a while. I wanted to start uploading the images I save to my desktop whenever I like something on the Web. My favorite “board” so far is my collection of vintage photographs of women and computers.

If you find any cool ones, let me know. I’m slowly researching each photo up to put a proper description, like identities of the computers and the women using them.

Subtle Patterns →

Here is a really cool resource if you’re looking for, well, subtle patterns.

I’ve been poring through these really nice backgrounds as I come up with ideas for the make8bitart.com redesign (I’ve nearly finished working on the palette tool already).