Home » Tips
Supporting RSS Files in IIS
Microsoft IIS does not support RSS files by default. Here is a step by step guid eto enabling it. If you’re impatient, already know your way around IIS and just want the MIME type details, they are: Extension:…
Read More »Sandisk Cruzer – Making them work like a standard USB stick
I just brought an 8GB Sandisk Cruzer USB stick. Unfortunately whenever you plug it in, it comes up as both an emulated CD-ROM drive and the removable disk. the emulated disk comes up as “U3 System” and it…
Read More »Testing websites with multiple versions of IE
One of the most annoying tasks I have to do when I’m developing a website is to test it in the many different browsers and in some cases, multiple versions of each. Internet Explorer is the most difficult…
Read More »Deleting files based on their Date
If you are perfoming regular automated backups (like you should), You’ll soon find you are running out of space and need to start deleting old backups. Here is a really simple way to delete files that are more…
Read More »Image Editing in C# – Contrast
When attempting to get machines to process images you sometimes run into noise problems. Filters are regularly applied first to clean them up. Editing the contrast of an image changes its dynamic range. In its most basic form,…
Read More »Image Editing in C# – Greyscale
I’m in the process of writing some code to detect the stars in astromical images. One of the filters I need to apply to an image is to convert it to greyscale. Conversion to greyscale is relatively straightforward…
Read More »TLEs – Calculation of the Julian Day Number (JDN)
This post is part of a series on understanding the meaning behind the values contained in a Two Line Element set, or Keplerian Elements. The main article is here. Calculation of the Julian Day Number (JDN) Julian day…
Read More »Code: Shortest distance between any two line segments
I recently needed to find the shortest distance between any two line segments in 3D space. I managed to find some C++ code online at http://softsurfer.com/Archive/algorithm_0106/algorithm_0106.htm which I converted to C#. It’s fairly easy to use. If you…
Read More »SQL Tips – Identifying which version of SQL Server you are using
If you need to find out the version of SQL Server you are using, simply use the following script: SELECT SERVERPROPERTY(’productversion’), SERVERPROPERTY(’productlevel’), SERVERPROPERTY(’edition’)SELECT SERVERPROPERTY(‘productversion’), SERVERPROPERTY(‘productlevel’), SERVERPROPERTY(‘edition’)
Read More »SQL Tips – List of Top Level Domains
Here is SQL and a text list of the Top Level Domains currently in use on the internet The list is free for all to use for any purpose. The original data was sourced from IANA on Thursday…
Read More »