Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
| <?php | |
| /** | |
| * User: Luke Hardiman | |
| * Date: 06/08/2016 | |
| * Cloudflare Module for blesta | |
| * | |
| * @author Luke Hardiman, fb.com/lukes.servers | |
| * @copyright Copyright (c) 2016, Luke Hardiman | |
| * @license https://raw.githubusercontent.com/lukesUbuntu/cloudflare-api/master/license | |
| * @link https://github.com/lukesUbuntu | https://fb.com/lukes.servers |
| gid=`id -gr iworx` | |
| if [ -e /proc/sys/fs/proc_super_gid ]; then | |
| /bin/grep -q "fs.proc_super_gid=" /etc/sysctl.conf || echo "fs.proc_super_gid=${gid}" >> /etc/sysctl.conf | |
| sysctl -p || : | |
| fi |
| cd /var/qmail;service smtp stop;mv queue queue.bad;yum reinstall qmail -y;service smtp start; |
| wget http://www.rfxn.com/downloads/maldetect-current.tar.gz;tar -zxvf maldetect-current.tar.gz;rm -rf maldetect-current.tar.gz; |
| ~iworx/bin/listaccounts.pex --domain | xargs -n1 ~iworx/bin/varpermsfix.pex --siteworx |
| <?php | |
| // This code should be added to functions.php or a custom plugin | |
| /** | |
| * Send post via AJAX to another WordPress and insert it | |
| */ | |
| function cwpai_send_post_to_other_wordpress() { | |
| // Check if it's a post being created | |
| if ( isset( $_POST['post_id'] ) ) { |
| # BEGIN WordPress | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule . /index.php [L] | |
| </IfModule> |
| 1. Open CMD as Administrator | |
| 2. Paste the following commands into the Cmd: One by one, follow the order. | |
| cscript slmgr.vbs /ipk "SERIAL NUMBER HERE" | |
| Replace SERIAL NUMBER HER with any of these, according your Windows 10 installation type. | |
| Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 | |
| Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR | |
| Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH |
| # BEGIN WordPress | |
| # The directives (lines) between "BEGIN WordPress" and "END WordPress" are | |
| # dynamically generated, and should only be modified via WordPress filters. | |
| # Any changes to the directives between these markers will be overwritten. | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] | |
| # Force SSL | |
| RewriteCond %{HTTPS} off |