Skip to content

Instantly share code, notes, and snippets.

View asellitt's full-sized avatar

Anthony Sellitti asellitt

View GitHub Profile
@mipearson
mipearson / .rspec_parallel
Created December 10, 2013 22:33
Parallel rspec w/ re-run of failing specs.
--colour
--format ParallelTests::RSpec::SummaryLogger
--format ParallelTests::RSpec::RuntimeLogger --out tmp/parallel_runtime_rspec.log
--format ParallelTests::RSpec::FailuresLogger --out tmp/rspec_failures.log
@mtcmorris
mtcmorris / gist:1194204
Created September 5, 2011 06:06
Mustaches for everyone!!
<% if current_user_is_editor? %>
<%= content_for :footer do %>
<script type="text/javascript">
$(document).ready(function() {
$("article.vcard img").each(function(index, img) {
$(img).attr("src", "http://mustachify.me/?src=" + "http://theconversation.edu.au" + $(img).attr("src"));
});
});
</script>
<% end %>