git bisect start
git bisect good <commit-where-stuff-is-working>
#!/bin/bash | |
# Generate a `:something-intensifies:` Slack emoji, given a reasonable image | |
# input. I recommend grabbing an emoji from https://emojipedia.org/ | |
set -euo pipefail | |
# Number of frames of shaking | |
count=10 | |
# Max pixels to move while shaking |
document.getElementById("button").addEventListener("click", function(e) { | |
e.preventDefault(); | |
var url = this.getAttribute("href", 2); | |
createFloodlightTag("source", "type", "cat", function() { | |
window.location = url; // Redirect the user after the tag successfully fires | |
}); | |
}); | |
function createFloodlightTag(source, type, cat, callback) { |
class God < ActiveRecord::Base | |
has_many :purchases | |
has_many :orders | |
has_many :login_attempts | |
has_many :friends | |
acts_as_taggable because: "all tags are the same" | |
scope :alive, -> { where.not(:status => :dead) } | |
scope :active, -> { where(:inactive => false) } |