Run this command in powershell as administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
<script src="/jeeg.js"></script> | |
<script src="/cdn-cgi/zaraz/i.js" referrerpolicy="origin"></script> | |
// Include these lines in every webpage you want to collect pageview hits | |
// in its HTML, immediately before the </head> tag closes. |
# https://developers.google.com/speed/webp/download | |
Get-ChildItem -Path . -File -Depth 0 | ForEach-Object -Parallel { &'C:\Program Files\libwebp\bin\cwebp.exe' -q 75 "$_" -o "$([io.path]::GetFileNameWithoutExtension($_)).webp" } -ThrottleLimit 16 |
<?php | |
/* | |
Plugin Name: Testing Update URI | |
Author: Test Doe | |
Author URI: https://example.com | |
Update URI: https://example.com/current.json | |
Plugin URI: https://example.com | |
Description: This is a test plugin to test out the new plugin header field "Update URI". | |
Version: 1.0.0 | |
*/ |
<?php | |
/** | |
* Adding custom roles is a case of using the filter provided, adding your | |
* roles to the array of roles that has 2FA by email forced upon them. | |
* | |
* The role you add will be the 'slug' of the role, not the name of the role. | |
* For example, WordPress comes with built-in roles such as Administrator. | |
* The slug for this role is 'administrator', not 'Administrator'. | |
*/ |
Run this command in powershell as administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Although Microsoft does not support Windows XP updates any more, I'm sure there are still many users using it due to their personal habits or job demands. Therefore, XP's product keys may be necessary even now. Here lies the most comprehensive list of Windows XP product keys.
The following CD keys are official and original from Microsoft, mainly used for Windows XP Professional Service Pack 2/3 VOL/VLK system images, which are the easiest ones to find on the Internet.
'create an arraylist | |
Set list = CreateObject("System.Collections.ArrayList") | |
'add values | |
list.add "mike" | |
list.add "jeremy" | |
list.add "kate" | |
list.add "alice" | |
'add a bunch of values easily via custom sub |
<?php | |
// Define a constant to use with html emails | |
define("HTML_EMAIL_HEADERS", array('Content-Type: text/html; charset=UTF-8')); | |
// @email - Email address of the reciever | |
// @subject - Subject of the email | |
// @heading - Heading to place inside of the woocommerce template | |
// @message - Body content (can be HTML) | |
function send_email_woocommerce_style($email, $subject, $heading, $message) { |
/** | |
* Optimize WooCommerce Scripts | |
* Remove WooCommerce Generator tag, styles, and scripts from non WooCommerce pages. | |
*/ | |
add_action( 'wp_enqueue_scripts', 'child_manage_woocommerce_styles', 99 ); | |
function child_manage_woocommerce_styles() { | |
//remove generator meta tag | |
remove_action( 'wp_head', array( $GLOBALS['woocommerce'], 'generator' ) ); |