Skip to content

Instantly share code, notes, and snippets.

View mkelly12's full-sized avatar

Matt Kelly mkelly12

  • Netflix
  • Bay Area
View GitHub Profile
/*!
* jQuery TextChange Plugin
* http://www.zurb.com/playground/jquery-text-change-custom-event
*
* Copyright 2010, ZURB
* Released under the MIT License
*/
(function ($) {
$.event.special.textchange = {
@mkelly12
mkelly12 / _favicon.html.erb
Created April 2, 2012 19:55
Favicon links
<!-- For third-generation iPad with high-resolution Retina display: -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="<%= path_to_image("apple-touch-icon-144x144-precomposed.png") %>">
<!-- For iPhone with high-resolution Retina display: -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="<%= path_to_image("apple-touch-icon-114x114-precomposed.png") %>">
<!-- For first- and second-generation iPad: -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="<%= path_to_image("apple-touch-icon-72x72-precomposed.png") %>">
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
<link rel="apple-touch-icon-precomposed" href="<%= path_to_image("apple-touch-icon-precomposed.png") %>">
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
<link rel="icon" href="<%= path_to_image("favicon.ico") %>" type="image/x-icon" />