- Open terminal application
- Enter “which php" and if it says “/usr/bin/php”, then proceed to step 3.
- Enter: sudo nano ~/.bash_profile
- Then paste this:
export XAMPP_HOME=/Applications/XAMPP
export PATH=${XAMPP_HOME}/bin:${PATH}
export PATH
| sudo rm -rf /Volumes/*/.Trashes | 
Disabling Spotlight in Snow Leopard is pretty easy, launch the Terminal and type the following command:
sudo mdutil -a -i off
This tells the Spotlight manager to disable all indexing on all volumes, the command will require your administrative password to execute.
Re-enabling Spotlight in Mac OS X 10.6 Snow Leopard is just as easy, just reverse the command to:
sudo mdutil -a -i on
Now Spotlight indexing will be back on
Getting started:
Related tutorials:
| <?php | |
| /* | |
| Plugin Name: HowTo Plugin | |
| Plugin URI: | |
| Description: This Plugin demonstrates how you can build your own plugin pages using the WordPress provided draggable metaboxes, requires WordPress 2.7 version, supports WordPress 2.8 changed boxing layout engine | |
| Author: Heiko, Frank | |
| Author URI: http://bueltge.de | |
| Version: 0.1 | |
| License: | 
| <?php | |
| /** | |
| * Get all type posts | |
| * | |
| * @return void | |
| * @author alispx | |
| **/ | |
| function alispx_get_type_posts_data( $post_type = 'post' ) { | 
| <?php | |
| /* | |
| Element Description: VC Info Box | |
| */ | |
| // Element Class | |
| class ClientInfoBoxLoop extends WPBakeryShortCode | |
| { | |
| // Element Init | 
<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
<meta name='language' content='ES'>
<meta name='robots' content='index,follow'>| add_filter( 'woocommerce_billing_fields', 'custom_woocommerce_billing_fields' ); | |
| function custom_woocommerce_billing_fields( $fields ) { | |
| // Over-ride a single label | |
| $fields['billing_first_name']['label'] = 'Your label'; | |
| // Over-ride a single required value | |
| $fields['billing_first_name']['required'] = false; | 
| initApplyImageLoad: function () { | |
| var $container = $('.site-content'); | |
| var $status = $('#status'); | |
| var $progress = $('progress'); | |
| var supportsProgress = $progress[0] && | |
| // IE does not support progress | |
| $progress[0].toString().indexOf('Unknown') === -1; | |
| var loadedImageCount, imageCount; |