WordPress CloudFlare Url Replacement

Super simple URL replacer for CloudFlare CDN user.
Support for:
Css and Js using enqueue system
Images inside post and widget
Images through get_the_post_thumbnail

 

Source code here: https://gist.github.com/2437025