dnd 5e – Roughly what percentage of CR 5-13 monsters am I excluding by taking an all-flying party?

If I run a game of 5e for a crow-man party who naturally have all-day flight as part of their basic movement modes, what % of the existing published monsters / encounter types am I left with who have either flight or an innate ranged capability commensurate with their melee capability? Basically, can I cobble together encounters out of the existing flyers/traps/social/archers for those levels (5-13) or am I going to need to get creative and modify/create new monsters and encounters to fight this party?

No of days excluding weekends on SharePoint

I created a team leave calendar on SharePoint and need to calculate the days of leave in a column from start date minus end date excluding weekends. Can you help?

google analytics – Excluding Internal Traffic (Through Cookie on Another Domain)

Filtering Google Analytics internal traffic without IP or such: There are two domains I own. One that only internal traffic vists and one that should exclude internal traffic. I have installed a cookie that fires on the “internal domain” (through Google Tag Manager) but since that cookie doesn’t transfer over to another domain, I can’t use it to exclude users with the cookie on the other (main) domain.

Is there any good workaround where I can “flag” users visiting the one internal domain and then exclude them from tracking on the main domain?

So, the goal here is to filter out all internal traffic from the main domain by marking them when visiting the other domain (which only internal users can access).

Excluding posts from search results page with meta query not working

On my search results page I have two loops. First loop displays post by meta value and second loop is “regular” loop that display posts by search query:

    <div class="container">
        <div class="row mb-5">
            <?php // a "static" custom loop displaying posts by meta value  
            $featured_posts = new WP_Query( array(
                'post_type' => array( 'cpt-1', 'cpt-2', 'cpt-3' ),
                'post_status' => 'publish',
                'posts_per_page' => -1,
                'meta_query' => array(
                        'key'   => 'highlight', // this is a name of ACF field
                        'value' => '1',
            ) );
            echo '<div class="col-12">';
            if ( $featured_posts ) {
                    echo '<h3>Highlighted posts (' . $featured_posts->found_posts . '):</h3>';

                    while ( $featured_posts->have_posts() ) : $featured_posts->the_post();
                        get_template_part( 'template-parts/content', 'search' );
            } else {
                echo 'No any highlighted post.';
            echo '</div>';
        <div class="row">
            <div class="col-12">
                global $wp_query;
                //$allsearch = new WP_Query( 's=' . $s . '&showposts=0' ); ?>
                <h3>The search results (<?php echo $wp_query->found_posts; //echo $allsearch->found_posts; ?>):</h3>
                if ( have_posts() ) : 
                    //echo '<table>';

                    while ( have_posts() ) : the_post();
                        get_template_part( 'template-parts/content', 'search' );
                    //echo '</table>'; ?>
                    <div class="pagination-area">
                        <nav class="navigation pagination" role="navigation">
                            <div class="nav-links">

                                global $wp_query;

                                $big = 999999999; // need an unlikely integer

                                echo paginate_links( array(
                                    'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
                                    'format' => '?paged=%#%',
                                    'current' => max( 1, get_query_var('paged') ),
                                    'total' => $wp_query->max_num_pages,
                                    'prev_text'    => __( '«' ),
                                    'next_text'    => __( '»' ),
                                ) );

                else :

                    echo 'No search results.';

                endif; ?>

The highlighted posts are displaying in both loops. Now I want to exclude them from regular search results loop with pre_get_posts :

function my_custom_search_query( $query ) {
    if( ! is_admin() || $query->is_search() ) {
        $query->set('meta_query', array(
                'key'   => 'highlight',
                'value' => '0'
        ) );        


This code does not work properly, because:

  1. it removes posts from both loops on search results page, not from only “regular” loop
  2. it removes more than highlighted posts…

I also tried to use here $query->is_main_query() with no success.

9 – Excluding other parent taxonomy terms when one is selected in ‘Filter criteria’ (D9 Views)

I have a table in a content views with a list of four content fields, ‘City 1,’ City 2,’ ‘City 3,’ and ‘Tourist.’

Because the cities were all taxonomy references in this particular content type, I created a relationship for the Cities vocabulary, a ‘Term Parents’ contextual filter, and a relationship between the term parents relationship and my Cities vocabulary relationship.

Now, in ‘Filter criteria,’ I selected Taxonomy term and set a relationship to Parent. I created an exposed filter and I can also select the specific parent terms I want (excluding the child terms, because I just need them to show up underneath my parent terms in the view).

What I want to do is exclude City 1 or 2 and its child terms from showing up when I select City 3 (but keep ‘Tourist’ on all occasions). How would I go about doing that?

python – reading txt file into a data frame, excluding commas and pound

Here is a short sample of my txt file, county-covid-data.txt

#County,Confirmed Cases,Probable Cases,Deaths

When reading the text file into my df:

import pandas
import pandas as pd
cov = pandas.read_table('county-covid-data.txt', delim_whitespace=True, names=('County','Confirmed Cases', 'Probable Case', 'Deaths'))

and i get this
enter image description here

How do I remove the commas and the pound sign before county while also separating each value into the corresponding column?
Ive never read a txt file before, and everything I’ve tried so far looks like this or a a block of text.

dnd 5e – Is Corpse Flower the only non-undead that can make an undead creature (excluding spells)?

Is the Corpse Flower the only creature that isn’t the undead-type to be able to make any sort of undead creature?

I mean by means other than the ability to cast spells and one of those spells might be a spell like Animate Dead.

I’m looking for other creature’s abilities, lair actions or diseases or magic items that aren’t simply vectors for spells like a Spell Scroll of Animate Dead.

active directory – extract groups from a certain OU , but excluding only one

I want to extract all AD groups from certain OU structure which contains many sub OU’s, but I want to exclude only one OU.
In this moment I have this command which extract all groups, but I don’t know how to add an exclusion parameter.

Get-ADGroup -filter 'groupcategory -eq "security"' -SearchBase "OU=00,OU=AGC,DC=abc,DC=def,DC=net" -server abc | Measure-Object 

For example I want to exclude OU named Groups which is under main path “OU=GROUPS,OU=00,OU=AGC,DC=abc,DC=def,DC=net”

finder – Find size of a path excluding hardlinks on Big Sur

I use a backup program which creates hard links of files with each backup. For example, if I back up a source directory that is 100 MB in size three times without changing anything, the program will simply hard link the files such that only 100 MB of disk space is used overall.

In the Finder, trying to find the size of the overall folder will display 300 MB because Finder is unable to determine how files are related to each other using hard links. Is there any way to see the actual size of the directory containing the backups, i.e. the size of the inodes that make up the files inside the directory?

I found a similar question about finding the actual size of Time Machine backups, but the solution does not seem to work on Big Sur.

Including and excluding in MediaWiki transclusions

Stack Exchange Network

Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange