At least when it comes to Firefox 4, the following are NOT equivalent, and will make calls to video.canPlayType to fail.
type="video/ogg; codecs='theora, vorbis'"
type='video/ogg; codecs="theora, vorbis"'
You want to use the second one.
/* | |
* See http://mathiasbynens.be/notes/async-analytics-snippet#comment-14 | |
*/ | |
<script> | |
var f = Function(), | |
clicky = { log: f, goal: f }, | |
clicky_site_id = XXXXXX; | |
(function(d, t) { | |
var c = d.createElement(t), |
# In reply to my own question | |
# (http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/#comment-69995567) | |
# about using git-flow with existing git repos I experimented with a dummy | |
# git repo and it appears rather straight-forward | |
kold@Macintosh-27 $ git init test_git_flow | |
Initialized empty Git repository in /private/tmp/test_git_flow/.git/ | |
(/tmp) | |
kold@Macintosh-27 $ cd test_git_flow/ |
@import "compass"; | |
@mixin generategrid( | |
$vertical: 18px, | |
$verticalcolor: rgb(0, 0, 0), | |
$horizontal: 30px, | |
$horizontalmargin: 10px, | |
$horizontalcolor: rgb(0, 43, 255)) { | |
@include linear-gradient(color-stops($verticalcolor 5%, rgba(0, 0, 0, 0) 5%, rgba(0, 0, 0, 0) 100%)); |
<!-- You'll need to call get_disqus_num_replies() every time you alter the content (ex - ajax) --> | |
<script type="text/javascript"> | |
//<![CDATA[ | |
var get_disqus_num_replies = function() { | |
var links = document.getElementsByTagName('a'); | |
var query = '?'; | |
for(var i = 0; i < links.length; i++) { | |
if(links[i].href.indexOf('#disqus_thread') >= 0) { | |
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&'; | |
} |
@mixin box-shadow($top, $left, $blur, $color, $inset: false) { | |
@if $inset { | |
-webkit-box-shadow:inset $top $left $blur $color; | |
-moz-box-shadow:inset $top $left $blur $color; | |
box-shadow:inset $top $left $blur $color; | |
} @else { | |
-webkit-box-shadow: $top $left $blur $color; | |
-moz-box-shadow: $top $left $blur $color; | |
box-shadow: $top $left $blur $color; | |
} |
require 'rubygems' | |
desc "Completely empty /build" | |
task :clobber do | |
sh "rm -rf build/* build/.[Dh]*" | |
end | |
desc "Export compiled build" | |
task :build do | |
sh "mm-build" |
Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications
like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.
open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl
You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html
/*! | |
* Backbone Module Manager - v0.1pre - 9/9/2011 | |
* http://benalman.com/ | |
* | |
* Copyright (c) 2011 "Cowboy" Ben Alman | |
* Dual licensed under the MIT and GPL licenses. | |
* http://benalman.com/about/license/ | |
*/ | |
function ModuleManager(fn) { |