Skip to content

Instantly share code, notes, and snippets.

@Boztown
Boztown / 0_reuse_code.js
Created September 6, 2016 16:50
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@Boztown
Boztown / clearfix.css
Created March 14, 2012 19:16
CSS: clearfix
/* For modern browsers */
.clearfix:before,
.clearfix:after {
content:"";
display:table;
}
.clearfix:after { clear:both; }
/* For IE 6/7 (trigger hasLayout) */
.clearfix { zoom:1; }
@Boztown
Boztown / html_template.html
Last active October 1, 2015 18:38
HTML: HTML5 Template
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.js"></script>
<script type="text/javascript">
</script>
<style text="text/css">
@Boztown
Boztown / source.js
Created March 14, 2012 17:56
Javascript: jQuery Document Ready
$(function() {
});