Skip to content

Instantly share code, notes, and snippets.

<!---
Parts of this are based on Tim Dawe's
http://amazonsig.riaforge.org
and
Joe Danziger's Amazon S3 REST Wrapper
http://amazons3.riaforge.org/
Written by Patrick Liess
@Macagare
Macagare / Normalize
Created November 21, 2012 10:16 — forked from cybermarinella/Normalize
CSS: Normalize
/*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
/* =============================================================================
HTML5 display definitions
========================================================================== */
/*
* Corrects block display not defined in IE6/7/8/9 & FF3
*/
@Macagare
Macagare / Javascript: interval.js
Created October 31, 2012 11:02 — forked from manast/interval.js
Javascript: Accurate Javascript setInterval replacement
function interval(duration, fn){
this.baseline = undefined
this.run = function(){
if(this.baseline === undefined){
this.baseline = new Date().getTime()
}
fn()
var end = new Date().getTime()
this.baseline += duration
@Macagare
Macagare / Javascript: self-executing-anonymous-function.js
Created October 31, 2012 10:53 — forked from rakeshpai/self-executing-anonymous-function.js
Javascript: Self-executing anonymous function
(function() {
/* Your code here */
}())
@Macagare
Macagare / html5_template.html
Created October 29, 2012 08:20 — forked from nathansmith/html5_template.html
HTML: Simple HTML5 Template
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge, chrome=1" />
<title>untitled</title>
<link rel="stylesheet" href="" />
</head>
<body>