- jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
- Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
- AngularJS - Conventions based MVC framework for HTML5 apps.
- Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
- lawnchair - Key/value store adapter for indexdb, localStorage
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
@font-face { | |
font-family: 'playbill'; | |
src: url("customfonts/playbill-webfont.eot"); | |
src: url("customfonts/playbill-webfont.eot?#iefix") format('embedded-opentype'), | |
url("customfonts/playbill-webfont.woff") format('woff'), | |
url("customfonts/playbill-webfont.ttf") format('truetype'), | |
url("customfonts/playbill-webfont.svg#playbillregular") format('svg');*/ | |
font-weight: normal; | |
font-style: normal; |
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
Show hidden characters
{ | |
"folders": [{ | |
"follow_symlinks": true, | |
"path": ".", | |
}], | |
"settings": { | |
"xdebug": { | |
// Replace {site_name} throughout, your paths may vary depending on our config | |
"path_mapping": { | |
"/vagrant/www/{site_name}": "~/VVV/www/{site_name}", |
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
/** | |
* Dont Update the Plugin | |
* If there is a plugin in the repo with the same name, this prevents WP from prompting an update. | |
* | |
* @since 1.0.0 | |
* @author Jon Brown | |
* @param array $r Existing request arguments | |
* @param string $url Request URL | |
* @return array Amended request arguments | |
*/ |
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
/** | |
* Don't Update Theme. | |
* | |
* If there is a theme in the repo with the same name, this prevents WP from prompting an update. | |
* | |
* @since 1.0.0 | |
* @author Mark Jaquith | |
* @link http://markjaquith.wordpress.com/2009/12/14/excluding-your-plugin-or-theme-from-update-checks/ | |
* @param array $r Existing request arguments | |
* @param string $url Request URL |
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
/** | |
* Sample Shortcode | |
* @since 1.0.0 | |
* | |
* @param null | |
* @return string Site URL | |
*/ | |
function jb_sample_shortcode( $atts ) { | |
ob_start(); ?> | |
<!-- hello world --> |
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 lm_do_video_navigation() { | |
// This runs on the grandchild. It finds the grandparent, then it's children, and loops through | |
// the children in order building an array of the grandchildren in menu_order. | |
// get top parent post ID | |
$top_parent_ID = get_page(array_pop(get_post_ancestors($post->ID)))->ID; | |
$args = array( |
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
@media only screen and (max-width: 940px) { | |
div.optinWrapper.emailOptinWrapper8418.optinWrapper8418 { | |
height: auto !important; /* or better remove inline style */ | |
} | |
div#hc_shortcode_form8418 { | |
height: auto !important; /* or better remove inline style */ | |
max-width: 100% !important; | |
overflow: hidden; | |
} |
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 |
- 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
- Compass - Open source CSS Authoring Framework.
- Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
- Font Awesome - The iconic font designed for Bootstrap.
- Zurb Foundation - Framework for writing responsive web sites.
- SASS - CSS extension language which allows variables, mixins and rules nesting.
- Skeleton - Boilerplate for responsive, mobile-friendly development.
OlderNewer