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
<a | |
id="children-age-toggler" | |
data-target-selector="#children-age" | |
data-placement="bottom" | |
href="javascript:;" | |
class="children-age popover-children" | |
data-title="Children's Age" | |
></a> | |
<div id="children-age" class="hidden"> | |
<p>Please select your children's Age</p> |
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 | |
/** Enable my local themes and plugins repository FFS!!! */ | |
add_filter( 'http_request_host_is_external', 'allow_my_custom_host', 10, 3 ); | |
function allow_my_custom_host( $allow, $host, $url ) { | |
if ( $host == 'put.your-repository-domain-here.com' ) | |
$allow = true; | |
return $allow; | |
} |
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
int pulPin = 10; | |
int dirPin = 11; | |
int enblPin = 12; | |
int ledPin = 13; | |
int loops = 0; | |
void setup() { | |
// put your setup code here, to run once: | |
pinMode(pulPin, OUTPUT); |
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
<Directory /usr/share/phpmyadmin> | |
Order allow,deny | |
Allow from 192.168.1.0/24 | |
</Directory> |
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"?> | |
<buildpath> | |
<buildpathentry kind="src" path=""/> | |
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/> | |
<buildpathentry external="true" kind="lib" path="C:/Program Files/eclipse/workspaces/webdev/WordPress/wordpress-3.4.2"/> | |
</buildpath> |
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 | |
/** | |
* Extended Walker class for use with the | |
* Twitter Bootstrap toolkit Dropdown menus in Wordpress. | |
* Edited to support n-levels submenu. | |
* @author johnmegahan https://gist.github.com/1597994, Emanuele 'Tex' Tessore https://gist.github.com/3765640 | |
* @license CC BY 4.0 https://creativecommons.org/licenses/by/4.0/ | |
*/ | |
class BootstrapNavMenuWalker extends Walker_Nav_Menu { |
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 | |
/** | |
* This class removes the default excerpt metabox | |
* and adds a new box with the wysiwyg editor capability | |
* @author etessore | |
*/ | |
class TinyMceExcerptCustomization{ | |
const textdomain = ''; | |
const custom_exceprt_slug = '_custom-excerpt'; |
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
jQuery(document).ready(function(){ | |
jQuery('#slideshow').doSlideshow(); | |
}); | |
jQuery(window).resize(function(){ | |
jQuery('#slideshow').imageResize(); | |
}); | |
jQuery.fn.doSlideshow = function() { | |
if ( |
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 | |
/** | |
* Manage the portfolio feature | |
* @author etessore | |
* | |
*/ | |
class portfolio{ | |
const url_field_name = 'url'; | |
const customer_box_id = 'customer-box'; | |
const client_custom_post_name = 'clients'; |
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
jQuery(document).ready(function(){ | |
jQuery('#container1 .auto-size').textAutoSize({ | |
width: 249, | |
maxSize: 200, | |
minSize: 5, | |
//testEl: jQuery('#auto-size-test'), | |
mode: "ite-binary" | |
}); | |
jQuery('#container2 .auto-size').textAutoSize({ | |
maxSize: 100, |