-
14th May, 2015
Example require.js config file
example
-
6th Nov, 2014
Web.config snippet to allow CORS
Web.config snippet to allow CORS
snippet -
14th Oct, 2014
Help my icons are showing as Unicode entities
Are your icons showing as entities and not the icons? It's possible that Sass is double-escaping it.
css sass -
21st May, 2014
Reliably detect IE version with JavaScript
I found this snippet online to detect what version of IE using JavaScript.
-
9th May, 2014
The Little Zen Book of Building Code
I'm collecting some snappy one-liners to help myself build things better.
-
8th May, 2014
Storing NodeJS app config in environment
Storing your application config in the environment variables helps separate development, testing and production configuration.
-
7th May, 2014
Testing deferred promise chains
A quick test/example of chaining deferred promises
javascript -
2nd Apr, 2014
Uglify and Angular!
If you get a broken Angular with the following error: Error: [$injector:unpr] Unknown provider: a or something
grunt javascript snippet -
13th Mar, 2014
Enable CORS in .Net Web API
Bookmark
bookmark -
5th Feb, 2014
Send an email with a Python CGI
Does exactly what it says on the tin
email python server snippet