This file contains hidden or 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
| function smsMail() | |
| { | |
| try | |
| { | |
| var label = GmailApp.getUserLabelByName('smsMail'); | |
| var threads = label.getThreads(); | |
| var now = new Date().getTime(); | |
| var cal=getCalendar(); | |
| for(i in threads) |
This file contains hidden or 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 | |
| add_filter( 'woocommerce_checkout_fields' , 'woo_remove_billing_checkout_fields' ); | |
| /** | |
| * Remove unwanted checkout fields | |
| * | |
| * @return $fields array | |
| */ | |
| function woo_remove_billing_checkout_fields( $fields ) { |
This file contains hidden or 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 | |
| /* | |
| Plugin Name: My Widget | |
| Plugin URI: http://mydomain.com | |
| Description: My first widget | |
| Author: Me | |
| Version: 1.0 | |
| Author URI: http://mydomain.com | |
| */ |
This file contains hidden or 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//list terms in a given taxonomy using wp_list_categories (also useful as a widget if using a PHP Code plugin) | |
| $taxonomy = 'Your_term_here'; | |
| $orderby = 'name'; | |
| $show_count = 0; // 1 for yes, 0 for no | |
| $pad_counts = 0; // 1 for yes, 0 for no | |
| $hierarchical = 1; // 1 for yes, 0 for no | |
| $title = ''; | |
| $empty = 0; |
This file contains hidden or 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
| # Global restrictions configuration file. | |
| # Designed to be included in any server {} block.</p> | |
| location = /favicon.ico { | |
| log_not_found off; | |
| access_log off; | |
| } | |
| location = /robots.txt { | |
| allow all; | |
| log_not_found off; |
This file contains hidden or 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
| ## | |
| # You should look at the following URL's in order to grasp a solid understanding | |
| # of Nginx configuration files in order to fully unleash the power of Nginx. | |
| # http://wiki.nginx.org/Pitfalls | |
| # http://wiki.nginx.org/QuickStart | |
| # http://wiki.nginx.org/Configuration | |
| # | |
| # Generally, you will want to move this file somewhere, and start with a clean | |
| # file but keep this around for reference. Or just disable in sites-enabled. | |
| # |
This file contains hidden or 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
| <!-- Google Code dành cho Thẻ tiếp thị lại --> | |
| <!-------------------------------------------------- | |
| Không thể liên kết thẻ tiếp thị lại với thông tin nhận dạng cá nhân hay đặt thẻ tiếp thị lại trên các trang có liên quan đến danh mục nhạy cảm. Xem thêm thông tin và hướng dẫn về cách thiết lập thẻ trên: http://google.com/ads/remarketingsetup | |
| ---------------------------------------------------> | |
| <script type="text/javascript"> | |
| var google_tag_params = { | |
| ecomm_prodid: '<?php get_the_ID(); ?>', | |
| ecomm_pagetype: 'singleproduct', | |
| ecomm_totalvalue: '<?php echo $product->get_price_html(); ?>', | |
| dynx_itemid: '<?php get_the_ID(); ?>', |
This file contains hidden or 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 heavily customized VCL to support WordPress | |
| # Some items of note: | |
| # Supports https | |
| # Supports admin cookies for wp-admin | |
| # Caches everything | |
| # Support for custom error html page | |
| vcl 4.0; | |
| import directors; | |
| import std; |
This file contains hidden or 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
| server { | |
| server_name www.cantwo.net; | |
| rewrite ^(.*) http://cantwo.net$1 permanent; | |
| } | |
| server { | |
| listen 80; | |
| access_log off; | |
| # access_log /home/cantwo.net/logs/access_log; | |
| error_log off; | |
| # error_log /home/cantwo.net/logs/error.log; |