Theneum
A Rare
Element
Indeed

Viewing posts for the category Coder

Spam Control with jQuery

Posted by: Neum in Coder
Nov. 11, 2014, 11:45 p.m.
Comments

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.

read more

Upgrading Ghost on Webfaction

Posted by: Neum in Coder
Oct. 29, 2014, 5:39 p.m.
Comments

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.

read more

Mezzanine + Sorl.Thumbnail

Posted by: Neum in Coder
Sept. 24, 2014, 3:34 p.m.
Comments

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.

read more

Mavericks + Django

Posted by: Neum in Coder
Feb. 9, 2014, 2:32 a.m.
Comments

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.

read more

Chrome 30 Breaks FKCeditor

Posted by: Neum in Coder
Nov. 26, 2013, 10:21 p.m.
Comments

Recently at work I had a perplexing issue. One of the knowledge workers' browser suddenly stopped loading the FCKeditor in Magento. It was weird because myself and everyone else who used the administration side of Magento was able to edit pages and products just fine and have the editor load up no problem. At first I though it might be a javascript issue or something but that was working fine everywhere else. Finally I loaded the network panel and saw an error there

read more