Archive for the ‘Linux’ Category
Plone: Overrides.zcml gets auto-included with z3c.autoinclude
Unsurprisingly, specifying a z3c.autoinclude entry point in your Plone product egg means your ZCML gets automatically included. That’s great because it means you don’t have to specify your product under the ZCML section of your instance in buildout. One thing that isn’t so obvious (it’s not mentioned that I can see on plone.org) is that if your package is marked for ZCML autoinclude, then Plone will automatically load an overrides.zcml file in your product. (more…)
Linux: Make time with faketime
So you, like me, have hit a situation where you’ve got a time-sensitive application that won’t run? Maybe you’ve downloaded one of those apps (like a demo) that won’t run after a certain date and time because it’s “expired”. Or else, maybe some other arbitrary time constraint is keeping you from running a Linux (or even Windows) program. On Linux (Ubuntu for me), there’s faketime to the rescue – a very handy tool that does what it says on the box, changes the system time for given command. (more…)
Plone/Zope: Using LDAPUserFolder with posixGroups
Due to various reasons, the Products.LDAPUserFolder package available for Plone and Zope doesn’t support POSIX groups. The ‘official’ (ish) reason for this is because of the fact that these groups don’t store full distinguished names (DNs) for members. It makes some degree of sense, because a user ID like ‘david.test’ isn’t strictly unique. On the other hand, these types of groups are quite common in LDAP implementations; not supporting them without giving it at least half a shot to find the user seems a bit strange. (more…)
Virtualenv, Python 2.4, Plone 3.x and Lucid Lynx (Ubuntu 10.04)
These titles of my posts just keep getting longer and longer. For those of you paying close attention (I know who you are), this is the next in my series of getting the above-mentioned tools working together. Previously, it was Centos 5.x, Jaunty (9.04), Karmic (9.10) and now Lucid (10.04). Only subtly different, each of this distributions has pretty much called for its own post on the matter of getting a working Plone 3.x / Python 2.4 virtualenv installation going. So, here goes this time around. (more…)
Things to do on Ubuntu 10.04 Lucid Lynx after install
I’m skipping actually quantifying the number of things to do because this post will undoubtedly get updated as time goes on. I’ve just updated both my computers (personal laptop and work desktop) to Ubuntu 10.04 from 9.10 and I’m very happy with how things have gone. That isn’t to say a few minor things haven’t annoyed me, such as Project Hamster removing its Day view for task management or Python 2.4 being dropped entirely, but overall, it’s gone well. Here’s my thoughts on what you should do as soon as you’ve made the jump (or installed). (more…)
You are currently browsing the archives for the Linux category.