JustCompile
Web Developer - Django - .NET - Sys Architect

Latest Posts


DevDNS v1 released

Posted on March 25th, 2016 in Development, Devops, Node.js by Rich

DevDNS v1 has now been released which fixes a bug from a breaking change in Node.js core & introduces the ability to add wildcard domains

Read more...


ExpressJS / KeystoneJS Caching

Posted on December 21st, 2014 in Node.js, Development, Caching by Rich

Recently it came to my attention that ExpressJS; although brilliant, didn't offer any application caching out of the box, so I decided to write some! Introducing ExpressJS Redis Cache

Read more...


Caching Django with Nginx and Redis

Posted on December 13th, 2014 in Devops, Django, Nginx, Caching by Rich

Django's caching framework is great. Its been well thought through (as all of the Django framework has been), its easy to utilize and makes our applications much faster! Nginx is also truly amazing, one of the best pieces of software I've used in recent times. It's caching layer is also very very good, but its not scalable. Nginx & Django have plugins/packages for utilizing Redis so I've written a Python module that allows developers to use both plugins to let the respective technology do what they do best.

Read more...


Simple DNS for Developers with DevDNS

Posted on August 5th, 2014 in Node.js, Development, Devops by Rich

I was working on a project recently whereby customers can point their own domain to the application and it directs to their part of the application. Due to confusion at the client side and a misconfiguration on the application, their domain went live pointing to the wrong part of the application; quite embarassing for all parties.

We all know what its like. "What do you mean it can take 24-48 hours to go live?!" with a time scale that long, it can be difficult to ensure everything is going to be ok. You can change your host file and thats great, but what about your PM or your AM? What if you're pointing to an AWS Elastic Load Balancer which requires DNS CNAME records?

Introducing DevDNS

DevDNS is a simple, easy to use DNS server which aids development and testing. You can run it on your development machine, your PM & AM can run it on theirs or you can sit it inside your network and have EVERYONE use it.

Read more...


.removeAttr(attributeName) not working in Safari/Chrome/Webkit

Posted on January 12th, 2010 by Rich

So today I've found an issue whereby jQuery(selector).removeAttr(attributeName) wasn't working in Safari and Chrome. A very quick fix for this is to change the line to:

jQuery(selector).attr(attributeName, '')

Not brillient, but it works

Read more...


Get Node or Node ID by URL

Posted on November 29th, 2009 by Rich

This article; as the title suggests, is a short article demonstrating how to retrieve a node via the URL of a page. This has probably been covered before numerious times, but this is as much a reference for myself.
Moving on, most of you will probably be saying, why not use:

Node.GetCurrent();

Read more...


Umbraco problems with displaying Special characters

Posted on September 15th, 2009 by Rich

Just a quick one this. I've been aware of this issue for a while but I've only just acted on it.

Basically with Umbraco v4.0.1 (and possibly others), if you enter a special character such as a degree symbol (°) in the RichTextEditor, the character would be replaced with the dreadful default square character when the page was published.

Read more...