Sending Books to a Kindle from Gmail in Calibre
I’ve just built a new computer and have been setting up all my software on it again, as part of that I need to set up Calibre to download news and send it to my Kindle via my Gmail account. Read more
I’ve just built a new computer and have been setting up all my software on it again, as part of that I need to set up Calibre to download news and send it to my Kindle via my Gmail account. Read more
I’ve gotten so used to working with JSON that I’d almost forgotten what a chore it can be to work with XML. A case in point is the below XML sample that I’m trying to deserialize into a class, essentially Read more
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 separated by a semicolon. Strangely this Read more
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.
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 Read more
I’ve had a few projects where I’ve had a large number of asyncronous tasks to execute but haven’t wanted to execute them all at once as this would create too many threads and would result in system degredation. Initially I Read more
For this I just wanted a basic regex for phone numbers, it’s all numeric with an optionaly starting “+”.
Sometimes it’s necessary to host multiple sites under the same parent address, in Azure this can be done by deploying multiple projects to seperate folders within a single WebApp. To begin with you need to create a WebApp, once this Read more
The easiest way to post data from a view to a controller action is by adding a form and submit button and letting most of the hard stuff happen automatically. Unfortunately this doesn’t really work in cases where data needs Read more
Creating URIs with parameters in .NET Core is more complicated than I’d initially expected. As a result I ended up creating my own methods based upon this Stack Overflow answer. To begin with I needed a version to return relative Read more