I hereby claim:
- I am mklickman on github.
- I am mklickman (https://keybase.io/mklickman) on keybase.
- I have a public key whose fingerprint is 4B82 1E9C 338E 8F7A 9DEA 5264 97E1 534E DD8A 32AC
To claim this, I am signing this object:
<%= form_for(@contact) do |f| %> | |
<% if @contact.errors.any? %> | |
<div id="error_explanation"> | |
<h3><%= pluralize(@contact.errors.count, "error") %> prohibited this contact from being saved:</h2> | |
<ul> | |
<% @contact.errors.full_messages.each do |msg| %> | |
<li><%= msg %></li> | |
<% end %> | |
</ul> |
<video controls> | |
<source src="http://www.mundihomes.com/inc/vid/morganville_exterior.theora.ogv" type="video/ogg" codecs="theora, vorbis"> | |
</video> |
$(document).ready(function() { | |
var $counter = $('<p class="viewport-width-counter" />'); | |
$('html').append($counter); | |
if ($('p.viewport-width-counter').length) { | |
$counter.css({ | |
'position': 'fixed', | |
'top': 0, |
<snippet> | |
<content><![CDATA[ | |
<!-- For details, see http://hicksdesign.co.uk/journal/pinned-sites-in-windows-8 --> | |
<meta name="msapplication-TileImage" content=“${1:filename.png}”> | |
<meta name="msapplication-TileColor" content="#${2:hex-value}”> | |
<meta name="application-name" content=${3:Win8-specific application title}”> | |
]]></content> | |
<description>Windows 8 tile specification for pinning to start screen</description> | |
<tabTrigger>win8tile</tabTrigger> | |
<scope>text.html</scope> |
// Attatch an event listener to your element for when the first animation | |
// finishes, but only when it's named for the first animation | |
$('.my-element').on('animationend', function() { | |
if ($(this).css('animation-name') == "animation-1") { | |
// Change the CSS animation-name property for the 2nd animation | |
$(this).css('animation-name', 'animation-2'); | |
} | |
}); |
// This... | |
(function($) { | |
$('body').css('background', 'red'); | |
})(jQuery) | |
// is the same as this... | |
var myFunction = function($) { |
var reset_comment_parent = function() { | |
// CODE... | |
} | |
$('.add_form', '.close_comment_form').on('click', reset_comment_parent); |
function interval(func, wait, times){ | |
var interv = function(w, t){ | |
return function(){ | |
if(typeof t === "undefined" || t-- > 0){ | |
setTimeout(interv, w); | |
try{ | |
func.call(null); | |
} | |
catch(e){ | |
t = 0; |
$('input[type="text"]').bind("propertychange keyup input paste", function(event){ | |
var len = $(this).val().length; | |
if (len >= 13){ | |
letters = len - 13; | |
percentage = letters/34; | |
fontsize = Math.round(57-45*percentage); | |
I hereby claim:
To claim this, I am signing this object: