Use =COUNTIF ({ROW}:{ROW},{Start from}) > 1
E.g. Below we check the duplicate values from row B start from B1. Use formula =COUNTIF (B:B,B2) > 1
---------------------------------------------------------
| A | B | C |
| # | |
| # 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/ |
| <?php | |
| if( ! function_exists( 'prefix_yoast_register_post_updated_year' ) ) : | |
| /** | |
| * Register Current Post Publish Year | |
| * | |
| * @todo Change the `prefix_` with your own custom prefix. | |
| * @since 1.0.0 | |
| * @return void | |
| */ | |
| function prefix_yoast_register_post_updated_year() { |
| <?php | |
| /** | |
| * Get all post by post meta key and meta value. | |
| * | |
| * @todo Change the `prefix_` and with your own unique prefix. | |
| * | |
| * @since 1.0.0 | |
| */ | |
| if( ! function_exists( 'prefix_search_post_by_post_meta_value' ) ) : | |
| function prefix_search_post_by_post_meta_value() { |
Use =COUNTIF ({ROW}:{ROW},{Start from}) > 1
E.g. Below we check the duplicate values from row B start from B1. Use formula =COUNTIF (B:B,B2) > 1
---------------------------------------------------------
| A | B | C |
**Case: ** Count no of lines from each *.txt file from the files directory.
In files directory struture is below:
/files/
- /test/
-- log.txt
- /test2/
-- log.txt
| curl -s -o /dev/null -w "%{time_total}\n" -H "Pragma: no-cache" https://maheshwaghmare.com/ |
| <?php | |
| /** | |
| * Add meta fields support in rest API for post type `Post` | |
| * | |
| * This function will allow custom parameters within API request URL. Add post meta support for post type `Post`. | |
| * | |
| * > How to use? | |
| * http://mysite.com/wp-json/wp/v2/posts?meta_key=<my_meta_key>&meta_value=<my_meta_value> | |
| * | |
| * > E.g. Get posts which post meta `already-visited` value is `true`. |
| <?php | |
| /** | |
| * Debug HTTP requests in WordPress | |
| * | |
| * Fires after an HTTP API response is received and before the response is returned. | |
| * | |
| * Output in `wp-content\debug.log` file: | |
| * | |
| * [24-Apr-2019 06:50:16 UTC] ------------------------------ | |
| * [24-Apr-2019 06:50:16 UTC] https://downloads.wordpress.org/plugin/elementor.2.5.14.zip |
// Example usage.
import { parse } from '@wordpress/blocks'
const parsedContent = parse( content, {
__unstableSkipMigrationLogs: true,
} )
const blocks = findNestedBlocksByName( parsedContent, 'core/paragraph' );