Skip to content

Instantly share code, notes, and snippets.

@yemster
yemster / metatags.html
Created November 10, 2015 09:57 — forked from itsbalamurali/metatags.html
18 Meta Tags Every Webpage Should Have in 2013
<title>Up to 70 Characters of Keyword-relevant text here</title>
<meta name=”description” content=”155 characters of message matching text with a call to action goes here”>
<meta name="author" content="" />
<meta name="copyright" content="&copy;" />
<link rel=”author” href=”https://plus.google.com/[YOUR PERSONAL G+ PROFILE HERE]“/>
<meta property=”og:title” content=”iAcquire’s awesome blog”/>
<meta property=”og:type” content=”article”/>
<meta property=”og:image” content=”http://www.iacquire.com/some-thumbnail.jpg”/>
<meta property=”og:url” content=”http://blog.iacquire.com”/>
<meta property=”fb:admins” content=”USER_ID”/>
# Hack to change the Rails cookie serializer from Marshal to JSON and therefore allow the session
# to be shared between different languages but also avoid that someone knowing the
# cookie secret key could execute arbitrary code on the server by unmarshalling
# modified Ruby code added to the session/permanent cookie.
#
# Note that all users will beed to login again since both the remember me cookie and the session cookies
# won't be valid. Note also that the remember me cookie is tested multiple times per request even when it fails.
# for performance reasons you might want to delete it if these extra cycles are too costly for you.
#
# Rails 4 (not tested on Rails 3).
@yemster
yemster / IE9_fix_for_imagesLoaded_plugin_issue.js
Created December 30, 2011 10:01
IE9 + imagesLoaded() jQuery plugin cached image bug :: Fix
// *************
// Original plugin Gist: https://gist.github.com/268257
// Current repos: https://github.com/desandro/imagesloaded
// fix in response to: https://github.com/desandro/imagesloaded/issues/8
//
// In case this is useful to anyone.
// *************
/*!