#Sublime Text 2 - Shortcuts (Mac OSX)
##Default
###General
| Command | Shortcut |
|---|---|
| Command palette | ⌘ + ⇧ + P |
| Toggle side bar | ⌘ + K + B |
| <?php | |
| /** | |
| * Clean HTML string removing all element attributes and elements which are | |
| * not in the provided whitelist (but keeping their allowed children). | |
| * | |
| * @see https://github.com/alixaxel/phunction/blob/master/phunction/HTML.php | |
| * @param string $html to clean | |
| * @param array $whitelist | |
| */ | |
| function clean_html($html, array $whitelist) |
| add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 ); | |
| function woo_remove_product_tabs( $tabs ) { | |
| unset( $tabs['description'] ); // Remove the description tab | |
| unset( $tabs['reviews'] ); // Remove the reviews tab | |
| unset( $tabs['additional_information'] ); // Remove the additional information tab | |
| return $tabs; |
#Sublime Text 2 - Shortcuts (Mac OSX)
##Default
###General
| Command | Shortcut |
|---|---|
| Command palette | ⌘ + ⇧ + P |
| Toggle side bar | ⌘ + K + B |
| skip_files: | |
| - ^(.*/)?app\.yaml | |
| - ^(.*/)?app\.yml | |
| - ^(.*/)?index\.yaml | |
| - ^(.*/)?index\.yml | |
| - ^(.*/)?#.*# | |
| - ^(.*/)?.*~ | |
| - ^(.*/)?.*\.py[co] | |
| - ^(.*/)?.*/RCS/.* | |
| - ^(.*/)?\..* |
| <?php | |
| /** | |
| * WordPress Query Comprehensive Reference | |
| * Compiled by luetkemj - luetkemj.com | |
| * | |
| * CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
| * Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php | |
| */ | |
| $args = array( |
| <?php | |
| /** | |
| * Plugin Name: WooCommerce Installments Example | |
| * Plugin URI: http://claudiosmweb.com/ | |
| * Description: Added the price with 3 installments without interest. | |
| * Author: claudiosanches | |
| * Author URI: http://www.claudiosmweb.com/ | |
| * Version: 1.0 | |
| * License: GPLv2 or later | |
| */ |
http://docs.aws.amazon.com/AmazonVPC/latest/GettingStartedGuide/GetStarted.html
phpMyAdmin
| Type | Protocol | Port Range | Destination |
|---|---|---|---|
| SSH | TCP | 22 | 0.0.0.0/0 |