Skip to content

Instantly share code, notes, and snippets.

View farnhizzle's full-sized avatar

Mike Farnham farnhizzle

  • Bizjournals.com
  • Charlotte, NC
View GitHub Profile
@farnhizzle
farnhizzle / httpd.conf
Created October 12, 2012 18:42 — forked from batuhan/httpd.conf
OS X Lion Apache2 Default httpd.conf
#
# Mac OS X / Mac OS X Server
# The <IfDefine> blocks segregate server-specific directives
# and also directives that only apply when Web Sharing or
# server Web Service (as opposed to other services that need Apache) is on.
# The launchd plist sets appropriate Define parameters.
# Generally, desktop has no vhosts and server does; server has added modules,
# custom virtual hosts are only activated when Web Service is on, and
# default document root and personal web sites at ~username are only
# activated when Web Sharing is on.
@farnhizzle
farnhizzle / index.html
Created July 10, 2012 21:00
A web page created at CodePen.io
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>slick btn &middot; CodePen</title>
<!--
Copyright (c) 2012 Mike Farnham, http://codepen.io/farnhizzle
Permission is hereby granted, free of charge, to any person obtaining
@farnhizzle
farnhizzle / index.html
Created July 10, 2012 21:00
A web page created at CodePen.io
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>slick btn &middot; CodePen</title>
<!--
Copyright (c) 2012 Mike Farnham, http://codepen.io/farnhizzle
Permission is hereby granted, free of charge, to any person obtaining
@farnhizzle
farnhizzle / Tab Switcher
Created April 11, 2011 17:49
This is a work in progress of a standard tab switcher function
if($('#payment-picker').length > 0) {
$('.discount-form').persistentPanel({
toggler: 'div.discounts h3 .toggle',
togglerContents: false,
togglerClass: {open: 'up', closed: 'down'},
cookieName: 'discountForm'
});
// transfer click on h3 to toggler for pP */
$('div.discounts h3').click(function(){$(this).find('div.toggle').click();});