GitHub gist

Click into this post to view an embedded GitHub Gist! This is a random Gist I grabbed as an example.


<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>[TITLE]</title>
<link rel="stylesheet" type="text/css" href="css/reset.css" />
<link rel="stylesheet" type="text/css" href="css/style.css?v=1" />
<!–[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script&gt;
<![endif]–>
</head>
<body lang="en">
<div id="container">
<h1>[HEADING]</h1>
</div>
<!– Javascript at the bottom for fast page loading –>
<!– Grab Google CDN's jQuery. fall back to local if necessary –>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script&gt;
<script>!window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery-1.5.0.min.js"%3E%3C/script%3E'))</script>
<!– Site scripts –>
<script src="js/plugins.js"></script>
<script src="js/script.js"></script>
</body>
</html>

view raw

index.html

hosted with ❤ by GitHub


// usage: log('inside coolFunc', this, arguments);
// paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/
window.log = function(){
log.history = log.history || []; // store logs to an array for reference
log.history.push(arguments);
if(this.console) console.log( Array.prototype.slice.call(arguments) );
};
// place any jQuery/helper plugins in here, instead of separate, slower script files.

view raw

plugins.js

hosted with ❤ by GitHub


/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

view raw

reset.css

hosted with ❤ by GitHub


/* Author:
*/

view raw

script.js

hosted with ❤ by GitHub


/* Author:
*/

view raw

style.css

hosted with ❤ by GitHub

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.