Author Archives: michael

Copy CSS styles without additional HTTP requests

I’m working on an editor product for Plone that has a realtime preview in an iframe. In order to style the preview, I needed the same stylesheets loaded in that iframe as were in the parent window, but iframes don’t … Continue reading

Posted in CSS, Javascript | Leave a comment

Plone with a clean development environment on Leopard

I still have a G5 PowerMac. It runs Mac OS X 10.5 Leopard. I know it’s old, but since it’s a PowerPC I can’t upgrade the MacOS. It’s still very relevant for doing Plone development, as Apple has a long … Continue reading

Posted in Development, Internet, Plone | 2 Comments

Plone 4.1 with Apache and mod_wsgi (sorta)

Update 2011-06-01: Still not working perfectly, but I did manage to clean up a couple steps by using more of mod_wsgi’s bells and whistles: Using a .pth file and the WSGIPythonPath directive you don’t need to manually load all the … Continue reading

Posted in Development, Internet, Plone, Uncategorized | 3 Comments

The Future of the Internet is in the Client and the Cloud

Commentary on: http://www.zdnet.com/blog/btl/the-future-of-the-internet-its-in-the-app/49512?tag=nl.e539 The Forrester CEO cited in this article strikes me as remarkably naïve (or maybe badly misquoted). I’m not downplaying the importance of apps, but 90% of the popular apps on the market are popular because they exchange … Continue reading

Posted in Uncategorized | Leave a comment

How to build a simple shared zeoclient-only setup for Plone 3

Note: The following is probably very adaptable to Plone 4. In fact, I suspect it’s even easier in Plone 4. But I’m working on Plone 3 right now, so there you go. This is the second in a two-part guide … Continue reading

Posted in Plone | 1 Comment

How to build a simple shared zeoserver-only setup for Plone 3

Note: The following is probably very adaptable to Plone 4. In fact, I suspect it’s even easier in Plone 4. But I’m working on Plone 3 right now, so there you go. When you first install Plone, you get everything … Continue reading

Posted in Plone | 1 Comment

How to force HTTPS on Facebook and Twitter

HTTPS is a way of providing security and privacy for your communication with web sites. You should expect it from sites that deal with your money, such as your bank, or Amazon.com, but you might not realize how important it … Continue reading

Posted in Uncategorized | Leave a comment

How to drop 32-bit support from AMD64 Gentoo

In the wake of the recent kernel exploits I determined I didn’t really need 32-bit support on most of my 64-bit machines. The vulnerabilities in question depend upon 32-bit support, so dropping that support resolves the issue without me having … Continue reading

Posted in Uncategorized | Leave a comment

Doubleclick.wtf

pre { overflow-x: auto; } code { white-space: nowrap; } Steve and I were asked to implement doubleclick.net for some site by “oh you just drop some code in the page and it works great OK?” No. We never do … Continue reading

Posted in Uncategorized | Leave a comment

Using find in Subversion working copies

To make working with Subversion easier, I’ve written a shell function that automatically prunes “.svn” and anything found in the svn property “svn:ignore” when using find. Continue reading

Posted in Uncategorized | Leave a comment