Semantic logging in JavaScript.
How did I live without semantic logging for so long? This is how I used to debug running applications: log("Started reading database"); ... log("Read database" ...
How did I live without semantic logging for so long? This is how I used to debug running applications: log("Started reading database"); ... log("Read database" ...
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <httpProtocol> <customHeaders> <add name="Access-Control-Allow-Origin" value= ...
You need to do something like this: @function char-from-code($iso-char) { @return unquote('\"#{$iso-char}\"'); } $unicode: \e06d; .icon { content: char-from-code($unicode); } ...
I found this snippet online to detect what version of IE using JavaScript. I didn't write it, if this is yours, please let me know and ...
I'm collecting some snappy one-liners to help myself build things better. An unwritten test is a bug waiting to happen. What's not in source control doesn't ...