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
/* | |
Theme Name: Child Theme {Child Theme of Worpress Foundation} | |
Theme URI: http://320press.com/wpfoundation | |
Description: A bones/Zurb foundation based wordpress theme. | |
Version: 1.0 | |
Template: wordpress-foundation | |
*/ | |
@import url("../wordpress-foundation/style.css"); |
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 Module = (function(){ | |
// private var | |
var _privateVar = "private"; | |
// private method | |
function _privateMethod() { | |
return "private bar"; | |
} | |
// return public |
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
/** | |
* Takes a jQuery collection and wraps each 'groupSize' items with 'wrapHtml' | |
* Example: $('#Example span').wrapInGroups('<div/>', 4); | |
* Will wrap every 4 span's inside #Example with a div | |
* See for yourself: http://jsfiddle.net/M9ZFh/ | |
* Author: iMoses (imoses.g@gmail.com) | |
*/ | |
(function($) { | |
$.fn.wrapInGroups = function(wrapHtml, groupSize) { | |
var selector = this.selector; |
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
.break { | |
margin-left:-100%; | |
margin-right:-100%; | |
} |
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
$args=array( | |
'orderby'=> 'modified', | |
'order' => 'ASC', | |
'post_type' => 'post', | |
'post_status' => 'publish', | |
'posts_per_page' => 5, | |
'caller_get_posts'=> 1 | |
); | |
$my_query = null; | |
$my_query = new WP_Query($args); |
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
# Aliases | |
alias rightMonitorVertOffset 270 | |
alias mailOffset 220 | |
alias mailheight (1920/4) | |
alias textmateheight (1920-${mailheight}) | |
alias topLeft corner top-left resize:screenSizeX/2;screenSizeY/2 | |
alias topRight corner top-right resize:screenSizeX/2;screenSizeY/2 | |
alias topFull corner top-left resize:screenSizeX;screenSizeY/2 | |
alias bottomLeft corner bottom-left resize:screenSizeX/2;screenSizeY/2 | |
alias bottomRight corner bottom-right resize:screenSizeX/2;screenSizeY/2 |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.19370138645172119</real> | |
<key>Green Component</key> | |
<real>0.15575926005840302</real> |
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
set completion-ignore-case On |
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
<?php | |
function gf_custom_validation_message($message, $form){ | |
return '<div class="validation_error">Please correct the following errors:<br/><div id="error_list"></div></div>'; | |
} | |
add_filter("gform_validation_message", "gf_custom_validation_message", 10, 2); |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
OlderNewer