Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos #64

Merged
merged 1 commit into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ No information is otherwise kept in storage on the server, and no cookies are se

## Fallback

As previously mentioned, **Specify** automatically **POST**s the results of it's runtime to **Specified** and then automatically opens the customized page, while also copying that URL to the clipboard.
As previously mentioned, **Specify** automatically **POST**s the results of its runtime to **Specified** and then automatically opens the customized page, while also copying that URL to the clipboard.

Alternatively, whenever **Specify** is unable to complete said **POST** request, or is set to not upload by the user, the **.json** file is instead written into the same directory as the **Specify** **executable** is ran from. This **.json** can then be manually uploaded to **Specified** to generate the view.
2 changes: 1 addition & 1 deletion client/Monolith.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private static async Task<string> DoRequest(string str)
}
catch (Exception ex)
{
await DebugLog.LogEventAsync($"Unsuccessful HTTP Request. An Unexpected Exception occured", DebugLog.Region.Misc, DebugLog.EventType.ERROR);
await DebugLog.LogEventAsync($"Unsuccessful HTTP Request. An Unexpected Exception occurred", DebugLog.Region.Misc, DebugLog.EventType.ERROR);
await DebugLog.LogEventAsync($"{ex}");
return null;
}
Expand Down
4 changes: 2 additions & 2 deletions client/data/Methods/Events.cs
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,10 @@ 000F 1PPT RRRR IILL - Bus and Interconnect Errors BUS{LL}_{PP}_{RRRR}_{II}_{T}_
mce.TransactionType = TT;
mce.MemoryHeirarchyLevel = LL;
}
// Generic Cache Heirarchy Error
// Generic Cache Hierarchy Error
else if (CheckBitMask(code, 0b11ul << 2))
{
mce.ErrorMessage = "Generic Cache Heirarchy Error";
mce.ErrorMessage = "Generic Cache Hierarchy Error";
mce.MemoryHeirarchyLevel = LL;
}
// No error
Expand Down
12 changes: 6 additions & 6 deletions client/data/Methods/Hardware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ private static List<Monitor> GetMonitorInfoDXDiag()
.Children().Children().ToList();
var videoId = 0;

// very inefficient while loop right here, but as long as it works, thats what matters -K97i
// very inefficient while loop right here, but as long as it works, that's what matters -K97i
while (true)
{
try
Expand Down Expand Up @@ -679,7 +679,7 @@ private static List<DiskDrive> LinkLogicalPartitions(List<DiskDrive> drives)
if (drives[di].Partitions[pi].PartitionFree != 0)
{
// This is marked as an error to bring attention to the existence of two LogicalDisks on the same partition until the routine is written to better handle this situation.
LogEvent($"Multiple LogicalDisks are linked to the same partition: {drives[di].Partitions[pi].DeviceId} - Found: {trimmedDependent} - Exisiting: {drives[di].Partitions[pi].PartitionLetter}", Region.Hardware, EventType.ERROR);
LogEvent($"Multiple LogicalDisks are linked to the same partition: {drives[di].Partitions[pi].DeviceId} - Found: {trimmedDependent} - Existing: {drives[di].Partitions[pi].PartitionLetter}", Region.Hardware, EventType.ERROR);
}
// Add the information found in the matching LogicalDisk to the partition.
if (!letteredDrive.TryWmiRead("VolumeName", out drives[di].Partitions[pi].PartitionLabel))
Expand All @@ -699,7 +699,7 @@ private static List<DiskDrive> LinkLogicalPartitions(List<DiskDrive> drives)
}
catch (Exception ex)
{
LogEvent("Unexpected exception thrown during paritition linking", Region.Hardware, EventType.ERROR);
LogEvent("Unexpected exception thrown during partition linking", Region.Hardware, EventType.ERROR);
LogEvent($"{ex}", Region.Hardware);
continue;
}
Expand Down Expand Up @@ -805,7 +805,7 @@ private static List<DiskDrive> LinkNonLogicalPartitions(List<DiskDrive> drives)
if (driveLetter == "")
{
LogEvent("Partition Link could not be established. Detailed Information follows:", Region.Hardware, EventType.ERROR);
LogEvent($"Failing Partion: Size: {partitionSize} - Label: {driveLetter} - File System: {fileSystem}", Region.Hardware);
LogEvent($"Failing Partition: Size: {partitionSize} - Label: {driveLetter} - File System: {fileSystem}", Region.Hardware);
LogEvent("Drive Info:", Region.Hardware);
StringBuilder errorPartitionInfo = new();
foreach (var drive in drives)
Expand Down Expand Up @@ -1129,7 +1129,7 @@ private static DiskDrive GetNvmeSmart(DiskDrive drive)
* NVME CriticalWarning is defined by 8 bits:
* 0: Available Space Low
* 1: Temperature Threshold Exceeded
* 2: NVM Subsytem Reliability Significantly Degraded
* 2: NVM Subsystem Reliability Significantly Degraded
* 3: Media has been set to Read Only
* 4: Volatile Memory Device Backup Failed
* 5: Persistent Memory Region set to Read Only
Expand Down Expand Up @@ -1341,7 +1341,7 @@ where sensor.SensorType.Equals(SensorType.Temperature) && sensor.Value > 24 || s
}
catch (OverflowException)
{
await LogEventAsync("Absolute value overflow occured when fetching temperature data", Region.Hardware, EventType.ERROR);
await LogEventAsync("Absolute value overflow occurred when fetching temperature data", Region.Hardware, EventType.ERROR);
}
catch (Exception ex)
{
Expand Down
8 changes: 4 additions & 4 deletions client/data/Methods/System.cs
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ private static async Task<bool> CreateMinidumpZipFile(string[] dumps, string Tem
}
catch (Exception e)
{
await LogEventAsync($"Error occured manipulating dump files! Is this running as admin?", Region.System, EventType.ERROR);
await LogEventAsync($"Error occurred manipulating dump files! Is this running as admin?", Region.System, EventType.ERROR);
await LogEventAsync($"{e}", Region.System);

return false; //If this failed, there's nothing more that can be done here.
Expand All @@ -452,7 +452,7 @@ private static async Task<string> UploadMinidumps(string TempZip, string specifi
}
catch (Exception e)
{
await LogEventAsync($"Error occured when uploading dumps.zip to Specified!", Region.System, EventType.ERROR);
await LogEventAsync($"Error occurred when uploading dumps.zip to Specified!", Region.System, EventType.ERROR);
await LogEventAsync($"{e}", Region.System);
}

Expand Down Expand Up @@ -648,7 +648,7 @@ await LogEventAsync($"Firefox missing addons.json, suggests corrupted appdata",
}
catch (Exception e)
{
await LogEventAsync($"Exception occured in GetBrowserExtension() during Firefox profile gathering.",
await LogEventAsync($"Exception occurred in GetBrowserExtension() during Firefox profile gathering.",
Region.System, EventType.ERROR);
await LogEventAsync($"{e}");
}
Expand Down Expand Up @@ -750,7 +750,7 @@ await LogEventAsync($"Null reference caught reading {di.Name} in {browser.Name}"
}

//Fetch OperaGX profiles
//Returns a dictonary object containing a profile object and the directory extensions exist for each profile
//Returns a dictionary object containing a profile object and the directory extensions exist for each profile
private static Dictionary<Browser.BrowserProfile, string> GetOperaGXProfiles(string dir)
{
Console.WriteLine("Grabbing profiles for OperaGX");
Expand Down
2 changes: 1 addition & 1 deletion client/data/Structs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public class EdidData
public string DisplayGamma; // Byte 23
public string SupportedFeaturesBitmap; // Byte 24

// Monitor Capabilites Bytes 25-125
// Monitor Capabilities Bytes 25-125
public string ChromacityCoordinates; // Bytes 25-34 - 10-bit CIE 1931 xy coordinates for RGBW
public string EstablishedTimingBitmap; // Bytes 35-37
public string TimingInformation; // Bytes 38-53
Expand Down
2 changes: 1 addition & 1 deletion client/data/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public static Browser.Extension ParseChromiumExtension(string path)
}
catch (Exception e)
{
DebugLog.LogEvent($"Unexpected exception occured in ParseChromiumExtension: {e}", DebugLog.Region.System, DebugLog.EventType.ERROR);
DebugLog.LogEvent($"Unexpected exception occurred in ParseChromiumExtension: {e}", DebugLog.Region.System, DebugLog.EventType.ERROR);
return null;
}
}
Expand Down