This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function($) { | |
// Equal height items | |
$.fn.equalHeight = function(options) { | |
var opts = $.extend({}, $.fn.equalHeight.defaults, options); | |
return this.each(function() { | |
var $this = $(this), | |
o = $.meta ? $.extend({}, opts, $this.data()) : opts, | |
maxHeight = 0; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function($) { | |
// Equal height items | |
$.fn.equalHeight = function(options) { | |
var opts = $.extend({}, $.fn.equalHeight.defaults, options); | |
return this.each(function() { | |
var $this = $(this), | |
o = $.meta ? $.extend({}, opts, $this.data()) : opts, | |
maxHeight = 0; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var SITE = SITE || {}; | |
SITE.fileInputs = function() { | |
var $this = $(this), | |
$val = $this.val(), | |
valArray = $val.split('\\'), | |
newVal = valArray[valArray.length-1], | |
$button = $this.siblings('.button'), | |
$fakeFile = $this.siblings('.file-holder'); | |
if(newVal !== '') { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $settings = array(); | |
var $settings_default = array( | |
'honeepot_field' => 'honeepot', | |
'honeepot_error' => 'Sorry, but we think you might be a robot.' | |
); | |
// Setup with the default settings | |
function settings() | |
{ | |
$settings['honeepot_field'] = $this->settings_default['honeepot_field']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{preload_replace:channel="blog"} | |
{exp:channel:calendar channel="{channel}" | |
show_future_entries="no" display_by="day"} | |
<div class="content"> | |
<h3>{date format="%F %Y"}</h3> | |
<ul class="nav-calendar"> | |
<?php if('{date format="%Y"}' == '2007') : ?> | |
<?php if ('{date format="%n"}' > '1') : ?> | |
<li class="prev"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias getpath='pwd | tr -d "\r\n" | pbcopy' | |
alias ls='ls -lah' | |
alias go='git checkout' | |
alias gitdel='git ls-files --deleted | xargs git rm' | |
source ~/scripts/git-completion.bash | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{preload_replace:channel="blog|work"} | |
{exp:rss:feed channel="{channel}"} | |
<?xml version="1.0" encoding="{encoding}"?> | |
<rss version="2.0" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" | |
xmlns:admin="http://webns.net/mvcb/" | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:content="http://purl.org/rss/1.0/modules/content/" | |
xmlns:atom="http://www.w3.org/2005/Atom"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#something { | |
background: rgb(69, 67, 67); | |
background: rgba(69, 67, 67, 0.95); | |
-moz-border-radius: 5px; | |
-webkit-border-radius: 5px; | |
border-radius: 5px; | |
-moz-box-shadow: 1px 1px 5px rgba(0,0,0,0.5); | |
-webkit-box-shadow: 1px 1px 5px rgba(0,0,0,0.5); | |
box-shadow: 1px 1px 5px rgba(0,0,0,0.5); | |
left: 46px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<nav> | |
<ul> | |
<li><a href="#">Nav Item</a></li> | |
<li><a href="#">Nav Item</a></li> | |
<li><a href="#">Nav Item</a></li> | |
</ul> | |
</nav> | |
<section> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p> |
OlderNewer