- 1 tablespoon olive oil
- 6 ounces pancetta or salt pork, diced
- 2 1/2 pounds beef chuck, seasoned with 2 teaspoons kosher salt
- 1/2 cup diced celery
- 1/2 cup diced carrot
- 1 rounded tablespoon tomato paste
- 1 teaspoon freshly ground black pepper
- 1 bay leaf
- 2/3 cup white wine (optional)
- 4 pounds yellow onions, sliced
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
<label for="username">Username</label> | |
(<a id="register-link" data-tabto="reset-link" href="#">register</a>) | |
<input id="username" type="text" data-tabmaster="true" data-tabto="password" /> | |
<label for="password">Password</label> | |
(<a id="reset-link" data-tabto="submit" href="#">reset password</a>) | |
<input id="password" type="password" data-tabto="register-link" /> | |
<input id="submit" data-tabmaster="false" type="submit" value="Submit" /> |
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
$.wait = function( callback, seconds){ | |
return window.setTimeout( callback, seconds * 1000 ); | |
} | |
// usage | |
$.wait( function(){ $("#message").slideUp() }, 5); |
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
# redirect requests to (non-existent) SVG thumbnails to the main image | |
RewriteRule ^/assets_content/_thumbs/?\.svg$ /assets_content/$1.svg [NC,L] | |
# FWIW, I had to swap out the ? for (.*) in my environment |
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
// hides the yellow indication of an annotation | |
genius-referent { | |
background: transparent !important; | |
cursor: text !important; | |
} | |
// hides the "Annotate" popup that appears when you select text | |
genius-pre-annotation-prompt { | |
display: none !important; | |
} |
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
if (!Modernizr.input.placeholder) { | |
$('*[placeholder]').each(function() { | |
placeholder = $(this).attr('placeholder'); | |
$(this).attr('value', placeholder).addClass('fakePlaceholder'); | |
}); |
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
.columns { | |
display: block; | |
list-style-type: none; | |
margin-bottom: 24px; | |
-moz-column-count: 2; | |
-moz-column-gap: 24px; | |
-webkit-column-count: 2; | |
-webkit-column-gap: 24px; | |
column-count: 2; | |
column-gap: 24px; |
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($){ | |
$(document).ready(function (){ | |
$('textarea[data-autoresize]').on('input propertychange', function() { | |
autoResize($(this)); | |
}); |