updated 2021-06-23
Version 2105 (Build 14026.20302)
==========================================
For local development you could also use Nginx with PHP as an replacement for XAMPP.
c:\nginxc:/nginx/config/nginx.conf and replace the server { ... } section with this configuration:| <?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 | |
| */ |
| <?php | |
| /** | |
| * @file | |
| * Basic demonstration of how to do parallel threads in PHP. | |
| */ | |
| // This array of "tasks" could be anything. For demonstration purposes | |
| // these are just strings, but they could be a callback, class or | |
| // include file (hell, even code-as-a-string to pass to eval()). |
| # RGB to Lab conversion | |
| # Step 1: RGB to XYZ | |
| # http://www.easyrgb.com/index.php?X=MATH&H=02#text2 | |
| # Step 2: XYZ to Lab | |
| # http://www.easyrgb.com/index.php?X=MATH&H=07#text7 | |
| def rgb2lab(inputColor): |
| sudo yum install libmpc-devel mpfr-devel gmp-devel | |
| cd ~/Downloads | |
| curl ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.9.2/gcc-4.9.2.tar.bz2 -O | |
| tar xvfj gcc-4.9.2.tar.bz2 | |
| cd gcc-4.9.2 | |
| ./configure --disable-multilib --enable-languages=c,c++ | |
| make -j 4 | |
| make install |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style type="text/css"> | |
| #bar{ | |
| width:200px; | |
| height:25px; | |
| border:1px solid black; | |
| position:relative; |