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/
| # | |
| # Sources: | |
| # http://stackoverflow.com/questions/7704624/how-can-i-use-gzip-compression-for-css-and-js-files-on-my-websites | |
| # http://codex.wordpress.org/Output_Compression | |
| # http://www.perun.net/2009/06/06/wordpress-websites-beschleuinigen-4-ein-zwischenergebnis/#comment-61086 | |
| # http://www.smashingmagazine.com/smashing-book-1/performance-optimization-for-websites-part-2-of-2/ | |
| # http://gtmetrix.com/configure-entity-tags-etags.html | |
| # http://de.slideshare.net/walterebert/die-htaccessrichtignutzenwchh2014 | |
| # http://de.slideshare.net/walterebert/mehr-performance-fr-wordpress | |
| # https://andreashecht-blog.de/4183/ |
| SEBLOD Importer | |
| ======================================== | |
| - create/open CSV file (use first row for column titles to make editing easier) | |
| - NB! make sure the following columns exist (id, title, catid) | |
| -- id (joomla core auto increment if not specified) | |
| -- title (if not specified timestamp will be used) | |
| -- catid (set a default category else will be save as uncategorised) | |
| -- OPTIONAL - ADD ANY OTHER ARTICLE COLUMNS | |
| - match existing exclusive columns (i.e. LOCKED -TABLE: cck_store_form_your_content_type - storage [standard - article - field_name]) |
| <select name="Provinces" id="Provinces"> | |
| <option selected="selected">Please select</option> | |
| <option value="Eastern Cape" id="EasternCape">Eastern Cape</option> | |
| <option value="Free State" id="FreeState">Free State</option> | |
| <option value="Gauteng" id="Gauteng">Gauteng</option> | |
| <option value="KwaZulu-Natal" id="KwaZulu-Natal">KwaZulu-Natal</option> | |
| <option value="Limpopo" id="Limpopo">Limpopo</option> | |
| <option value="Mpumalanga" id="Mpumalanga">Mpumalanga</option> | |
| <option value="Northern Cape" id="NorthernCape">Northern Cape</option> | |
| <option value="North West" id="NorthWest">North West</option> |
| 1033edge.com | |
| 11mail.com | |
| 123.com | |
| 123box.net | |
| 123india.com | |
| 123mail.cl | |
| 123qwe.co.uk | |
| 126.com | |
| 150ml.com | |
| 15meg4free.com |
| add_action( 'woocommerce_checkout_process', 'wc_minimum_order_amount' ); | |
| function wc_minimum_order_amount() { | |
| global $woocommerce; | |
| $minimum = 10; | |
| if ( $woocommerce->cart->get_cart_total() < $minimum ) { | |
| $woocommerce->add_error( sprintf( 'You must have an order with a minimum of %s to place your order.' , $minimum ) ); | |
| } | |
| } |
| #!/usr/bin/python3 | |
| ####################################################### | |
| # Python rsync Backup script | |
| # Sebastian Kraft, 24.06.2013 | |
| # | |
| ####################################################### | |
| #----------------------------------------------------- | |
| # Config |
| INSERT INTO `users` (`id`, `role_id`, `is_published`, `date_added`, `created_by`, `created_by_user`, `date_modified`, `modified_by`, `modified_by_user`, `checked_out`, `checked_out_by`, `checked_out_by_user`, `username`, `password`, `first_name`, `last_name`, `email`, `position`, `timezone`, `locale`, `last_login`, `last_active`, `online_status`, `preferences`) | |
| VALUES | |
| (2, 1, 1, '2015-04-01 15:15:07', 1, 'Nobody', NULL, NULL, NULL, NULL, NULL, NULL, 'madmin', '$2y$13$VkE7UjFetqAM13oT4v/VYOfRCGrJ4hbr0zuwRZo6KVfDnNb16WFwy', 'Administrator', 'Uuser', 'user@local.host', NULL, NULL, NULL, NULL, NULL, 'offline', 'N;'); |
| #!/bin/sh | |
| # | |
| # This script is used on a QNAP TS-269 PRO. https://www.en0ch.se/qnap-and-rsync/ | |
| # | |
| # You have to change: | |
| # 1. $SHAREUSR | |
| # 2. $EXCLUDES (if you want o change the name of the file servername.excludes) | |
| # 3. $SOURCE & $DESTINATION | |
| # 4. user@yourserver.se for the mysqldump | |
| # 5. --password=SUPERSECRET |
| <?php | |
| if (!isset($_GET['ILoveMauticReallyIDo'])) { | |
| echo 'The secret phrase is wrong.'; | |
| die; | |
| } | |
| $link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; | |
| $allowedTasks = array( | |
| 'cache:clear', |