Skip to content

Instantly share code, notes, and snippets.

View JBreit's full-sized avatar

Jason Breitigan JBreit

  • Inner Mind Co.
  • Lancaster, PA
View GitHub Profile
#!/bin/sh
[ $# -eq 0 ] && { echo "Usage: ${0} version-string" ; exit 1; }
VERSION=${1}
PREFIX="/usr/local"
SRC_CWD="${PREFIX}/src"
SRC_DIR="${SRC_CWD}/node"
SRC_GIT="git://github.com/joyent/node.git"
<!-- Example on how to set class="active" on active navigation links -->
<!-- These links will always be visible -->
<li class="{{ URI::is( 'home') ? 'active' : '' }}">
<a href="{{ URL::to( 'home') }}">
Home
</a>
</li>
<li class="{{ URI::is( 'gallery') ? 'active' : '' }}">
<?php
class Lesson extends Eloquent {
protected $fillable = ['title', 'body'];
<div class="billboard">
<div class="carousel">
<div class="container">
</div><!-- .container -->
</div><!-- .carousel -->
</div><!-- .billboard -->
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="container">
<?php
class BaseController extends Controller {
/**
@JBreit
JBreit / home_test.html
Created October 27, 2013 20:19
Picture Polyfill for image swap based on display resolution with issues with the images being cut off when absolutely positioned bottom and left 0.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Spundies">
<meta name="author" content="Jason Breitigan">
<link rel="shortcut icon" href="images/favicon.ico">
<!DOCTYPE html>
<!-- saved from url=(0032)http://www.nicbrunson.com/#stats -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="">
<meta name="viewport" content="width=device-width; initial-scale=0.5; maximum-scale=1.0; user-scalable=0;">
<link rel="icon" href="favicon.ico">
<link rel="shortcut icon" href="favicon.ico">
<title>Nic Brunson</title>
<link href="css/manifest.css" rel="stylesheet" type="text/css">
a img {
border: none !important;
}
body {
font-family: "Helvetica Neue" , sans-serif;
margin: 0 auto;
}
footer {
color: #FFFFFF;
height: 50px;
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Come Alive Chiropractic - Home</title>
<style type="text/css" media="screen">
@import "css/comealive_style.css";
</style>
<!--[if gte IE 9]>
<style type="text/css">
a img {
border: none;
}
article.content-article p img {
float: left;
height: 250px;
width: 350px;
margin-right: 20px;
}
article#ben-info p img {