https://gist.github.com/mircobabini/7fa49500c273be7cd53a#file-spacers-css https://gist.github.com/mircobabini/470a61bdc5f48cc7ffd1#file-angular-navigator-js https://gist.github.com/mircobabini/eb70a82daf94c634a8b4#file-angular-sidemenu-navcontroller-js https://gist.github.com/mircobabini/68b00affee451eb58a13 https://gist.github.com/mircobabini/e4f497db0b9d9c214550
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
$scope.toggleDelete = function(){ | |
if( $ionicListDelegate.showDelete() ){ | |
$ionicListDelegate.showDelete(false); | |
}else{ | |
$ionicListDelegate.showDelete(true); | |
} | |
} |
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 | |
class JSON_API_Controller_Helper { | |
/** | |
* @global json_api $json_api | |
* @return array | |
*/ | |
protected function _get () { | |
global $json_api; | |
$args = func_get_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
/** | |
* @author Mirco Babini, Web & Mobile App Developer | |
* @version 1.2.7 | |
* https://gist.github.com/mircobabini/0d0410498c975f30d6fb | |
* | |
* pattern for margins: [m]{direction}{amount}, the m is optional | |
* pattern for paddings: p{direction}{amount}, the p is NOT optional | |
* | |
* the directions are top, right, bottom, left, horizontal (left and right) and vertical (top and bottom) | |
* you can also use the short directions, that are t, r, b, l, h and v |
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
User-agent: * | |
noindex: /wp-admin/ | |
noindex: /wp-includes/ | |
noindex: /wp-content/plugins/revslider/ |
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 dodo_shortcode( $string ){ | |
$compiled = do_shortcode( $string ); | |
if( $compiled != $string ){ | |
return dodo_shortcode( $string ); | |
} | |
return $compiled; | |
} |
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
$scope.getBrickHeight = function(){ | |
if( $scope.brickHeight === undefined ){ | |
$scope.brickHeight = ( ( jQuery(document).width() / jQuery(document).height() ) * 40 ) + '%'; | |
} | |
return $scope.brickHeight; | |
} |