When it comes to code readability, the initialiser syntax makes declaring C# objects very easy and clean to read. It also makes writing the code much faster since you do not need to be adding new constructors and lets you see what properties you have left to assign. But what about performance? Is one method…
I have recently needed to spend some time looking for some good Wordpress documentation plugins to use on this website. There are quite a few out there but the quality can vary quite a bit. To save you some time, I have put together a list of the best documentation plugins for Wordpress so you…
So you have hit a critical moment in the managment of your blog or website. All your hard work to build great content is looking like it will be for nothing as your entire domain is now banned from Facebook. What can I do now? The Facebook support website seems to bring you in an…
I was recently setting up PHP 5.6 on IIS 8.5 and hit an error. [crayon-5dd515e83d76c131342120/] I had been following a guide and this one didn't make much sense. After trying to endlessly debug this i found out that it wasn't actually anything to do with PHP or IIS, it was a dependency issue. Thankfully, the…
When it comes to handling datetime on SQL server it can get quite error prone when you are dealing with different regions and end up getting an out or range date exception if you are trying to add a date that is in EU date format to a server that is expecting a US date…
All Uniq based operating systems contain a massively powerful command line interface that can let you do a lot of really cool things that you may not have realized. If you are looking for a piece of text in a huge directory of files, there is no need to go through each file and check.…
If you are using the sortable feature of the jQuery library, you will likely want a way to get the order of the elements. You can do this very easily using one of the built in events. The following code will obtain the element order for a sortable div and output the data to the…
This tutorial will guide you through the steps required to get Node.js and Angular 2.0 setup installed on your windows system in order to begin development with Angular 2.0 web applications. The setup is fairly simple, so there shouldn't be too much room for things to go wrong. This is what you need to do…
Quite often when dealing with an API or some other external service, you will find that you get Unix timestamps returned to you or alternatively have to provide a timestamp in Unix form when sending a request back. Since you are going to be running your .NET code on a windows machine, you don't have…
Back in the early days of DDOS attacks this would have been a highly dangerous tool. Thankfully it is very easy to block a basic attack like this, so i don't see the risk of explaining how to use this method. Apache has a tool built into it that will allow you to send a…