I hereby claim:
- I am rodgath on github.
- I am rodgath (https://keybase.io/rodgath) on keybase.
- I have a public key ASBKK2oajaC0Tip7yHwTSrRq2TxRrV5h-oRWRXIFgf_40Qo
To claim this, I am signing this object:
| # Reset a User Password with WP-CLI | |
| wp user update USERNAME --user_pass=MY_NEW_PASSWORD | |
| # Example: | |
| wp user update johndoe --user_pass=pass1234 |
| /** | |
| * Reset a user's password by email. | |
| * | |
| * @param string $password New plain-text password. | |
| * @param string $user_email User's email address. | |
| */ | |
| function custom_reset_password($password, $user_email) { | |
| $user = get_user_by('email', $user_email); | |
| if ($user && !is_wp_error($user)) { |
| const fs = require('fs'); | |
| const path = require('path'); | |
| const inputFolderPath = '/path/to/image/folder/'; // Replace this with the actual path to your image folder | |
| const outputFolderPath = '/path/to/output/folder/'; // Replace this with the path to your desired output folder | |
| const imageFileExtension = '.jpg'; // Change the extension if your images have a different extension | |
| // Function to pad numbers with leading zeros | |
| function padNumberWithZeros(num, width) { | |
| const numString = num.toString(); |
| .plyr__control.plyr__tab-focus { | |
| outline-color : #00b3ff; | |
| } | |
| .plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:before { | |
| background : #00b3ff; | |
| } |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| /* You can use the HEAD request method using the video URL. */ | |
| function check_remote_video_exists($video_url) { | |
| $headers = @get_headers($video_url); | |
| return (strpos($headers[0], '200') > 0) ? true : false; | |
| } |
| <?php | |
| $country_list = array( | |
| "Africa" => array( | |
| "DZ" => "Algeria", | |
| "AO" => "Angola", | |
| "BJ" => "Benin", | |
| "BW" => "Botswana", | |
| "BF" => "Burkina Faso", | |
| "BI" => "Burundi", |
| <?php | |
| $country_list = array( | |
| "Australia and New Zealand" => array( | |
| "AU" => "Australia", | |
| "NZ" => "New Zealand", | |
| "NF" => "Norfolk Island", | |
| ), | |
| "Caribbean" => array( | |
| "AI" => "Anguilla", |
| <?php | |
| $country_list = array( | |
| "001" => "World", | |
| "002" => "Africa", | |
| "003" => "North America", | |
| "005" => "South America", | |
| "009" => "Oceania", | |
| "011" => "Western Africa", | |
| "013" => "Central America", |
| <?php | |
| $country_list = array( | |
| "AF" => "Afghanistan", | |
| "AL" => "Albania", | |
| "DZ" => "Algeria", | |
| "AS" => "American Samoa", | |
| "AD" => "Andorra", | |
| "AO" => "Angola", | |
| "AI" => "Anguilla", |