Skip to content

Instantly share code, notes, and snippets.

@thealscott
thealscott / jquery.autolink.js
Created May 29, 2012 15:19
Extension of the handy autolink jQuery plugin, so that it has a method for handling twitter hashtags. Original from http://kawika.org/jquery/index.php
@thealscott
thealscott / key_exists_and_equals
Created May 15, 2012 16:49
Returns if the key of an array exists and equals the given value.
function key_exists_and_equals($array, $key, $value)
{
return (isset($array[$key]) && $array[$key] == $value);
}