CSS not being included inside php file

So I don’t know why, but I’m unable to include my style.css file inside my php file for rendering. Could someone tell me what I might be doing wrong?

Here is my shortcode file:

function profile_shortcode() {      // Turn on output buffering and print out the items inside profile-card.php     ob_start();     include ('/Users/smajlovs/Sites/news/htdocs/wp-content/mu-plugins/s/templates/people-card.php');     $  output = ob_get_clean();     return $  output; } add_shortcode( 'profile', 'profile_shortcode' ); 

Here is the php file with the reference:

<?php  include ('style.css');  $  id = 806; $  profile = Profile::init($  id);  var_dump($  profile); echo $  profile->get_id() . '<br/>'; echo $  profile->get_name() . '<br/>'; echo $  profile->get_bio() . '<br/>'; echo $  profile->get_thumbnail() . '<br/>';  ?>  <figure class="snip1515">     <div class="profile-image"><img src="<?= $  profile->get_thumbnail() ?>" alt="sample47" /></div>     <figcaption>         <h3>Fleece Marigold</h3>         <h4>Founder</h4>         <p>Which is worse, that everyone has his price, or that the price is always so low.</p>     </figcaption> ?> 

Here is what I’m getting back (I’m getting my $ profile-> all to render, it’s just the css wont):

enter image description here

Can Nerveskitter be cast during a surprise round, let’s say directly when you are aware that you are being ambushed?

  • Let’s say my group is ambushed and no one is aware, the ennemies then have a surprise round against us.
  • As soon as I am aware of the attack (they could jump/charge in front of us, shoot an arrow AND hit someone (could be me), cast a spell and I could hear it with a very good listen roll etc.) can I cast Nerveskitter or is no action allowed at all?
  • Take note that in 3.5 Nerveskitter states:

    (…)Unlike other immediate actions, you can cast this spell while flat-footed(…)

So with all this info, if I was to have a contingency spell (Celerity) with the condition: Whenever I cast Nerveskitter: Activate.

What would happen? I would be able to act right away, then the rest of the surprise round would happen (let’s say I’m immune to daze or I resisted with the Quick Recovery feat) then what?:

  • Do I start first and I do not need to roll initiative?
  • I still need to roll for initiative?

RAW answers if possible (FAQ, 3.X, I would normally allow pathfinder as well but nerveskitter was nerfed in pathfinder)

What can protect a character from being possessed by a Ghost in the first place?

What can protect a character from being possessed by a Ghost?

What spells, class abilities, feats or magical items could stop a Ghost from possessing a character? i.e. before the Ghost can attempt to possess a character and force a Cha DC 13 saving throw.

Possession (Recharge 6). One humanoid that the ghost can see within 5 feet of it must succeed on a DC 13 Charisma saving throw or be possessed by the ghost; the ghost then disappears, and the target is incapacitated and loses control of its body. The ghost now controls the body but doesn’t deprive the target of awareness. The ghost can’t be targeted by any attack, spell, or other effect, except ones that turn undead, and it retains its alignment, Intelligence, Wisdom, Charisma, and immunity to being charmed and frightened. It otherwise uses the possessed target’s statistics, but doesn’t gain access to the target’s knowledge, class features, or proficiencies.

The possession lasts until the body drops to 0 hit points, the ghost ends it as a bonus action, or the ghost is turned or forced out by an effect like the dispel evil and good spell. When the possession ends, the ghost reappears in an unoccupied space within 5 feet of the body. The target is immune to this ghost’s Possession for 24 hours after succeeding on the saving throw or after the possession ends.

(MM p.147)

The obvious I can think of is a Cleric’s Turn Undead ability. Or using a spell like Magic Circle or waiting it out in Leomund’s Tiny Hut.

Counterspell a Counterspell. Is then the original spell being able to cast?

Assume target A casts fireball.

Assume target B casts counterspell on A’s fireball using his reaction.

Now target A can use his reaction and also cast counterspell on target B’s counterspell.

Does this mean that A can finally cast fireball and B can do nothing about it?

Or does this mean that B can cast another counterspell to counter A’s counterspell attempt?

This gets out of hand so I described it as simple as I could. I hope I get an answer because I was on a dispute with one of my PCs for this mechanic.

What is the best way to host a site with many images without it being too slow?

I have a friend that wants me to help them with their WordPress website that has about 150 images for their gallery. Their site is quite slow even after I optimized the images using the ImageOptim app. They are using SiteGround as their web host provider, but they are only using the StartUp package because it is the most affordable. I know that the site is slow to load because of the images, but not sure what the best approach is to try and speed it up without paying for a more expensive hosting package.

I am thinking that perhaps the best way to go about doing this would be to have them just put their images on Google Images and use that as their gallery instead, or maybe an Instagram feed like Smash Balloon.

What would you all suggest?


How can we protect encrypted files and directories from being fingerprinted when stored on online storage services?

Assuming that online storage providers are considered untrusted, if files and directories are encrypted, how can these be protected against fingerprinting?

The files are encrypted using rclone’s implementation of Poly1305 and XSalsa20 before being backed up to the cloud provider.

According to rclone’s documentation, the available metadata is file length, file modification date and directory structure.

  • What can be identified?
  • What can be inferred?
  • What attack vectors are there against the encrypted files and directories if the online storage provider is compromised assuming the passphrase is at least 24 characters long and is a combination of alphanumeric and special characters (uppercase and lowercase) as well as salted with similar entropy?

The encrypted data is considered to be sensitive.

How can I protect those files from being fingerprinted and the contents inferred such as ownership, source and the like?

Error messages generated in a table calculation prevent “good” elements of that table being accessed

If I make a batch fitting routine, something like:

FitResultsData =      Table[              SpectrumData = Import[SpectrumList[[i]]];                SpectrumFit = NonlinearModelFit[SpectrumData, Model, {a, b, c}, x];                  aFitOut = a /. SpectrumFit["BestFitParameters"];                  bFitOut = b /. SpectrumFit["BestFitParameters"];                     cFitOut = c /. SpectrumFit["BestFitParameters"];               {i, aFitOut , bFitOut, cFitOut},              {i, 1, Length[SpectrumList]}             ] 

and a fit fails completely, e.g. I get a Power::infy: Infinite expression 1/0.^2 encountered. error or something, I find that when it comes to going on to use FitResultsData after all Table[..] has finished fitting and executing no matter which row I select for example FitResultsData[[1]] the error Power::infy: Infinite expression 1/0.^2 encountered. will be returned. This happens even say the original source of the error was in spectrum i = 99.

Is there a method of escaping such errors, such that even though one spectrum fit might be bad, it doesn’t stop be accessing the 99% successful

What are the degrees by which an Arcana Check can modify or effect the characteristics of a spell being cast by the player?

Sorry if the initial wording seems off, basically what I’m trying to get a bearing for is how or in which ways does the Arcana Skill influence or effect actual spells being cast or other spell-centered details? Ie, is rolling on the Arcana skill able to influence the effect or characteristics of a spell? Or does that fall primarily within relation to magic items and not casted spells?