by Ross Buggins20. March 2013 21:27I’ve created a small program which allows you to bulk validate email addresses. Just enter the addresses and the separator character (leave blank for new line), then click validate. The good and bad emails addresses can then be saved off. Easy. VaidateEmails.zip VaidateEmails.zip
67c9b261-17c6-4fa0-be65-0e4b3ee474e8|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins18. September 2012 15:43After a power crash on a DC the replication can go crazy. To bring it back you can follow the below on the primary DC. Afterwards, remove the keys added. The log should show a restore has happened and then secondary servers should then be able to synchronise. To perform an authoritative restore of the SYSVOL when using DFS-R, use the following steps: Start the Registry Editor Navigate to "HKLM\SYSTEM\CurrentControlSet\Services\DFSR" Create a key called "Restore" (only time only) Create a string value called "SYSVOL" (only time only) For the strin...
[More]1979bded-c7bf-476a-b439-c7722b6e0ea8|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins6. September 2012 13:40With Windows Server 2012 comes the ability to switch between Core, Minimal and Full GUI options after the Operating System has been installed. To switch down to minimal Uninstall-WindowsFeature Server-Gui-Shell –Restart To switch down to core Uninstall-WindowsFeature Server-Gui-Mgmt-Infra –Restart To switch up to minimal Install-WindowsFeature Server-Gui-Mgmt-Infra –Restart To switch up to full Install-WindowsFeature Server-Gui-Shell –Restart To Remove all of the unused windows binaries, thus saving on storage space Get-WindowsFeature | Where-Object -FilterScript { $_.Installed -Eq $...
[More]e339a311-2483-4877-bd0a-d03f055824ba|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins30. August 2012 15:06At Shore Tech Systems we primarily develop on the Microsoft stack of technologies. Although not ‘free’, the final TCO to clients is normally very low. With web editions of Server 2008 & 2012 and SQL express, web sites can be running on a virtual server or fresh iron with just £10 a month payable to Microsoft. Our development is broken down in to two broad areas. Bespoke Systems and Web Design. When Shore Tech Systems was formed we focused primarily on Bespoke Software Systems. However, as time has gone on many of these bespoke systems are delivered through a web in...
[More]afba17af-1bcb-4d70-a53b-fa7249dcc289|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins30. August 2012 14:40When we are approached to build new web sites we explain to potential clients the advantages that the Content Management System (CMS) Dot Net Nuke (DNN) brings. We can offer clients different options when it comes to DNN site design and implementation depending on what work they have already commissioned we can fit it and complete the job. Graphics Design The first stage in creating a web site is good graphics design. This is where mockups of different pages are created. This can either be completed by the client and supplied to us is a suitable graphics package format or we can...
[More]70e12cac-d41d-4c3a-8707-4667193f1b30|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins30. August 2012 10:25Over the last few months John has been busy working on both a new design and also all new content for the Shore Tech Systems web site. Our previous site has been running a custom CMS which we rarely updated due to the fact that there was always something else to do. As we are now rolling out more and more Dot Net Nuke web sites, we decided that it was time we moved our own site to it. The site looks fantastic, with a Dot Net Nuke Skin that is both simple to use and great looking. Along with the great new look is much more useful content. Before the site was cluttered wi...
[More]eb2cd36e-ef93-454a-902a-2c16335072a2|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins30. August 2012 10:20Today I got to the office to find our internet incredibly slow. We’ve got a BT ADSL line, normally it is about 13Mb down 1Mb up, but today it was 0.05 Mb Down, and 0.05 Mb Up. After rebooting the router and switches and still no change I started looking at our servers to try and find one that was hammering the connection.
After a while I tracked it down to a web server which was running DNS as a backup for a few domains. There was 1 connection to ENR-G.com at 199.59.163.149. It was saturating our broadband link.
I enabled the DNS service logging and found I was getting hundreds of conn...
[More]70be5ec1-b10e-4483-8e62-1a8d8ab75391|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins1. June 2012 11:05Uniquely British now have 150 telephone boxes from Britain's streets, ready to restore and be shipped world wide.
http://www.uniquelybritish.com/Item/BRITISH_RED_K6_TELEPHONE_BOX.aspx?Cat=TELEPHONE_BOXES_KIOSKS
bbc2eb1f-647a-4c21-b67a-63dc225e2a0e|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins16. April 2012 13:47Our first server has been in colocation now for a couple of months and all is going well. Below are a few shots of it in place.
8a69c7c1-5d24-4ef4-9e24-0493f78711fe|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins1. April 2012 12:37Its easy to want to do this:
using (var stream = new MemoryStream())
using (var writer = new StreamWriter(stream))
{
writer.WriteLine("My line to write");
writer.Flush();
}
However, code analysis points out that stream can get disposed twice.
So, the first way to get round this is just to nest the stream inside the writer and don't hold reference to it.
using (var writer = new StreamWriter(new MemoryStream()))
{
writer.WriteLine("My line to write");
...
[More]3375c213-3ea8-4fb5-981b-6219e08bbd61|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins1. April 2012 12:32It's an old post from 2003, but i think it still holds true today.
LoadFrom() goes through Fusion and can be redirected to another assembly at a different path but with that same identity if one is already loaded in the LoadFrom context.
LoadFile() doesn't bind through Fusion at all - the loader just goes ahead and loads exactly what the caller requested. It doesn't use either the Load or the LoadFrom context.
Extract from: http://blogs.msdn.com/b/suzcook/archive/2003/09/19/loadfile-vs-loadfrom.aspx
1f2f1fba-4e3d-4d0a-8463-be90ce84c272|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins8. March 2012 12:02Yesterday (7 March 2012) DNN released an update to 6.1. the highlights are: Major Highlights Fixed issue with loading the splash page skin in the login, privacy and terms of use pages Fixed issue when searching for keywords with special characters Fixed redirection issue when the user does not have permissions to access a resource Fixed issue when clearing the cache using the ClearHostCache() function Fixed issue when displaying the site structure in the link to page feature Fixed issue when inline editing the modules title Fixed issue with incorrect redirect...
[More]25bca0c6-0b6f-4368-aa62-a07ef52fe647|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins8. March 2012 11:23We’re currently working on a project www.theatretripskent.co.uk and we needed a booking system to integrate with it as quickly as possible. We chose to buy the source code for invenmanager events. They had a lot of the core functionality we required, including multiple payment gateway, and with the source code we knew we could do a few changes to get it in line with the requirements. The only draw back for us with the source was the fact the it is all VB has not been ported to C# to be inline with the core of DNN. The first big change we made was to the registration process....
[More]b7cd14bd-af8d-4da4-bd53-ee26a7e629cd|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins9. February 2012 12:31ImageDuplicationFinder.rar This photo image duplication finder looks through the specified directories and can move duplicated to a new folder. It bases the comparison on: camera model camera make date taken The program is designed to help you find duplicate photos and leave the most recently modified version in place. Files that have been modified but are the same photo will be identified as duplicates. The most recently modified image will be left in place and all others moved to the move folder. It will also pick up photos that have been renamed. The du...
[More]7ad8fe6e-7fed-4815-86b6-c49bee800380|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins1. February 2012 22:43A red phone box in the garden would be a nice quirky addition, http://www.uniquelybritish.com/Item/BRITISH_RED_K6_TELEPHONE_BOX.aspx. From their site we have a nice use of www.photolinedrawing.com to convert the images into a pretty good line drawing.
35d582ca-d74c-4865-afd7-dc46a7349274|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins29. January 2012 01:10Here is a neat fix for making ie7 deal with inline blocks:
http://flipc.blogspot.com/2009/02/damn-ie7-and-inline-block.html
d79adce1-789f-42f4-ad68-e072885ff142|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins27. January 2012 12:41My AVR Dragon arrived today. It enables me to debug as well as program with the STK600. It plugs into the STK600 via the 6 pin ISP ribbon and via USB to the PC. You have to also remove the jumper on the reset on the STK600. Now in AVR Studio you can enable debug wire on the fuse and use the debug button.
dc68ae96-7318-4afc-949d-39fce1a571b5|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins27. January 2012 12:02Its been along time since I really did any electronics work and programming the ATTiny44 microcontroller has got be back into it. I’ve ordered some electronic starter kits, Beginners and Component Kit as the first you can use with some tutorials from the electronics club web site. The first circuit I’ve made is a 555 timer which is is sending its signal to a 4017 decade counter. A 555 timer can have lots of functions but I’m using it as an astable circuit. This means it makes regular pulses on its own without any interaction from you. The 55 does this by continual charging and d...
[More]202ebcca-548f-4b9d-b371-512d0d838de3|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins27. January 2012 11:22The ATTiny44 is a small 8 bit AVR microcontroller with a 10Mhx processor, 4KB of Flash, 256B of EEPROM and 256B of SRAM. There is a comprehensive data sheet from Atmel which is pretty much the bible for when trying to program the chip. There are also lots of copies of the STK600’s manual online. When you first look on the Atmel web site for finding the equipment needed to program an AVR microcontroller, your naturally drawn towards the starter kit, the latest version of which is the STK600, I was. Once you start looking around on the internet people say it has a few draw...
[More]2b9c893f-c80d-49ca-a19e-7f786fab05de|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins21. January 2012 19:19This is my first foray into Linux. It makes sense to do it now with a powerful server going into colocation I can make the most of offing Linux hosting to clients.
I’m going with Centos 6 as my first option. This is how I got on.
I’m aming to install the LAMP stack so play to try and follow http://library.linode.com/lamp-guides/centos-6
First things first make sure you install a legacy network adapter on the virtual machine as by default linux doesn’t pick up the standard adapter.
I downloaded the DVD ISOs from the University of Kent mirror service via the Cen...
[More]c0f04086-767d-4451-82d3-fcb5ba967971|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins17. January 2012 11:28So, all of the parts for the colocation server have arrived. In the end I have gone for: Supermicro SYS-2026T-6RF+ Xeon 2.4ghz E5645 24GB Ram 9 x 147GB 10K SAS6Gb Drives The super micro board is a beast, supporting 2 processors and its 18 DIMM slots supporting 198GB of RAM. This server should be good for a while. The 9 2.5” SAS Drives are only 147GB. I wanted 300GB but the hard drive shortages and high costs at the moment made it impossible to get anything but very small or very large SAS drives, and my budget wasn’t going to stretch to 9 900GB SAS drives righ...
[More]6abc3905-91e2-4950-b53e-953977ea2911|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins3. January 2012 20:05If you get the error
System.InvalidOperationException: '~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadStyleSheetManager
when installing DNN via the Web apps in WSP, just add this to the web config for the domain:
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<add name="LogoffHandler*" path="Logoff.aspx" verb="*" type="DotNetNuke.Services.Authentication.LogOffHandler, DotNetNuke" preCondition="integratedMode"/>
<add name="RSSHandler" path="RSS.aspx" verb="*" type="DotNetNuke.Services.Syndication.RssHandler, DotNetNuke" pr...
[More]8e3e3302-df5f-4a8c-b674-a3c50d65769d|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins21. December 2011 16:02I’m currently working on building our first server for colocation. Until now our servers have all been rented servers. This has been fine until now, but with the new version of TARAS, our rota software, we’re looking to build a more powerful server to host this. We could rent a server, but I want to be fairly specific over the specifications, and the ability to easily upgrade the server if demand requires it.
The big negative with colocation is having to worry about component failure and having to replace the parts yourself. Luckily, a new data centre has opened within...
[More]cca10547-62a8-4ca1-9bdc-d2e8e81d5b7c|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins20. December 2011 15:20I always forget the syntax for parsing a string and converting it to an enumerable.
Here it is:
object Enum.Parse(System.Type enumType, string value, bool ignoreCase)
The use is:
var planetEarth = (PlanetEnum) Enum.Parse(typeof(PlanetEnum), "Earth" true);
8769266b-0b47-4e76-bbe4-83d2dd7a7472|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by Ross Buggins14. December 2011 16:13I've recently found a compact little tool in Windows 7 that generates a report for your power consumption. It looks at drivers and settings over a 60 second period to see what can be done to improve the power efficiency of your machine.
To run it just use:
powercfg.exe /energy
It generates a HTML file in your standard user space with its findings.
dc75365f-8be6-4ed9-8957-69f3ddf22845|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags: