Skip to content

Instantly share code, notes, and snippets.

View justinclayton's full-sized avatar

Justin Clayton justinclayton

View GitHub Profile
module.exports = (robot) ->
robot.hear /bee.?cat+s?\b/i, (message) ->
message.send "http://bit.ly/thebeecat"
@justinclayton
justinclayton / gist:3515615
Created August 29, 2012 16:59
expanded from coffeescript
$(document).ready(function() {
var search_box;
search_box = $('#search');
return search_box.bind('keyup', function() {
var items;
items = $('.item_link');
return items.each(function() {
var item, query;
query = $('#search').val();
item = $(this);