This commit is contained in:
Mike Phares 2023-09-29 19:47:27 -07:00
parent f540cac462
commit 2cd2c2b434
23 changed files with 94 additions and 89 deletions

8
.gitignore vendored
View File

@ -447,14 +447,16 @@ $RECYCLE.BIN/
##
## Visual Studio Code
##
.vscode/*
!.vscode/extensions.json
!.vscode/launch.json
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!Instance/.vscode/appsettings.example.json
!Rename/.vscode/appsettings.example.json
.vscode/helper/**
.vscode/Docker/**
Shared/.vscode/ged
shared/.vscode/helper/**
#VSCode Settings => mklink /J "VSCode Settings" "C:\Users\phares\AppData\Roaming\Code\User"
globalStorage/

1
.vscode/format-report.json vendored Normal file
View File

@ -0,0 +1 @@
[]

View File

@ -20,7 +20,7 @@ public class OffsetDateTimeOriginal
private record Record(FileHolder FileHolder,
bool IsIgnoreExtension,
bool IsValidImageFormatExtension,
int Id,
int? Id,
DateTime DateTime);
private readonly AppSettings _AppSettings;
@ -48,24 +48,26 @@ public class OffsetDateTimeOriginal
log.Information(propertyConfiguration.RootDirectory);
Verify();
List<string> lines = OffsetDateTimeOriginalFilesInDirectories(log);
if (!lines.Any())
if (lines.Any())
File.WriteAllLines($"D:/Tmp/Phares/{DateTime.Now.Ticks}.tsv", lines);
}
private void Verify()
{
if (_AppSettings is null)
{ }
throw new NullReferenceException(nameof(_AppSettings));
if (_IsEnvironment is null)
{ }
throw new NullReferenceException(nameof(_IsEnvironment));
if (_Configuration is null)
{ }
throw new NullReferenceException(nameof(_Configuration));
if (_ConfigurationRoot is null)
{ }
throw new NullReferenceException(nameof(_ConfigurationRoot));
if (_WorkingDirectory is null)
{ }
throw new NullReferenceException(nameof(_WorkingDirectory));
if (_PropertyConfiguration is null)
{ }
throw new NullReferenceException(nameof(_PropertyConfiguration));
if (!_PropertyConfiguration.PopulatePropertyId)
throw new NotSupportedException("Must have!");
}
private List<Record> GetRecords(ASCIIEncoding asciiEncoding, string checkDirectory, DateTime minimumDateTime, DateTime maximumDateTime, long ticks)
@ -95,7 +97,7 @@ public class OffsetDateTimeOriginal
continue;
if (dateTime > maximumDateTime)
continue;
results.Add(new(fileHolder, isIgnoreExtension, isValidImageFormatExtension, id.Value, dateTimeOriginal.Value.AddTicks(ticks)));
results.Add(new(fileHolder, isIgnoreExtension, isValidImageFormatExtension, id, dateTimeOriginal.Value.AddTicks(ticks)));
}
if (files.Length != results.Count)
throw new Exception();

Binary file not shown.

View File

@ -1,7 +1,7 @@
---
type: note
created: 2023-07-05T22:17:38.271Z
updated: 2023-07-05T22:39:48.691Z
type: "Kanban"
created: "2023-08-23T22:44:24.920Z"
updated: "2023-09-30T02:39:33.671Z"
startedColumns:
- 'In Progress'
completedColumns:

View File

@ -1,11 +1,11 @@
---
created: 2023-09-06T01:48:53.593Z
updated: 2023-09-09T15:16:04.076Z
created: "2023-09-06T01:48:53.595Z"
updated: "2023-09-09T15:16:04.000Z"
assigned: ""
progress: 0
tags: []
started: 2023-09-06T01:48:53.593Z
completed: 2023-09-09T15:16:04.076Z
started: "2023-09-06T01:48:53.593Z"
completed: "2023-09-09T15:16:04.076Z"
type: "note"
---
# CanReMap

View File

@ -1,10 +1,10 @@
---
created: 2023-07-17T06:39:53.148Z
updated: 2023-09-09T06:30:37.280Z
created: "2023-08-07T01:30:23.461Z"
updated: "2023-09-09T06:30:37.000Z"
assigned: ""
progress: 0
type: kanbn
started: 2023-09-09T06:30:28.358Z
type: "kanbn"
started: "2023-09-09T06:30:28.358Z"
---
# Cluster Questioning

View File

@ -1,11 +1,11 @@
---
created: 2023-09-09T15:00:50.872Z
updated: 2023-09-09T15:37:00.549Z
created: "2023-09-09T15:00:50.872Z"
updated: "2023-09-09T15:37:00.000Z"
assigned: ""
progress: 0
tags: []
started: 2023-09-09T15:00:50.872Z
completed: 2023-09-09T15:37:00.549Z
started: "2023-09-09T15:00:50.872Z"
completed: "2023-09-09T15:37:00.549Z"
type: "note"
---
# Filter same id

View File

@ -1,6 +1,6 @@
---
created: 2023-07-21T18:26:38.901Z
updated: 2023-09-09T06:30:12.385Z
created: "2023-08-07T01:30:23.461Z"
updated: "2023-09-09T06:30:12.000Z"
assigned: ""
progress: 0
tags: []

View File

@ -1,11 +1,11 @@
---
created: 2023-08-12T04:53:43.442Z
updated: 2023-08-12T15:26:41.597Z
created: "2023-08-21T16:17:13.000Z"
updated: "2023-08-21T16:17:13.000Z"
assigned: ""
progress: 0
tags: []
started: 2023-08-12T04:53:43.442Z
completed: 2023-08-12T15:26:41.598Z
started: "2023-08-12T04:53:43.442Z"
completed: "2023-08-12T15:26:41.598Z"
type: "note"
---
# Fix random logic

View File

@ -1,10 +1,10 @@
---
created: 2023-08-19T18:52:14.422Z
updated: 2023-08-19T18:52:14.418Z
created: "2023-08-19T18:52:14.000Z"
updated: "2023-08-19T18:52:14.000Z"
assigned: ""
progress: 0
tags: []
started: 2023-08-19T18:52:14.422Z
started: "2023-08-19T18:52:14.422Z"
type: "note"
---
# Google API for family

View File

@ -1,10 +1,10 @@
---
created: 2023-07-21T18:26:38.903Z
updated: 2023-09-09T06:31:23.591Z
created: "2023-07-21T21:51:23.720Z"
updated: "2023-09-09T06:31:23.000Z"
assigned: ""
progress: 0
status: 1-Backlog
type: kanbn
status: "1-Backlog"
type: "kanbn"
---
# Google Timeline for Geo

View File

@ -1,11 +1,11 @@
---
created: 2023-09-09T15:36:54.752Z
updated: 2023-09-09T21:51:25.431Z
created: "2023-09-09T15:36:54.743Z"
updated: "2023-09-09T21:51:25.000Z"
assigned: ""
progress: 0
tags: []
started: 2023-09-09T15:36:54.752Z
completed: 2023-09-09T21:51:25.432Z
started: "2023-09-09T15:36:54.752Z"
completed: "2023-09-09T21:51:25.432Z"
type: "note"
---
# Linked to 9

View File

@ -1,11 +1,11 @@
---
created: 2023-08-08T00:50:02.553Z
updated: 2023-08-08T05:01:29.188Z
created: "2023-08-21T16:17:13.000Z"
updated: "2023-08-21T16:17:13.000Z"
assigned: ""
progress: 0
tags: []
started: 2023-08-07T00:00:00.000Z
completed: 2023-08-08T05:01:29.188Z
started: "2023-08-07T00:00:00.000Z"
completed: "2023-08-08T05:01:29.188Z"
type: "note"
---
# Move CopyManualFiles to GetDisplayDirectoryAllFiles

View File

@ -1,10 +1,10 @@
---
created: 2023-09-09T06:28:12.578Z
updated: 2023-09-09T21:51:56.736Z
created: "2023-09-09T06:28:12.580Z"
updated: "2023-09-09T21:51:56.000Z"
assigned: ""
progress: 0
tags: []
started: 2023-09-08T00:00:00.000Z
started: "2023-09-08T00:00:00.000Z"
type: "note"
---
# Name some from 638324064000000000 verify Manual still works

View File

@ -1,9 +1,9 @@
---
created: 2023-09-09T06:33:28.795Z
updated: 2023-09-09T06:33:28.790Z
created: "2023-09-09T06:33:28.000Z"
updated: "2023-09-09T06:33:28.000Z"
assigned: ""
progress: 0
tags: []
type: "note"
---
# Neo4j DB import

View File

@ -1,11 +1,11 @@
---
created: 2023-08-08T05:37:00.125Z
updated: 2023-08-14T02:08:22.605Z
created: "2023-08-21T16:17:13.000Z"
updated: "2023-08-21T16:17:13.000Z"
assigned: ""
progress: 0
tags: []
started: 2023-08-08T05:37:10.651Z
completed: 2023-08-14T02:08:22.605Z
started: "2023-08-08T05:37:10.651Z"
completed: "2023-08-14T02:08:22.605Z"
type: "note"
---
# Reload slideshow

View File

@ -1,11 +1,11 @@
---
created: 2023-08-07T00:19:34.160Z
updated: 2023-09-09T15:12:01.657Z
created: "2023-08-23T22:44:24.901Z"
updated: "2023-09-09T15:12:01.000Z"
assigned: ""
progress: 1
tags: []
started: 2023-08-05T00:00:00.000Z
completed: 2023-09-08T00:00:00.000Z
started: "2023-08-05T00:00:00.000Z"
completed: "2023-09-08T00:00:00.000Z"
type: "note"
---
# ReviewLocationContainerDistanceTolerance needs to be unique

View File

@ -1,10 +1,10 @@
---
created: 2023-09-09T15:01:12.800Z
updated: 2023-09-10T01:10:32.967Z
created: "2023-09-09T15:01:12.799Z"
updated: "2023-09-10T01:10:32.000Z"
assigned: ""
progress: 0
tags: []
started: 2023-09-09T15:01:12.800Z
started: "2023-09-09T15:01:12.800Z"
type: "note"
---
# Run limiting on days

View File

@ -1,9 +1,9 @@
---
created: 2023-08-08T23:48:54.260Z
updated: 2023-09-09T06:31:43.028Z
created: "2023-08-23T22:44:24.907Z"
updated: "2023-09-09T06:31:43.000Z"
assigned: ""
progress: 0
tags: []
type: "note"
---
# Triangle over person in full image for some

View File

@ -1,9 +1,9 @@
---
created: 2023-09-09T06:29:03.734Z
updated: 2023-09-09T06:31:45.781Z
created: "2023-09-09T06:29:03.744Z"
updated: "2023-09-09T06:31:45.000Z"
assigned: ""
progress: 0
tags: []
type: "note"
---
# Update drag and drop to work with new resize location

View File

@ -1,10 +1,10 @@
---
created: 2023-09-09T15:01:28.239Z
updated: 2023-09-10T01:10:31.283Z
created: "2023-09-09T15:01:28.239Z"
updated: "2023-09-10T01:10:31.000Z"
assigned: ""
progress: 0
tags: []
started: 2023-09-09T15:01:28.239Z
started: "2023-09-09T15:01:28.239Z"
type: "note"
---
# Verify camera model still works

View File

@ -1,10 +1,10 @@
---
created: 2023-09-10T02:21:51.169Z
updated: 2023-09-10T02:21:59.136Z
created: "2023-09-10T02:21:51.166Z"
updated: "2023-09-10T02:21:59.000Z"
assigned: ""
progress: 0
tags: []
started: 2023-09-10T02:21:51.169Z
started: "2023-09-10T02:21:51.169Z"
type: "note"
---
# Verify ignore get set to dup if they are set