This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iframe { | |
max-width: 100%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find /var/www -type f -name "*.css" -exec grep -il "webkit" {} \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media only screen and (-moz-min-device-pixel-ratio: 2), | |
only screen and (-ms-min-device-pixel-ratio: 2), | |
only screen and (-o-min-device-pixel-ratio: 2), | |
only screen and (-webkit-min-device-pixel-ratio: 2), | |
only screen and (min-device-pixel-ratio: 2) | |
{ | |
#social-links img { | |
background: top left no-repeat; | |
background-size: 25px 25px; | |
display: inline-block; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta property="og:site_name" content="The Easy Designs Blog"/> | |
<meta property="og:image" content="/i/facebook-icon.png?v=20111226"/> | |
<meta property="og:locale" content="en_US"/> | |
<meta property="fb:admins" content="aaronmgustafson"/> | |
<meta property="og:type" content="article"/> | |
<meta property="og:title" content="Don’t Sell Out Your Users"/> | |
<meta property="og:description" content="Most sites have exhaustive Privacy Policies detailing what information they collect and what they may do with it, which is why I find it bizarre that many of these same sites have chosen to hand over their users’ browsing habits to third parties such as Twitter, Facebook, and Google without considering the implications."/> | |
<meta property="og:url" content="http://blog.easy-designs.net/archives/2012/04/23/dont-sell-out-your-users/"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function( window ){ | |
window.watchResize = function( callback ){ | |
var resizing; | |
callback.size = 0; | |
function done() | |
{ | |
var curr_size = window.innerWidth; | |
clearTimeout( resizing ); | |
resizing = null; | |
// only run on a true resize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table> | |
<thead> | |
<tr> | |
<th scope="col">Name</th> | |
<th scope="col">Email</th> | |
<th scope="col">Dept, Title</th> | |
<th scope="col">Phone</th> | |
</tr> | |
</thead> | |
<tbody> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! Dependent Anchor Include Pattern */ | |
/* | |
* Copyright 2011, Scott Jehl (scottjehl.com), Emil Bjorklund (thatemil.com), | |
* and Aaron Gustafson (aaron-gustafson.com) | |
* | |
* Dual licensed under the MIT | |
* Idea from Scott Gonzalez | |
* | |
* to use, place attributes on an already-functional anchor pointing to content | |
* that should either replace, or insert before or after that anchor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> | |
<script>window.jQuery || document.write('<script src="/j/jquery.js"><\/script>')</script> | |
{exp:easy_jail:js config="{offset:300}"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen and (min-width: X) { | |
body { | |
font-size: ( ( 1em / X ) * 100 )vw; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($){ | |
$.fn.konamiCode = function( callback ){ | |
var current_keys = [], | |
current_keys_str = '', | |
unlock_code = '38 38 40 40 37 39 37 39 66 65'; | |
$('body').on('keydown',function(e){ | |
current_keys.push( e.keyCode ); |