Programming

JavaScript Week Picker

JavaScript Week Picker One of the new input types in HTML5 is week which allows you to specify a week period. Unfortunately although Chrome brings up a nice datepicker to allow you to select the week Firefox and IE12 and earlier don’t implement this and so just display a standard Read more…

By Shinigami, ago
Programming

Email Address RegEx

Email Address RegEx For this I just wanted a basic regex for email addresses, it will get nearly all emails but there’s likely to be some edge cases that it’s unhappy with. ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$

By Shinigami, ago
Programming

Recursive Object Properties

Recursive Object Properties I’ve been working to create a virtual file system for SQL databases and represent this in a web interface. While creating the classes in .NET I realised that I needed to be able to traverse all the ancestors of a file up to the root level and Read more…

By Shinigami, ago