Skip to content

Instantly share code, notes, and snippets.

@brianblakely
Created September 16, 2010 02:27
Show Gist options
  • Select an option

  • Save brianblakely/581868 to your computer and use it in GitHub Desktop.

Select an option

Save brianblakely/581868 to your computer and use it in GitHub Desktop.

Revisions

  1. brianblakely revised this gist Jul 18, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.html
    Original file line number Diff line number Diff line change
    @@ -100,7 +100,7 @@

    <!-- Or maybe you have an Atom feed?
    See what that's all about: http://www.atomenabled.org/developers/protocol/ -->
    <link rel="alternate" type="application/x.atom+xml" title="Atom" href="/atom.xml">
    <link rel="alternate" type="application/atom+xml" title="Atom" href="/atom.xml">

    <!-- Your server may be notified when another site links to yours.
    The href attribute should contain the location of your pingback service.
  2. brianblakely revised this gist May 5, 2011. 1 changed file with 1 addition and 23 deletions.
    24 changes: 1 addition & 23 deletions gistfile1.html
    Original file line number Diff line number Diff line change
    @@ -113,26 +113,4 @@
    http://blog.perplexedlabs.com/2009/07/15/xmlrpc-pingbacks-using-php/ -->
    <link rel="pingback" href="">

    </head>

    <body>



    <!-- ... -->



    <!-- Let's help Mother Nature and link to a local copy of jQuery
    until our project is ready for launch. -->
    <!--script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script-->
    <script src="js/jquery.js"></script>

    <!-- jQuery Lint for the performance-tweaking stages of your project.
    Notifies of inefficient selectors and other ego-breaking things.
    WARNING: THIS CAN BREAK STUFF IN IE.
    TAKE IT OUT WHEN YOU MOVE TO DEBUGGING. -->
    <script src="js/jquery.lint.js"></script>

    </body>
    </head>
  3. brianblakely revised this gist May 5, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.html
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,7 @@
    This happens in parallel with other connections, and can speed up your site.
    More information: https://github.com/paulirish/html5-boilerplate/wiki/DNS-Prefetching -->
    <link rel="dns-prefetch" href="//example.com">
    <link rel="dns-prefetch" href="//example.com">

    <!-- According to Heather Champ, former community manager at flickr,
    you should not allow search engines to index your "Contact Us"
  4. brianblakely revised this gist May 5, 2011. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions gistfile1.html
    Original file line number Diff line number Diff line change
    @@ -9,12 +9,12 @@
    <!-- Disable automatic DNS prefetching.
    WARNING: THIS MAY MAKE YOUR SITE SLOWER IF YOU RELY ON RESOURCES FROM FOREIGN DOMAINS. -->
    <meta http-equiv="x-dns-prefetch-control" content="off">
    <!-- Make a DNS handshake with a foreign domain before the user needs to access it.
    This happens in parallel with other connections, and can speed up your site.
    More information: https://github.com/paulirish/html5-boilerplate/wiki/DNS-Prefetching -->
    <meta http-equiv="x-dns-prefetch-control" content="off">

    <!-- Make a DNS handshake with a foreign domain before the user needs to access it.
    This happens in parallel with other connections, and can speed up your site.
    More information: https://github.com/paulirish/html5-boilerplate/wiki/DNS-Prefetching -->
    <link rel="dns-prefetch" href="//example.com">

    <!-- According to Heather Champ, former community manager at flickr,
  5. brianblakely revised this gist May 5, 2011. 1 changed file with 36 additions and 3 deletions.
    39 changes: 36 additions & 3 deletions gistfile1.html
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,17 @@
    // http://twitter.com/brianblakely/
    -->
    <head>

    <!-- Disable automatic DNS prefetching.
    WARNING: THIS MAY MAKE YOUR SITE SLOWER IF YOU RELY ON RESOURCES FROM FOREIGN DOMAINS. -->
    <meta http-equiv="x-dns-prefetch-control" content="off">

    <!-- Make a DNS handshake with a foreign domain before the user needs to access it.
    This happens in parallel with other connections, and can speed up your site.
    More information: https://github.com/paulirish/html5-boilerplate/wiki/DNS-Prefetching -->
    <link rel="dns-prefetch" href="//example.com">

    <!-- According to Heather Champ, former community manager at flickr,
    you should not allow search engines to index your "Contact Us"
    @@ -70,16 +81,38 @@
    http://microformats.org/wiki/rel-shortlink -->
    <link rel="shortlink" href="" />





    <!-- Sites with search functionality should be strongly considered for a
    browser search plugin.
    How to make a browser search plugin:
    http://www.google.com/search?ie=UTF-8&q=how+to+make+browser+search+plugin -->
    <link rel="search" title="" type="application/opensearchdescription+xml" href="" />

    <!-- Direct search spiders to your sitemap.
    Learn to make a sitemap here: http://www.sitemaps.org/protocol.php -->
    <link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml">

    <!-- Have an RSS feed? Link to it here.
    Learn how to write your own: http://www.rssboard.org/rss-specification -->
    <link rel="alternate" type="application/rss+xml" title="RSS" href="/rss.xml">

    <!-- Or maybe you have an Atom feed?
    See what that's all about: http://www.atomenabled.org/developers/protocol/ -->
    <link rel="alternate" type="application/x.atom+xml" title="Atom" href="/atom.xml">

    <!-- Your server may be notified when another site links to yours.
    The href attribute should contain the location of your pingback service.
    * High-level explanation: http://codex.wordpress.org/Introduction_to_Blogging#Pingbacks
    * Step-by-step example case: http://www.hixie.ch/specs/pingback/pingback-1.0#TOC5
    * PHP pingback service:
    http://blog.perplexedlabs.com/2009/07/15/xmlrpc-pingbacks-using-php/ -->
    <link rel="pingback" href="">

    </head>

    <body>
  6. brianblakely revised this gist Mar 1, 2011. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.html
    Original file line number Diff line number Diff line change
    @@ -55,7 +55,8 @@

    <!-- Facebook will use the following data to represent your site
    when it is shared.
    Facebook documentation (includes info on sharing more specific media types): http://developers.facebook.com/docs/share -->
    Facebook documentation (includes info on sharing more specific
    media types): http://developers.facebook.com/docs/share -->
    <meta property="og:title" content="" />
    <meta property="og:description" content="" />
    <meta property="og:image" content="" />
  7. brianblakely revised this gist Feb 18, 2011. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions gistfile1.html
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,9 @@
    <!-- According to Heather Champ, former community manager at flickr,
    you should not allow search engines to index your "Contact Us"
    or "Complaints" page if you value your sanity. This is an HTML-
    centric way of achieving that. -->
    centric way of achieving that.
    WARNING: DO NOT INCLUDE ON PAGES THAT SHOULD APPEAR IN SEARCH ENGINES. -->
    <meta name="robots" content="noindex" />

    <!-- Suppress IE6's pop-up-on-mouseover toolbar for images, that can
    @@ -94,7 +96,9 @@

    <!-- jQuery Lint for the performance-tweaking stages of your project.
    Notifies of inefficient selectors and other ego-breaking things.
    THIS CAN BREAK STUFF IN IE. TAKE IT OUT WHEN YOU MOVE TO DEBUGGING. -->
    WARNING: THIS CAN BREAK STUFF IN IE.
    TAKE IT OUT WHEN YOU MOVE TO DEBUGGING. -->
    <script src="js/jquery.lint.js"></script>

    </body>
  8. brianblakely revised this gist Feb 18, 2011. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions gistfile1.html
    Original file line number Diff line number Diff line change
    @@ -51,13 +51,12 @@
    <meta name="msapplication-task" content="name=Task 2;action-uri=http://microsoft.com/Page2.html;icon-uri=http://host/icon2.ico"/>


    <!-- Facebook and others will use the following data to represent your site
    when it is shared (<meta>s are strictly for Facebook).
    <!-- Facebook will use the following data to represent your site
    when it is shared.
    Facebook documentation (includes info on sharing more specific media types): http://developers.facebook.com/docs/share -->
    <meta property="og:title" content="" />
    <meta property="og:description" content="" />
    <meta property="og:image" content="" />
    <link rel="image_src" href="" />

    <!-- Signal to search engines and others "Use this URL for this page!"
    Useful when URLs are dynamically generated. -->
    @@ -91,10 +90,11 @@
    <!-- Let's help Mother Nature and link to a local copy of jQuery
    until our project is ready for launch. -->
    <!--script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script-->
    <script src="js/jquery-1.4.2.js"></script>
    <script src="js/jquery.js"></script>

    <!-- jQuery Lint for the performance-tweaking stages of your project.
    Notifies of inefficient selectors and other ego-breaking things. -->
    Notifies of inefficient selectors and other ego-breaking things.
    THIS CAN BREAK STUFF IN IE. TAKE IT OUT WHEN YOU MOVE TO DEBUGGING. -->
    <script src="js/jquery.lint.js"></script>

    </body>
  9. brianblakely revised this gist Nov 24, 2010. 1 changed file with 9 additions and 3 deletions.
    12 changes: 9 additions & 3 deletions gistfile1.html
    Original file line number Diff line number Diff line change
    @@ -51,6 +51,14 @@
    <meta name="msapplication-task" content="name=Task 2;action-uri=http://microsoft.com/Page2.html;icon-uri=http://host/icon2.ico"/>


    <!-- Facebook and others will use the following data to represent your site
    when it is shared (<meta>s are strictly for Facebook).
    Facebook documentation (includes info on sharing more specific media types): http://developers.facebook.com/docs/share -->
    <meta property="og:title" content="" />
    <meta property="og:description" content="" />
    <meta property="og:image" content="" />
    <link rel="image_src" href="" />

    <!-- Signal to search engines and others "Use this URL for this page!"
    Useful when URLs are dynamically generated. -->
    <link rel="canonical" href="" />
    @@ -61,9 +69,7 @@
    http://microformats.org/wiki/rel-shortlink -->
    <link rel="shortlink" href="" />

    <!-- Facebook and others will use this image to represent your site
    when it is shared. -->
    <link rel="image_src" href="" />


    <!-- Sites with search functionality should be strongly considered for a
    browser search plugin.
  10. brianblakely revised this gist Sep 16, 2010. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.html
    Original file line number Diff line number Diff line change
    @@ -45,7 +45,7 @@
    <meta name="msapplication-window" content="width=800;height=600"/>

    <!-- Define Jump List tasks that will appear when the pinned site's
    icon gets a right-click. Each "task" goes to its own URL,
    icon gets a right-click. Each "task" goes to the specified URL,
    and gets its own mini icon (essentially a favicon, a 16x16 .ICO). -->
    <meta name="msapplication-task" content="name=Task 1;action-uri=http://host/Page1.html;icon-uri=http://host/icon1.ico"/>
    <meta name="msapplication-task" content="name=Task 2;action-uri=http://microsoft.com/Page2.html;icon-uri=http://host/icon2.ico"/>
  11. brianblakely renamed this gist Sep 16, 2010. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  12. brianblakely renamed this gist Sep 16, 2010. 1 changed file with 5 additions and 2 deletions.
    7 changes: 5 additions & 2 deletions Helpful Things to Keep in Your <head/> → >
    Original file line number Diff line number Diff line change
    @@ -18,7 +18,8 @@


    <!-- IE9 Pinned Site Settings!
    Documentation: http://msdn.microsoft.com/en-ca/library/gg131029(VS.85).aspx -->
    Documentation: http://msdn.microsoft.com/en-ca/library/gg131029(VS.85).aspx
    See the documentation for JavaScript APIs, as well. -->

    <!-- Pinned site name, as Windows sees it - this will be the page title
    by default, unless you include this rule. -->
    @@ -28,7 +29,9 @@
    <meta name="msapplication-tooltip" content="A description of what this site does." />

    <!-- If the site should go to a specific URL when it is pinned (such as
    the homepage), enter it here. -->
    the homepage), enter it here.
    One idea is to send it to a special URL so you can track # of pinned users,
    like so: http://www.example.com/index.html?pinned=true -->
    <meta name="msapplication-starturl" content="" />

    <!-- IE9 will automatically use the overall color of your site's favicon to
  13. brianblakely renamed this gist Sep 16, 2010. 1 changed file with 33 additions and 1 deletion.
    34 changes: 33 additions & 1 deletion gistfile1.html → Helpful Things to Keep in Your <head/>
    Original file line number Diff line number Diff line change
    @@ -16,6 +16,38 @@
    interfere with certain designs. -->
    <meta http-equiv="imagetoolbar" content="false" />


    <!-- IE9 Pinned Site Settings!
    Documentation: http://msdn.microsoft.com/en-ca/library/gg131029(VS.85).aspx -->

    <!-- Pinned site name, as Windows sees it - this will be the page title
    by default, unless you include this rule. -->
    <meta name="application-name" content="Sample Title" />

    <!-- Pinned shortcuts also get a tooltip - this is it. -->
    <meta name="msapplication-tooltip" content="A description of what this site does." />

    <!-- If the site should go to a specific URL when it is pinned (such as
    the homepage), enter it here. -->
    <meta name="msapplication-starturl" content="" />

    <!-- IE9 will automatically use the overall color of your site's favicon to
    shade its browser buttons. UNLESS you give it another color here.
    Only use named colors ("red") or hex colors ("#f00"). -->
    <meta name="msapplication-navbutton-color" content=""/>

    <!-- If the site should open at a certain window size once
    pinned, you can specify the dimensions here.
    It only supports static pixel dimensions. 800x600 minimum. -->
    <meta name="msapplication-window" content="width=800;height=600"/>

    <!-- Define Jump List tasks that will appear when the pinned site's
    icon gets a right-click. Each "task" goes to its own URL,
    and gets its own mini icon (essentially a favicon, a 16x16 .ICO). -->
    <meta name="msapplication-task" content="name=Task 1;action-uri=http://host/Page1.html;icon-uri=http://host/icon1.ico"/>
    <meta name="msapplication-task" content="name=Task 2;action-uri=http://microsoft.com/Page2.html;icon-uri=http://host/icon2.ico"/>


    <!-- Signal to search engines and others "Use this URL for this page!"
    Useful when URLs are dynamically generated. -->
    <link rel="canonical" href="" />
    @@ -56,4 +88,4 @@
    Notifies of inefficient selectors and other ego-breaking things. -->
    <script src="js/jquery.lint.js"></script>

    </body>
    </body>
  14. @paulirish paulirish revised this gist Aug 16, 2010. 2 changed files with 59 additions and 42 deletions.
    42 changes: 0 additions & 42 deletions HTML5 - Helpful things to keep in your <head/>
    Original file line number Diff line number Diff line change
    @@ -1,42 +0,0 @@
    <!DOCTYPE html> <!-- Helpful things to keep in your <head/> // Brian Blakely, 360i -->
    <head>
    <!-- According to Heather Champ, former community manager at flickr,
    you should not allow search engines to index your "Contact Us"
    or "Complaints" page if you value your sanity. This is an HTML-
    centric way of achieving that. -->
    <meta name="robots" content="noindex" />

    <!-- Suppress IE6's pop-up-on-mouseover toolbar for images, that can
    interfere with certain designs. -->
    <meta http-equiv="imagetoolbar" content="false" />

    <!-- Signal to search engines and others "Use this URL for this page!"
    Useful when URLs are dynamically generated. -->
    <link rel="canonical" href="" />

    <!-- Signal to the world "This is the shortURL for this page!"
    Poorly supported at this time.

    http://microformats.org/wiki/rel-shortlink -->
    <link rel="shortlink" href="" />

    <!-- Facebook and others will use this image to represent your site
    when it is shared. -->
    <link rel="image_src" href="" />

    <!-- Sites with search functionality should be strongly considered for a
    browser search plugin.

    How to make a browser search plugin:
    http://www.google.com/search?ie=UTF-8&q=how+to+make+browser+search+plugin -->
    <link rel="search" title="" type="application/opensearchdescription+xml" href="" />

    <!-- Let's help Mother Nature and link to a local copy of jQuery
    until our project is ready for launch. -->
    <!--script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script-->
    <script src="js/jquery-1.4.2.js"></script>

    <!-- jQuery Lint for the performance-tweaking stages of your project.
    Notifies of inefficient selectors and other ego-breaking things. -->
    <script src="js/jquery.lint.js"></script>
    </head>
    59 changes: 59 additions & 0 deletions gistfile1.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,59 @@
    <!DOCTYPE html>

    <!-- Helpful things to keep in your <head/>
    // Brian Blakely, 360i
    // http://twitter.com/brianblakely/
    -->
    <head>

    <!-- According to Heather Champ, former community manager at flickr,
    you should not allow search engines to index your "Contact Us"
    or "Complaints" page if you value your sanity. This is an HTML-
    centric way of achieving that. -->
    <meta name="robots" content="noindex" />

    <!-- Suppress IE6's pop-up-on-mouseover toolbar for images, that can
    interfere with certain designs. -->
    <meta http-equiv="imagetoolbar" content="false" />

    <!-- Signal to search engines and others "Use this URL for this page!"
    Useful when URLs are dynamically generated. -->
    <link rel="canonical" href="" />

    <!-- Signal to the world "This is the shortURL for this page!"
    Poorly supported at this time.
    http://microformats.org/wiki/rel-shortlink -->
    <link rel="shortlink" href="" />

    <!-- Facebook and others will use this image to represent your site
    when it is shared. -->
    <link rel="image_src" href="" />

    <!-- Sites with search functionality should be strongly considered for a
    browser search plugin.
    How to make a browser search plugin:
    http://www.google.com/search?ie=UTF-8&q=how+to+make+browser+search+plugin -->
    <link rel="search" title="" type="application/opensearchdescription+xml" href="" />

    </head>

    <body>



    <!-- ... -->



    <!-- Let's help Mother Nature and link to a local copy of jQuery
    until our project is ready for launch. -->
    <!--script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script-->
    <script src="js/jquery-1.4.2.js"></script>

    <!-- jQuery Lint for the performance-tweaking stages of your project.
    Notifies of inefficient selectors and other ego-breaking things. -->
    <script src="js/jquery.lint.js"></script>

    </body>
  15. @invalid-email-address Anonymous created this gist Aug 16, 2010.
    42 changes: 42 additions & 0 deletions HTML5 - Helpful things to keep in your <head/>
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,42 @@
    <!DOCTYPE html> <!-- Helpful things to keep in your <head/> // Brian Blakely, 360i -->
    <head>
    <!-- According to Heather Champ, former community manager at flickr,
    you should not allow search engines to index your "Contact Us"
    or "Complaints" page if you value your sanity. This is an HTML-
    centric way of achieving that. -->
    <meta name="robots" content="noindex" />

    <!-- Suppress IE6's pop-up-on-mouseover toolbar for images, that can
    interfere with certain designs. -->
    <meta http-equiv="imagetoolbar" content="false" />

    <!-- Signal to search engines and others "Use this URL for this page!"
    Useful when URLs are dynamically generated. -->
    <link rel="canonical" href="" />

    <!-- Signal to the world "This is the shortURL for this page!"
    Poorly supported at this time.

    http://microformats.org/wiki/rel-shortlink -->
    <link rel="shortlink" href="" />

    <!-- Facebook and others will use this image to represent your site
    when it is shared. -->
    <link rel="image_src" href="" />

    <!-- Sites with search functionality should be strongly considered for a
    browser search plugin.

    How to make a browser search plugin:
    http://www.google.com/search?ie=UTF-8&q=how+to+make+browser+search+plugin -->
    <link rel="search" title="" type="application/opensearchdescription+xml" href="" />

    <!-- Let's help Mother Nature and link to a local copy of jQuery
    until our project is ready for launch. -->
    <!--script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script-->
    <script src="js/jquery-1.4.2.js"></script>

    <!-- jQuery Lint for the performance-tweaking stages of your project.
    Notifies of inefficient selectors and other ego-breaking things. -->
    <script src="js/jquery.lint.js"></script>
    </head>