Skip to content

Instantly share code, notes, and snippets.

View rotten77's full-sized avatar

Jan Zatloukal rotten77

View GitHub Profile
@vrana
vrana / AnyKeyArray.php
Last active December 17, 2015 08:39
Array-like object allowing any serializable keys
<?php
class AnyKeyArray implements ArrayAccess, Iterator, Countable {
private $values = array();
// ArrayAccess
function offsetSet($key, $value) {
$this->values[serialize($key)] = $value;
}
@jgarber
jgarber / MIT-LICENSE.txt
Created April 4, 2012 14:57
Responsive video
Copyright (c) 2011 ZURB, http://www.zurb.com/