Hardware

Updating Gigabyte Motherboard BIOS

Updating Gigabyte Motherboard BIOS I recently built a new PC based on the Gigabyte Z370 AORUS Gaming 7, as this is a pretty new motherboard I figured I’d try and update the BIOS/UEFI to the latest version. Unfortunately it seems the Q-Flash utility for doing this doesn’t work properly (at Read more…

By Shinigami, ago
Programming

Reading Lists from appsettings.json

Reading Lists from appsettings.json I’ve been using the SendGrid API for a project and I was trying to be lazy and read multiple email addresses to send to from a single parameter in appsettings.json with the email addresses seperated by a semicolon. Strangely this only sends to the first email Read more…

By Shinigami, ago
Programming

List Shuffling

List Shuffling This is just a simple extension for lists to enable the shuffling of items within it based on the StackOverflow answer here. This relies on System.Random so isn’t as random as it could be but is fine for my purposes. public static IEnumerable<T> Shuffle<T>(this IEnumerable<T> source, Random rng) Read more…

By Shinigami, ago
Hardware

PC Parts List

PC parts List List of possible parts for building a new PC. Type Part Price PSU Aerocool Project 7 P650 RGB Full Modular 650w 80 Plus Platinum APFC PSU £124.98 CPU Intel Core i7-8700K 3.70GHz LGA1151 Processor £394.98 Case Be Quiet! Dark Base 700 £169.99 Boot Drive Samsung 500GB 850 Read more…

By Shinigami, ago
Programming

Serializing JSON Values Without Quotes

Serializing JSON values without quotes I have a package called ChartJSCore which generates the required JavaScript for creating Chart.js charts in a web application. For the most part the JS for this is essentially JSON so this works by serializing chart objects using Newtonsoft which automatically quotes both the object Read more…

By Shinigami, ago