I feel that it is important to comment your code and make sure that the next developer that uses the project knows what the hell you have done. However I have seen over the time I have been developing a lot of different ways people comment, so here are some of the dos and doContinueContinue reading “Good, Bad and the Ugly Commenting”
Category Archives: Software Engineering
How to normalise ’em’ font
I was thinking about how we use the font measurement ’em’ and how it can be very hard to keep track of the relative sizes. When you keep driving down in sizes for different widgets it can be hard to know what size your font is going to come out like.
MS Word special characters Regex
That pesky Microsoft! They have to be different and mess us developers around don’t they. Have you ever noticed that Microsoft Word’s symbols look a bit different or act a little odd? Well it’s because they are not the standard char characters. This can be a pain for Regex and other things. So how doContinueContinue reading “MS Word special characters Regex”
Sticky Menu Bar code and example
This is a bit of a feature a lot of websites use and love, which is the Sticky Menu Bar. This could also be used for things like a cookie policy bar as well, but what ever the use it is a good feature. However I see some people add these with some terrible codeContinueContinue reading “Sticky Menu Bar code and example”
How to test a SOAP Interface with SoapUI
SoapUI is a testing program to test any SOAP interface. This is a method of how to use SoapUI and test an interface.
How to detect JQuery UI collision position
Some may not know, but you can use the JQuery method position to pass an object with a lot of functionality. This properties of the position object can control where the item sits in the HTML, plus also the collision. This is where it collides with another DOM or the window of the page andContinueContinue reading “How to detect JQuery UI collision position”
How to Self Authenticate in .NET MVC C#
When you build your website application and you have a sign in section, most people use their own cookies to store the user information to validate the users is logged in, but with .NET MVC you can use the built in authentication to sign in, sign out and control there role.
VAT Number Validation
One bit of code I needed recently was a way to validate a user’s VAT number, but for particular countries. Please see the reasons and method for validating a user’s VAT for most of Europe.