Skip to content

Instantly share code, notes, and snippets.

@andygimma
andygimma / gist:7695745
Created November 28, 2013 17:44
Bootstrap 3 example
<html>
<head>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css">
</head>
<body>
<!-- Fixed navbar -->
<div class="navbar navbar-inverse navbar-default navbar-fixed-top" role="navigation">
@andygimma
andygimma / gist:7695758
Last active December 20, 2018 10:38
Bootstrap 3 example template
<html>
<head>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css">
</head>
<body>
<!-- PART 3 - ROWS AND COLUMNS -->
<!-- Fixed navbar -->
@andygimma
andygimma / gist:7698015
Created November 28, 2013 20:59
Bootstrap setup
<html>
<head>
<link rel=”stylesheet” href=”http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css”>
</head>
<body>
<script src=”https://code.jquery.com/jquery-1.10.2.min.js”></script>
<script src=”http://netdna.bootstrapcdn.com/bootstrap/3.0.2/js/bootstrap.min.js”></script>
@andygimma
andygimma / gist:7698053
Created November 28, 2013 21:02
Bootstrap Jumbotron
<div class="jumbotron">
<div class="container">
<h1>Hello, world!</h1>
<p>This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
<p><a class="btn btn-primary btn-lg" role="button">Learn more &raquo;</a></p>
</div>
</div>
@andygimma
andygimma / gist:7698078
Created November 28, 2013 21:04
Bootstrap Rows and Columns
<div class="container">
<!-- Example row of columns -->
<div class="row">
<div class="col-md-4">
<h2>Heading</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
<p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
</div>
<div class="col-md-4">
<h2>Heading</h2>
@andygimma
andygimma / gist:7698095
Created November 28, 2013 21:05
Bootstrap Nav
<div class="navbar navbar-inverse navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Project name</a>
@andygimma
andygimma / dabblet.css
Created November 11, 2015 19:29
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
var search = function(name) {
for (var friend in friends) {
if(friend.firstName === name) {
console.log(friend);
return friend;
}
}
}
var search = function(name) {
for (var friend in friends) {
if(friends[friend].firstName === name) {
console.log(friends[friend]);
return friends[friend];
}
}
}
var sites = {
A1: {
name: "Wendy Williams",
city: "Houston",
work_type: "flood",
urgency: 5
},
A2: {
name: "Jello Biafra",
city: "Houston",