Safari SecurityError: Dom Exception 18 thrown by localStorage or cookies are blocked

Please note an unhandled SecurityError (DOM Exception 18): The operation is insecure is thrown when calling window.localStorage from Safari on iOS 7.1.2 with blocked cookies (Settings > Safari > Block Cookies > Always).

It is caused by disabling cookies also disables localStorage. With other two choices of block cookies setting (“From third parties and […]

Continue reading


Basic Git commands

Git task Notes Git commands Tell Git who you are Configure the author name and email address to be used with your commits. Note that Git strips some characters (for example trailing periods) from user.name.

Create a new local repository  

Check out a repository Create a working copy of a local repository: […]

Continue reading


UUID vs GUID

The simple answer is: NO difference, they are the same thing. Treat them as a 16 byte (128 bits) value that is used as a unique value. In Microsoft-speak they are called GUIDs, but call them UUIDs when not using Microsoft-speak. The term GUID usually refers to Microsoft’s implementation of the Universally Unique Identifier (UUID) […]

Continue reading