Skip to content

Instantly share code, notes, and snippets.

View blakeeb's full-sized avatar

Blake blakeeb

  • 1Djziovi8gCjbtfh6WaBEjzt6p5YmFSbZ1
View GitHub Profile
@blakeeb
blakeeb / blink.css
Created January 24, 2013 01:51
bringin' back the beloved HTML blink tag
@blakeeb
blakeeb / circle_event_manager.js
Created January 3, 2013 19:29
To handle events on CSS circles properly, we have to ignore the corners of their bounding boxes. (found this copy/pasted on many blogs, thought I would keep here to clean up eventually)
$.CircleEventManager = function( options, element ) {
this.$el = $( element );
this._init( options );
};
$.CircleEventManager.defaults = {
onMouseEnter : function() { return false },
onMouseLeave : function() { return false },
onClick : function() { return false }
};
@blakeeb
blakeeb / youtube_bug.html
Last active December 9, 2015 20:18
YouTube Bug Report: Inconsistent Rendering between AS3 and HTML5
<html>
<head>
<style>
iframe { border: 0; }
</style>
</head>
<body>
<h1>Inconsistent Rendering Between AS3 and HTML5 YouTube Players</h1>
<p>Examples from <a href="https://developers.google.com/youtube/player_parameters#AS3_Object_Embeds">Google's Documentation</a></p>
@blakeeb
blakeeb / htop-on-lion.md
Created April 12, 2012 17:54
Installing htop on OSX Lion