Rails 3.1 Asset Pipeline with jsTree and CKEditor

I have lately encountered an issue with Ruby on Rails 3.1 whereby the cleverness of the asset pipeline actually inhibits using certain javascript-based components on my site, namely jsTree and CKEditor. Annoying, I know.

The issue encountered is that some of the features load but not all, namely the styling doesn’t load. This is noticeable in the case of CKEditor mostly because there is a gaping hole for the editor in the page, so it’s clearly generating the DOM elements, but not doing much more than that!

Continue reading

Save The Hobbit Pub in Southampton! A short tirade…

You may have noticed that I’ve added a banner to the sidebar of the blog; this isn’t me trying to monetize the site – far from it in fact – this is a little publicity for an issue that recently arose regarding The Hobbit Free House in Portswood, Southampton.

“What issue?”, I hear you ask. Well you obviously aren’t following Stephen Fry on Twitter, who waded into the argument surrounding the Saul Zaentz Company’s (SZC from hereon to stop me having to spell that annoying name) recent threat of legal action to The Hobbit’s owners, Punch Taverns, if they don’t remove all references to J.R.R. Tolkein’s book and its characters.

Continue reading

Configuring VSFTPD to allow secure FTP connections with OpenSSL

A comment on my previous post on setting up VSFTPD on Ubuntu has prompted me to write this brief supplement on how to configure VSFTPD for SSL connections.

Assuming you’ve followed the previous tutorial mentioned above, you’ll need to generate an SSL certificate using OpenSSL, then configure VSFTPD to use the key. Continue reading

Quick FTP server setup with VSFTPD on Ubuntu

Well my dream of writing a lengthy blog post to really christen this new blog went slightly awry this weekend – we can put that down to a mixture of snow-related excitement and Godfatherly-related travels. Either way, I’ve only had time to put together this quick post regarding how to set up an FTP server on Linux using VSFTPD.

I should quickly note that setting up an FTP server is not something I do very often, there are probably better ways to do it, and there are probably better people out there to advise you how to do it. The fact that you’re still reading this though probably implies you’re not going to go to those other sources to get your FTP-related goodness, so here it is…

Continue reading

A new year, a new blog

It came to me in the night – something has to be done about my online presence! It’s all very well tweeting occasionally and selling Expression Engine add-ons by the thimble-full, but really I need some kind of central repository of Charlie-ness.

So welcome to “Too Many Redirects”; named after the annoying – yet through no fault of its own – Safari screen, this blog shall act as a beacon for my knowledge, experimentation and anything else that tumbles out of my mouth (erm… fingers) without passing through my brain on the way down.

I shall do my best to keep this blog up to date with my latest forays into code, photography and life in this flood plain we call London town. My underlying hope is for you, dear reader, to take something away each time from here – whether a new understanding of something geeky, or an imprint on your mind of the peculiarity of mine!

So relax, sit back and enjoy the ride. Seat belts optional (but encouraged).