Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
// http://paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/ | |
window.log = function () { | |
log.history = log.history || []; | |
log.history.push(arguments); | |
if (this.console) { | |
console.log(Array.prototype.slice.call(arguments)); | |
} | |
}; |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"/> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> | |
<title>My Document</title> | |
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> | |
<link rel="stylesheet" href="/css/all.css"/> | |
<link rel="shortcut icon" href="/images/favicon.ico"/> |