The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
| <?php | |
| /** | |
| * List of timezones | |
| */ | |
| return array( | |
| 'Pacific/Midway' => '(UTC-11:00) Midway', | |
| 'Pacific/Niue' => '(UTC-11:00) Niue', | |
| 'Pacific/Pago_Pago' => '(UTC-11:00) Pago Pago', | |
| 'America/Adak' => '(UTC-10:00) Adak', | |
| 'Pacific/Honolulu' => '(UTC-10:00) Honolulu', |
| <?php // Simple PHP script to lookup for blacklisted IP against multiple DNSBLs at once. ?> | |
| <html> | |
| <head> | |
| <title>DNSBL Lookup Tool - IP Blacklist Check Script</title> | |
| </head> | |
| <body> | |
| <h2>IP Blacklist Check Script</h2> | |
| <form action="" method="get"> | |
| <input type="text" value="" name="ip"/> | |
| <input type="submit" value="LOOKUP"/> |
| <?php | |
| /* | |
| Plugin Name: WC Map Guest Orders and Downloads | |
| Plugin URI: https://www.wptechguides.com/ | |
| Description: Maps WooCommerce guest orders and downloads to an account with the same e-mail on account creation or login | |
| Version: 1.0 | |
| Author: duplaja | |
| Author URI: https://convexcode.com | |
| License: GPLv2 | |
| License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| Step 1: | |
| Go to: C:\Windows\System32\Drivers\etc\hosts | |
| And add this to the bottom of the file: | |
| ============= | |
| 127.0.0.1 your.domain.com | |
| ============= | |
| Step 2: | |
| Go to [your XAMPP directory]/apache/conf/httpd-xampp.conf |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |