- Autocomplete
- Autocomplete Plus
- Zen
- Color Picker
- Linter
- Linter Php
- Linter csslint
- Linter Jshint
- Linter Jsonlint
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
{ | |
paging: { | |
step: 50, | |
total: 3, | |
}, | |
table: { | |
params: { | |
description_tooltip: "true", | |
filter_addon: "false", | |
paging_buttons: { |
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
{ | |
"status": { | |
"state": "ok" | |
}, | |
"paging": { | |
"affected": 9, | |
"actual": 9, | |
"skipped": 0, | |
"limit": 50 | |
}, |
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
$.get("http://www.earthtools.org/height/" + LATITUDE + "/" + LONGITUDE, function(heightdata) { | |
var xml = heightdata, | |
xmlDoc = $.parseXML(xml), | |
$xml = $(xmlDoc), | |
$height_mt = $xml.find("meters"), | |
$height_ft = $xml.find("feet"); | |
console.log("Metri: " + $height_mt.text(), "Piedi: " + $height_ft.text()); | |
}); |
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 explodeTree($array, $delimiter = "_", $baseval = false) { | |
if(!is_array($array)) return false; | |
$splitRE = "/" . preg_quote($delimiter, "/") . "/"; | |
$returnArr = array(); | |
foreach ($array as $key => $val) { | |
// Get parent parts and the current leaf | |
$parts = preg_split($splitRE, $key, -1, PREG_SPLIT_NO_EMPTY); | |
$leafPart = array_pop($parts); |
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
<!-- Begin --> | |
<?php | |
$menu_name = 'primary'; | |
$locations = get_nav_menu_locations(); | |
$menu = wp_get_nav_menu_object($locations[$menu_name]); | |
$menuitems = wp_get_nav_menu_items($menu->term_id, array('order' => 'DESC')); | |
?> | |
<?php | |
$count = 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
categories: { | |
"Technology", | |
"Finance", | |
"Justice", | |
"Culture", | |
"Art", | |
"Education", | |
"Science", | |
"Nature", | |
"Live", |
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
.fa-bounce { | |
display: inline-block; | |
position: relative; | |
-moz-animation: bounce 1s infinite linear; | |
-o-animation: bounce 1s infinite linear; | |
-webkit-animation: bounce 1s infinite linear; | |
animation: bounce 1s infinite linear; | |
} | |
@-webkit-keyframes bounce { |
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 | |
/** | |
* Explode any single-dimensional array into a full blown tree structure, | |
* based on the delimiters found in it's keys. | |
* | |
* The following code block can be utilized by PEAR's Testing_DocTest | |
* <code> | |
* // Input // | |
* $key_files = array( | |
* "/etc/php5" => "/etc/php5", |