Viewing posts for the category Coder
Recently at work I was faced with a problem. We use an outsourced CRM solution so I send lead forms directly to them. Things work but the only solution they have for spam control is using a captcha. A solution I'm not particularly fond of. Especially since one of those forms is in the footer of our site and it would just be flat out ugly.
A while back I started a blog using Ghost to try it out. Webfaction made it easy by having a 1 click installer for it almost immediately after it was available. The site has been up and running for a while and I noticed that there have been several upgrades since I installed it so I wanted to upgrade to the latest version. Here is how I did that. Note that these instructions will only work if you installed Ghost using the Webfaction installer.
I really like Mezzanine and use it all the time in projects. It powers this site you're on now. There are a couple of things that often "bug" me about it though. One is that I don't understand why Stephen chose to bake his own thumbnail plugin and didn't just use sorl.thumbnail. Sorl is much more flexible and powerful. For instance I can add margin and center an image when resizing it to give uniform whitespace around images while preserving the aspect ratio, something the built in thumbnail tag can't do. Sorl also allows me to specify a file type. For instance on a big site I just launched all the header images were added as png images and were huge, over 1MB in size. I needed to convert those to optimized jpeg images and sorl.thumbnail allowed me to do that, reducing the size 10 times to less than 100k with no discernible drop in quality. Again, you can't do that with the built in thumbnail tag that I know of.
As I'm changed work a few times the past few years I've had to get a Django install up and going on each new machine I've used. Here's a quick run through to get a local development environment for Django up and running in Mavericks in no time.