Following line does't have /products.*
page. This tells Nginx to cache all product pages by default.
Idea is fast loading product pages will improve scalability of a store and also conversion.
These keys are for Office Professional Plus 2019 | |
Version: Office19_RTM19_ProPlus2019VL_MAK_AE | |
BN8D3-W2QKT-M7Q73-Y3JWK-KQC63 (Activation left: 5000+) | |
PNB29-Y9TKP-BJFD2-RBCXR-DJ4XQ (Activation left: 1500+) | |
Download Link: ed2k://|file|cn_office_professional_plus_2019_x86_x64_dvd_5e5be643.iso|3775004672|1E4FFA5240F21F60DC027F73F1C62FF4|/ | |
or please download from trusted source! |
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
# If images not found on development site, load from production | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^wp-content/uploads/[^/]+/.+\.(jpe?g|jpg|png|gif)$ https://production.com/$0 [R=302,L] |
# To enable CORS you should add lines with CORS rules below to your valet.conf file | |
# Find the file /usr/local/etc/nginx/valet/valet.conf - this is Valet conf for Nginx | |
# of try to execute `locate valet.conf` and find the `valet.coinf` in `nginx` subdirectory | |
# after you edit your valet.conf do not forget to execute `valet restart` | |
server { | |
listen 80 default_server; | |
root /; | |
charset utf-8; | |
client_max_body_size 128M; |
<?php | |
/* | |
This script will allow you to send a custom email from anywhere within wordpress | |
but using the woocommerce template so that your emails look the same. | |
Created by craig@123marbella.com on 27th of July 2017 | |
Put the script below into a function or anywhere you want to send a custom email | |
*/ |
module.exports.register = function (Handlebars, options) { | |
Handlebars.registerHelper('concat', function() { | |
var outStr = ''; | |
for(var arg in arguments){ | |
if(typeof arguments[arg]!='object'){ | |
outStr += arguments[arg]; | |
} | |
} | |
return outStr; |
<?php | |
/** | |
* deploy.php by Hayden Schiff (oxguy3) | |
* Available at https://gist.github.com/oxguy3/70ea582d951d4b0f78edec282a2bebf9 | |
* | |
* No rights reserved. Dedicated to public domain via CC0 1.0 Universal. | |
* See https://creativecommons.org/publicdomain/zero/1.0/ for terms. | |
*/ | |
// random string of characters; must match the "Secret" defined in your GitHub webhook |
<?php | |
class My_Custom_My_Account_Endpoint { | |
/** | |
* Custom endpoint name. | |
* | |
* @var string | |
*/ | |
public static $endpoint = 'my-custom-endpoint'; |
<?php | |
/*Allow Span tags in editor*/ | |
function myextensionTinyMCE($init) { | |
// Command separated string of extended elements | |
$ext = 'span[id|name|class|style]'; | |
// Add to extended_valid_elements if it alreay exists | |
if ( isset( $init['extended_valid_elements'] ) ) { | |
$init['extended_valid_elements'] .= ',' . $ext; | |
} else { |
Following line does't have /products.*
page. This tells Nginx to cache all product pages by default.
Idea is fast loading product pages will improve scalability of a store and also conversion.
# Defines all Languages known to GitHub. | |
# | |
# type - Either data, programming, markup, prose, or nil | |
# aliases - An Array of additional aliases (implicitly | |
# includes name.downcase) | |
# ace_mode - A String name of the Ace Mode used for highlighting whenever | |
# a file is edited. This must match one of the filenames in http://git.io/3XO_Cg. | |
# Use "text" if a mode does not exist. | |
# wrap - Boolean wrap to enable line wrapping (default: false) | |
# extensions - An Array of associated extensions (the first one is |