Locate the file that a given non-clustered index is stored on?

Is there a query to view which file a given non-clustered index is stored on?

how to display images stored in pub/media folder

hello everyone i want to display an image from the folder “pub/media” and concatinate it with my path from the image field from database but i can’t display it in detail page with the ways that i have tested

can anyone help me please

this is what i have done with 2 ways

methode 1

<p><?php echo __('image') ?>: <img src="<?= $user->getImg() ?>" alt="image" /></p>
        

methode 2

$pathmedia = "pub/media";
<img src="<?php echo $block->getUrl($pathmedia."/".$user->getImg())?>"/>

user expectation – creating the correct password parameters for a site, with cc details stored

I am trying to think of the best requirements to set a password for a site. A credit card is stored on the site, but is only useful to the site owner. i.e. if someone else logged in, they wouldnt get much benefit.

Its actually a customer relationship management cloud software service.

So here are my options:

  1. min 6 character password – simple and easy, they can use their favorite password, and wont struggle to remember it.

  2. min 8 chars, 1 upper case, 1 number, 1 non-alphanumeric character – secure, but it gets annoying, and if you forget the password, its hard tor remember.

  3. min 6 chars, 1 number, 1 upper case – somewhere in between, a bit more secure, and a likely chance they can still enter their favorite password.

Thoughts?

high sierra – Where is opendirectory/accounts/login information stored on macos

I have encountered this problem of slow login (How can I debug an extremely slow login?), and have not found a solution. However, this phenomenon does not exist if I boot up into a fresh system. Since I have a backup of the system sometime ago that was working, I think that if I copy all the system files from that backup over, and then reinstall the system, the issue should be resolved. However, I don’t want to copy all system files, because some of them can be outdated, some of them can be databases that are regularly updated, etc. Hence, I wonder if I can just copy over the opendirectory folders over and see if things get better (I have backups so I’m not afraid of breaking the system), but I don’t know where is that information stored on disk. Where is the data files stored for opendirectory?

How to return all values stored in array (Java)

enter code hereHi! I have 3 volumed stored in calculateVolume and would like to be able to call on it in another class to print the called upon array on the screen but it only print Vol(0) by default

From cc class:

public double calculateVolume()
{
    double () diameter = {2, 2.4, 1.5};
    double () height = {10, 22, 32};
    double Vol() = new double(3);

    for (int i=0; i<diameter.length; i++)
    {
        Vol(i) = ((Math.PI)*Math.pow(diameter(i), 2)*(height(i)))/4; //Vol = pi*(D^2)/4 * L
    }

    for (int i=0; i<diameter.length; i++)
        return Vol(i);

    return Vol();
}

From main file where I’d like to call on calculateVolume but don’t know how to call on a specific array# – instead it print Vol(0) by default.

System.out.println("This is the volume for Venture 1: " + cc.calculateVolume());

backup – What are good practices for backing up files stored on online Cloud Services?

Apart from application data, I solely use Dropbox and Onedrive to store my files, photos and other documents – with Dropbox hosting the bulk of it ~600 GB.

Ideally, I would replicate these files from Dropbox to Onedrive so that they are backed up in a separate location. I would prefer to have it that the data was stored “in the cloud” rather than having to do any transfers to a local device or external storage.

As others have answered, there is still no safe way of bulk transferring between such cloud storage providers. I also face practical problems in that I only have ~ 50GB of spare spare on my MacBook. Would a solution be to download straight to an external hard drive? However downloading and copying 600 GB to an external hard drive would be a slow process. I would also, one day, like to be external hard drive ‘free’, with only a couple of iPad Pro’s in the house, where data is solely on Dropbox/Onedrive – or some other cloud storage provider.

Another way of looking at would be to not back up, and rely on Dropbox/Onedrive to 1. Safely store for the long term and 2. save deleted copies of files. Though I’m not sure this mindset is a good one.

Any help or advice would be much appreciated.

sharepoint online – User Profile Personal Fields Privacy – Where/Which field is that info stored?

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

Why are blocks and reverse patches not stored in individual files?

Block and reverse patches are currently stored in .dat files, and in each .dat file there are several blocks or reverse patches. What is the reason why blocks are not stored in individual files called, for example, [block_hash].blk and [block_hash].rev and are instead stored in this way?

XSS went trough WAF in a stored way

Is it possible that the stored javascript went through a WAF but that the WAF is blocking the “outgoing” by that I mean the execution or the presence, and thereby not showing the XSS when requesting the affected page?

For example, I have <XSS> and placed this successfully on my target. On a blog discussion. Resulting in stored XSS.

Is it possible then that the WAF behind that site is blocking the execution of it?

Do WAFs have such functionality or do they only block the “incoming”/ability to insertion?

Where is the witness data stored in the raw block data

I can see in BIP-141 where the merkle hash is stored. And I think its clear that the witness data won’t be streamed inline with the TXN data. So I assume the witness data is simply thunked on to the end of the raw block.

Is this something so blatantly obvious that it doesn’t need to be specified in a BIP or wiki anywhere, or did I just miss the mention?