Programmatically removing photos from icloud

Recently I centralised all my photos from various sources to use iCloud so I can access them on my iPhone, mac and have them saved/full control. However in the process I inadvertently created a lot of duplicates. I made some python scripts to analyse and tag the duplicates, so that now I have a list of file paths to images on my mac. For example, one such file path looks like this:

Example 1 /Users/nicholasjenkins/Pictures/Photos Library.photoslibrary/Masters/2019/03/12/20190312-210251/11923478-a5bb-4727-a65e-079c1b774f82.jpg

Example 2 /Users/nicholasjenkins/Pictures/Photos Library.photoslibrary/Masters/2019/04/18/20190418-081743/IMG_4223.JPG

The problem now is if I try to delete these directly, icloud will eventually download them back.

Is there some way I can programmatically delete these images, or put them into an album (for easy deleting in the Photos app)?

Removing web solutions completely – Now getting runtime errors

In preparation for a migration soon, I am cleaning up our 2013 environment. We used to use Metalogix ControlPoint when we did 2010 to 2013, but that was a long time ago, and it has itself all over the farm configuration.

  • I went into Central Admin, went to ControlPoint and removed it.

  • I went to Manage Farm Solutions and removed the associated features

  • Went to Solution Management and de-activated everything having to do with Metalogix (There was around 8 items).

  • I removed the 4 associated Content Databases from the SQL Cluster.

Now almost all of my sites have a Runtime error and produce the page letting you know to edit the web.configuration file. I’ve followed that, and there was no change.

ULS is seeing “SPSqlLatencyMonitor.PingServers: exception encountered” constantly with trying to log into the SQL database as well. I am not sure how to interpret what is making the constant call to the DB.

I have clearly broken something, and I’d like to learn how to fix it. This is a QA Environment, and I have backups of everything. I don’t want to resort to that yet. I’ve only been doing SharePoint admin for 2 months now, so I’m still pretty new to a lot of it! I need to eventually apply this to Production.

Removing maximum number of elements from a set

The problem is this, say you have a set $ E$ of elements $ e$ , and you have a list of elements you want to remove from this set. But for a point to be removed, one of its dependencies must stay in the set. The list of elements to remove is as follows:

$ i_1$ : $ a, b, c, d$
$ i_2$ : $ e, f, g, h$

So in order to remove $ i$ , one of the points “$ a$ , $ b$ , $ c$ , $ d$ ….” must remain.
The question is how to remove the maximum number of elements while keeping one of its dependencies.

Note that all elements are in the same set, so a dependency of one element can be in the list of elements to remove.
Also if it helps, there is an upper bound on the number of dependencies for an element.

Stolen Pictures Removing Service from amazon seller for $1

if any seller using your product images on amazon and you want to remove those images then buy this service. i am removing 1 ASINS in 1USD. you need to just provide you original picture (your property). one order one asins if your have ten asins so please buy ten times this service duration 20 to 45 days.

by: yourseen
Created: —
Category: Reputation Management
Viewed: 118

Removing a specific key of ModelState for a specific controller’s method

I have a controller for Post and Put request for the same entity: MyModelDTO with some ModelState’s attributes.

The users can make a Post request without the Id attribute, because it is being generated on server side, but for Put request the Id attribute is needed (And has to be different than an empty guid).

I want to allow get a Post request without the “Id” property, and still use the ModelState functionality, the best solution I’ve came across is overriding the OnActionExecuting and removing the specific key:

public class ExceptPropertiesAttribute : ActionFilterAttribute {     private IEnumerable<string> _propertiesKeys;      public ExceptPropertiesAttribute(string commaSeperatedPropertiesKeys)     {         if (!string.IsNullOrEmpty(commaSeperatedPropertiesKeys))         {             this._propertiesKeys = commaSeperatedPropertiesKeys.Split(',');         }     }      public override void OnActionExecuting(ActionExecutingContext actionContext)     {         if (this._propertiesKeys != null)         {             foreach (var propertyKey in this._propertiesKeys)             {                 if (actionContext.ModelState.ContainsKey(propertyKey))                 {                     actionContext.ModelState.Remove(propertyKey);                 }             }                         }     } } 

MyModelDTO class:

public class EventModelDTO : IBaseModel {     [IsNotEmpty(ErrorMessage = "Guid Id Is Empty")]     public Guid Id { get; set; }     [Required]     public string Name { get; set; } }  public class IsNotEmptyAttribute : ValidationAttribute {     public override bool IsValid(object value)     {         if (value == null) return false;          var valueType = value.GetType();         var emptyField = valueType.GetField("Empty");          if (emptyField == null) return true;          var emptyValue = emptyField.GetValue(null);          return !value.Equals(emptyValue);     } } 


[HttpPost] [ExceptPropertiesAttribute("Id")] public ActionResult Post([FromBody] MyModelDTO itemDTO = null) {     try     {         if (!ModelState.IsValid)         {             return BadRequest();         }          MyModel item = _mapper.Map<MyModel>(itemDTO);         ResultService result = this._myService.Insert(item);         if (result.Success)         {                                 return CreatedAtAction("Post", new { item.Id }, itemDTO);         }         else         {             return StatusCode(500, result.ErrorCode);         }     }     catch (Exception ex)     {         return StatusCode(500, ErrorCode.Unknown);     } }  [HttpPut("{id}")] public ActionResult Put([FromBody] MyModelDTO itemDTO) {     try     {                         if (!ModelState.IsValid)         {             return BadRequest();         }          MyModel item = _mapper.Map<MyModel>(itemDTO);         ResultService result = this._eventsService.Update(item);         if (result.Success)         {             return Ok();         }         else         {             return StatusCode(500, result.ErrorCode);         }     }     catch (Exception ex)     {         return StatusCode(500, ErrorCode.Unknown);     } } 

Generate automatic URL alias removing words

I’m trying to create a topic page for “internet of things”, but each time I create the page I notice the URL slug removes the word “of” in it. By default Generate automatic URL alias is checked. The only solution I have found is to uncheck the Generate automatic URL alias option and giving custom url alias. This is a problem since we have alot pages and it’s difficult to update it manually. (Some people who make these pages don’t have permission to open drupal and push changes from our website). We also run into an issue with symbols # or + or character ‘a’.This is restricting the SEO for pages like C#