Skip to content

Instantly share code, notes, and snippets.

View jrodl3r's full-sized avatar

John Rodler jrodl3r

View GitHub Profile
@jrodl3r
jrodl3r / H5BP_Clone
Created October 29, 2012 01:55
Clone H5BP to New Project
git clone https://github.com/h5bp/html5-boilerplate.git H5BP_Custom
cd H5BP_Custom
git remote rm origin
git remote add origin https://github.com/JRodl3r/H5BP_Custom.git
git push origin master
/*! normalize.css v1.0.1 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/*
* Corrects `block` display not defined in IE 6/7/8/9 and Firefox 3.
*/
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="H5BP + SASS + Compass">
<meta name="viewport" content="width=device-width">
// Avoid `console` errors in browsers that lack a console.
(function() {
var method;
var noop = function noop() {};
var methods = [
'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error',
'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log',
'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd',
'timeStamp', 'trace', 'warn'
];
@jrodl3r
jrodl3r / gist:4447397
Created January 3, 2013 21:20
Floating Scroll Title Menu
<script type="text/javascript">
$(document).ready(function () {
// Fixed-Scroll H2 Control Menu
var menuYloc = parseInt($('h2.floating-title').css('top'));
var menuOffset = 0;
$(window).scroll(function () {
// Fixed-Scroll H2 Control Menu (Logic)
@jrodl3r
jrodl3r / gist:5918680
Created July 3, 2013 14:46
Basic OSX .gitignore
# OSX
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# SASS
@jrodl3r
jrodl3r / gist:6571398
Created September 15, 2013 14:48
github.php
<?php `git pull`; ?>
<h1>Github Pull Command Sent.</h1>
@jrodl3r
jrodl3r / gist:c6576cfcb1d3862ecedd
Last active August 29, 2015 14:03
sample gist

H5BPCodeKit

H5BPCodeKit is a collection of tools and libraries that work in unison to form a simple starting point for building Apps & Websites (without the Command Line). H5BPCodeKit uses CodeKit for Sass-CSS pre-compiling, JavaScript minification, and more.

Features

@jrodl3r
jrodl3r / gist:fafcce4c9cfe6a9e4311375469f6f9da
Created July 1, 2016 19:37
webpack / postcss-browser-reporter
[
require('postcss-import')({
path: path.join(__dirname, '..', 'app', 'css'),
addDependencyTo: webpack
}),
require('postcss-cssnext')({
browsers: ['> 1%', 'last 2 versions']
}),
require('postcss-browser-reporter'),
require('postcss-reporter')({ clearMessages: true })
# Sexy Solarized Bash Prompt, inspired by "Extravagant Zsh Prompt"
# Customized for the Solarized color scheme by Sean O'Neil
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then TERM=gnome-256color; fi
if tput setaf 1 &> /dev/null; then
tput sgr0
if [[ $(tput colors) -ge 256 ]] 2>/dev/null; then
BASE03=$(tput setaf 234)
BASE02=$(tput setaf 235)
BASE01=$(tput setaf 240)