Archives
-
Link Dump
Things I've read recently that I want to keep track off, and perhaps comment on slighty.
PowerShell Tutorial – Try Catch Finally and error handling in PowerShell
I've recently been putting together …
-
Compressing directories to ZIP from PowerShell
A quick note to self about compressing folders using PowerShell, basically the trick is to use the ZipFile class from the System.IO.Compression.FileSystem assembly:
$directory = "C:\Path\To\ …
-
Documentation - the oft neglected step-child of a project
I've recently started contributing to the documentation for the Orchard CMS project (GitHub: https://github.com/OrchardCMS/OrchardDoc), my reasons for this are many:
I've been using Orchard as the …
-
There's more to console than .log
A tweet I saw reminded me that the Javascript Console object has more to it than just "log"
Protip: there are many siblings to console.log(), like .group(), .error(), .assert() formatting and much …
-
2017-08 update for Windows 10 Anniversary Update ("1607") breaks WSUS - WSUS gets a fix as well!
It looks like Microsoft are going all out to fix the issues introduced in the 2017-08 update for Windows 10 as an update to WUS has been released to resolve a single solitary issue (as well as the …
-
Link Dump
Easily extracting .nupkg files with WinRAR
I've had WinRAR installed on my work PC for years (November '13 if the created stamp on the folder it's installed into is to be believed) and for all that …
-
2017-08 update for Windows 10 Anniversary Update ("1607") breaks WSUS - FIXED
NOTE (Updated 30/08): Microsoft appear to have resolved this issue with a new update for WSUS as well, see here for details.
I previously blogged about how the 2017-08 update to Windows 10 ("1607" / …
-
Publishing a module to the Orchard Gallery
The steps involved in publishing a module to the Orchard Gallery, as documented, are somewhat out of date as trying to follow them didn’t match reality, unfortunately. As I’ve just gone through the …
-
Writing a custom Condition for Orchard - checking the tags on a page - published to GitHub and the Orchard Gallery
As promised in my first post about writing a custom Condition for Orchard, I've published the source code to GitHub and the Orchard modules gallery:
Source code on GitHub
Module in the Orchard …
-
Writing a custom Condition for Orchard - checking the tags on a page
I've previously written about how I've added a standardised warning banner to certain pages in Orchard, so that I can always show something like the text in the image below when I've written a post …
-
Age of Empires is being re-released into the Windows Store!
From: onmsft.com: Age of Empires: Definitive Edition Windows 10 pre-orders now open
Not a lot more to say, but Age of Empires and Command & Conquer (in nearly all its flavours) were and are two of …
-
Adding Google Analytics to Orchard
Google Analytics can show you all kinds of funky stuff about who's viewing your website, what they're viewing and how they're mooching from page to page, and it's very easy to add to your site as …
-
Escaping identifiers in SQL when building up commands in C#
I answered a question on Stack Overflow recently about how to "encode" identifiers so that they aren't a source of SQL injection. As it's something I'm likely to keep "in the bank" I wanted to put up …
-
Ensuring an action filter is only executed once per request
If you have a view that's composed of the result of more than one action, for example by having something like:
@Html.Action("PartialContentForHome", "Home")
in one view, to pull in the content for …
-
Blog spam from "essay captains"
Recently I've had some blog comment spam from https://essaycaptains.com/. I'm just putting this out there so that (yes, the link has a nofollow!) anyone that searches for them might see this and know …
-
Making the PJS.Bootstrap theme work with Orchard 1.10.x
The PJS.Bootstrap theme, along with several other themes and modules doesn't work when combined with Orchard 1.10.x, with the orchard-debug-YYYY-MM-DD.log files generated in ~/App_Data/Logs …
-
Using SQL Server CLR to add "earliest" and "latest" aggregate functions
Whilst there are undoubtedly very funky ways to achieve the same result, many moons ago I wrote a couple of SQL CLR aggregate functions for retrieving the earliest and latest values for a given …
-
Using MiniProfiler with a hybrid asp.net Web Forms / MVC application - Part 3
Previous parts:
Part 1 - Installing MiniProfiler and showing the UI
Part 2 - Hooking MiniProfiler into an MVC controller
Controlling when MiniProfiler is visible
More often than not, you won' …
-
Using MiniProfiler with a hybrid asp.net Web Forms / MVC application - Part 2
Part 1 covered creating a hybrid ASP.NET WebForms / MVC project, adding MiniProfiler to the project, showing MiniProfiler output on the WebForms page and adding an event to the MiniProfiler output. …
-
Using MiniProfiler with a hybrid asp.net Web Forms / MVC application - Part 1
If you've got an application, like we have, that uses asp.net Web Forms for the UI components and MVC (5) for the endpoints that are used by JavaScript to retrieve/save data, it's still posible to …
-
2017-08 update for Windows 10 Anniversary Update ("1607") breaks WSUS
NOTE: Microsoft appear to have resolved this issue with a new update for Windows 10, see here for details.
We've discovered that (now listed as a known issue in the Windows 10 Update History) the …
-
[Non-Tech] Usable instructions for descaling Sage "the Oracle" coffee machine
Totally non-techy post ahead:
The instructions in the provided manual for the Sage "by heston blumenthal" the Oracle cofee machine that are supposed to guide you through de-scaling the machine are …