Is it ok to delete this file from WhatsApp?

I have 2 WhatsApp files in my system and one is massive and I’m trying to know if it is ok to delete it. The file in asking about is the 16GB one. enter image description here

I am using DiskUsage and my phone is a Huawei Honor View 10 with emui 9.0

Unable to identify and delete SharePoint 2013 site users by using Sids through Powershell

I have set of Sids provided by client to delete the respective users from site permanently using share point 2013 power shell.

Firstly, I tried below script to get user by sid as below, but it does not provide user details for some Sids (These sids has to be deleted by me anyway from the site)

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
#Variables
$SiteURL=”https://intranet.crescent.com”
$UserSID = “S-1-5-21-3173304932-3636910964-1439844995-11231”
#Get the User by SID
Get-SPUser -Web $SiteURL -limit All | where {$_.Sid -eq $UserSID} | Select UserLogin, DisplayName

Kindly help me in achieving the same.

Thanks

users – The admin/content page only shows the Delete button for nodes; missing edit and view

I have created a role in D8 with permissions to add/edit/delete any content type, even if its not their own. They also have the blanket “Administer Content” permission.

When they view a node, they see the tabs to Edit, Delete, Revisions, etc., and are able to act accordingly without issue.

However, when viewing the admin/content overview page, the only button available underneath the “Operations” column is the delete button. When they click the title of the node and go to view it, they can edit it from there without issue.

I’ve attached a screenshot with some info blocked out.

admin/content overview page with only delete buttons

delete delete delete

delete delete delete delete delete delete delete delete delete

How to delete an outgoing trust on Windows Server when an internal error occurs?

Unfortunately, the Active Directory Domains and Trusts MMC Snap-in (domain.msc) lets you create an outgoing trust to a Domain Controller (in other words: specifying the name of a Domain Controller as the name of the Domain to trust). Even more unfortunately, you are not able to revert this change by the GUI. If you try to remove this trust, you will get a warning pop-up with the following message:

An internal error occured.

Trying to delete it via netdom:

netdom trust my.domain.local /domain:dc1 /oneside:trusting /remove /force

also fails with the same message:

An internal error occured.

So how can I delete such a trust object?

entities – Delete poorly named taxonomy in Drupal 8

I’ve created a couple of taxonomies programmatically, and accidentally included some spaces in the machine names (bad data in an input csv). I cannot delete these taxonomies with Vocabulary::load($vid)->delete();, even though I can see the vocab names with dsm(taxonomy_vocabulary_get_names()); load($vid) returns NULL

Any ideas on how I can nuke these vocabs? I was able to delete all the terms in the Vocab, but the reference remains under structure/taxonomies

[WTS] Delete

Delete please.

.

Delete a folder in SharePoint with MS Flow

So, part of this question seemed to be about asking how to do this based on a date (time passing). I found I could do this with Flow — if I set up a date for it to check from the library. I couldn’t get it to calculate based on a built-in date (like “created”) within the flow itself (and not saying it can’t be done — I just got errors with everything I tried), but I was able to tell it to do it based on the date field it checked being older than today (utcNow).

In SharePoint, I set up a retention policy for the library (our need is that each library in this specific site may have different “expiration” dates, so we’re doing the policy at the library level) — to move files to the recycle bin 21 days after the file was created. For this site, the created date is the same as the upload date. Because it’s SharePoint Online, the retention policy runs once every 7 days (or so I’ve read). So, if I really want it to delete at 21 days (and not up to 6 days later when it does its once weekly processing), I want to use a Flow to do it.

Here’s the flow I cobbled together. Note — this is for the files, specifically, in one library. I noticed someone above shared a flow to do folders. I haven’t yet tested/incorporated that into my flow. But I do show how you can get a flow to run regularly, check a date, and delete anything that matches that condition (i.e., older than that date).

enter image description here

list manipulation – Remove or delete elements

I have the following list:

i=2
k=3
 list = Tuples[Tuples[{0, 1}, i], k]

{{{0, 0}, {0, 0}, {0, 0}}, {{0, 0}, {0, 0}, {0, 1}}, {{0, 0}, {0, 0}, {1, 0}}, {{0, 0}, {0, 0}, {1, 1}}, {{0, 0}, {0, 1}, {0,0}}, {{0, 0}, {0, 1}, {0, 1}}, {{0, 0}, {0, 1}, {1, 0}}, {{0, 0}, {0, 1}, {1, 1}}, {{0, 0}, {1, 0}, {0, 0}}, {{0, 0}, {1, 0}, {0, 1}}, {{0, 0}, {1, 0}, {1, 0}}, {{0, 0}, {1, 0}, {1, 1}}, {{0, 0}, {1, 1}, {0, 0}}, {{0, 0}, {1, 1}, {0, 1}}, {{0, 0}, {1, 1}, {1, 0}}, {{0, 0}, {1, 1}, {1, 1}}, {{0, 1}, {0, 0}, {0, 0}}, {{0, 1}, {0, 0}, {0, 1}}, {{0, 1}, {0, 0}, {1, 0}}, {{0, 1}, {0, 0}, {1, 1}}, {{0, 1}, {0, 1}, {0, 0}}, {{0, 1}, {0, 1}, {0, 1}}, {{0, 1}, {0, 1}, {1, 0}}, {{0, 1}, {0, 1}, {1, 1}}, {{0, 1}, {1, 0}, {0, 0}}, {{0, 1}, {1, 0}, {0, 1}}, {{0, 1}, {1, 0}, {1, 0}}, {{0, 1}, {1, 0}, {1, 1}}, {{0, 1}, {1, 1}, {0, 0}}, {{0, 1}, {1, 1}, {0, 1}}, {{0, 1}, {1, 1}, {1, 0}}, {{0, 1}, {1, 1}, {1, 1}}, {{1, 0}, {0, 0}, {0, 0}}, {{1, 0}, {0, 0}, {0, 1}}, {{1, 0}, {0, 0}, {1, 0}}, {{1, 0}, {0, 0}, {1, 1}}, {{1, 0}, {0, 1}, {0, 0}}, {{1, 0}, {0, 1}, {0, 1}}, {{1, 0}, {0, 1}, {1, 0}}, {{1, 0}, {0, 1}, {1, 1}}, {{1, 0}, {1, 0}, {0, 0}}, {{1, 0}, {1, 0}, {0, 1}}, {{1, 0}, {1, 0}, {1, 0}}, {{1, 0}, {1, 0}, {1, 1}}, {{1, 0}, {1, 1}, {0, 0}}, {{1, 0}, {1, 1}, {0, 1}}, {{1, 0}, {1, 1}, {1, 0}}, {{1, 0}, {1, 1}, {1, 1}}, {{1, 1}, {0, 0}, {0, 0}}, {{1, 1}, {0, 0}, {0, 1}}, {{1, 1}, {0, 0}, {1, 0}}, {{1, 1}, {0, 0}, {1, 1}}, {{1, 1}, {0, 1}, {0, 0}}, {{1, 1}, {0, 1}, {0, 1}}, {{1, 1}, {0, 1}, {1, 0}}, {{1, 1}, {0, 1}, {1, 1}}, {{1, 1}, {1, 0}, {0, 0}}, {{1, 1}, {1, 0}, {0, 1}}, {{1, 1}, {1, 0}, {1, 0}}, {{1, 1}, {1, 0}, {1, 1}}, {{1, 1}, {1, 1}, {0, 0}}, {{1, 1}, {1, 1}, {0, 1}}, {{1, 1}, {1, 1}, {1, 0}}, {{1, 1}, {1, 1}, {1, 1}}}

I would like to remove redundant element, like “{{0, 1}, {0, 0}, {0, 0}}” since they have the same value like “{{1, 0}, {0, 0}, {0, 0}}”. The “{{0, 0}, {0, 0}, {0, 0}}” element should be removed as well. Elements like “{{1, 1}, {0, 0}, {0, 0}}” are not equal to “{{0, 0}, {1, 1}, {0, 0}}” though. Note that the inner subsets are of size $i$ which are elements in subsets of size $k$.

Maybe the list should be created differently? How can I make this happen? The goal is to get it for any $i$ and $k$ in general.

8 – Updating drupal/core using composer: “[RuntimeException] Could not delete web/core” (using Lando)

Trying to update Drupal 8 core.

composer require drupal/core:~8.9.2 --no-update

This works fine.

composer -vvv update

It fails with the following:

  - Updating drupal/core (8.8.5 => 8.9.2):     Update failed (Could not delete web/core: )
Would you like to try reinstalling the package instead (yes)? yes
  - Removing drupal/core (8.8.5)

(RuntimeException)
Could not delete web/core:

What’s the easiest and/or correct way to resolve this?

(This has happened to me before but can’t remember what I did to fix it)