Showing posts from 2012

Taking preorders for "I Am Root T-Shirt"

Hi All,

I'm taking pre-order for this T-shirt:

"I Am Root, if you see me laughing... you'd better have a backup"

Price : MYR 30
Shipping: MYR7 (Peninsular Malaysia), MYR9 (Sabah/Sarawak) , or free pickup at Puchong IOI / Subang Empire

Available sizes : S, M, L, XL, XXL, XXXL

If you are interested, email to preorder now!

Details needed:
1. Name
2. Sizes and amount
3. Email address
4. Phone number
5. Shipping address (if want to be shipped through postage)

Pre-order closes on 5th of September 2012.

Do follow/like Zashiki-Ya Google+ page at and Facebook page at

Using OpenShift with a project on SVN repository

OpenShift uses GIT for the internal repo, however, you might have existing projects which are on SVN which you want to deploy into OpenShift but yet to have chance to migrate it to GIT (or for some reason, couldn't). So how do you approach this?.

The simplest trick around is, to have a GIT+SVN combined directory to work on. Here's the quick steps:

Checkout/clone both the project SVN and OpenShift GIT repository into 2 separate directories. Copy .git directory from OpenShift GIT clone into the SVN checkout directory.Done. This will setup a  directory which can be committed to both GIT and SVN. Whenever you want to deploy the code to OpenShift, git commit and git push it. Whenever you want to save the code into the code repository, svn commit it.

diazotheme.bootstrap 0.2 released

I have been using diazotheme.bootstrap for a number of community sites for quite a while now. It was originally developed around November last year with Bootstrap 1, and have gone through some updates and enhancements to Bootstrap 2 , but it only remains in its github repository, but never actually released properly.

Anyway~ ... after long due, diazotheme.bootstrap 0.2 is now released in PyPi:

Btw, should I fork this into collective github?

Virtual hosting on Grok (or Bluebream) - without a reverse proxy

When I was poking at creating the Grok template for OpenShift, I needed to add virtual hosting for the test application.

However, OpenShift's DIY cartridge does not allow me to modify the reverse proxy settings as they are automatically generated by the cartridge. Naturally, I had to find another way.

Grok virtual hosting with WSGIRewrite

WSGIRewrite is a WSGI middleware which provide a facility for mod_rewrite compatible rewrite rules for WSGI applications. Using this middleware, we can rewrite the URL to force virtual hosting on the application server.

Lets go straight to the meat, here is the howto.


The first step is of course, to add WSGIRewrite into your buildout. Edit and add 'WSGIRewrite' into the install_requires list, and re-run buildout.

Afterward, edit your WSGI INI file, (eg: etc/, and find a section called pipeline:main, and add rewrite as the first item in the pipeline. The section should appear like this now:

[pipeline:main] pipel…

Grok framework quickstart template for OpenShift using the DIY cartridge

Another OpenShift goodness for Zope developers. A quickstart template for the Grok framework! Grok is now deployable easily on!

Check it out here:

Grok on OpenShift

Unlike the Plone template which is pretty straightforward, the Grok template requires some additional steps to initialize the project. This is mainly due to Grok projects are packaged in python eggs by default, so the package name is quite important. A preconfigured package name would surely cause name clashes.

To initialize the project, just run with your project name as the parameter. The script will automatically install grokproject, create your project, move the files around so that it works nicely with OpenShift, and add the necessary files into the git repo.

Create a grok project using your own custom project nameDeploy your application using the environment variables of OpenShiftBuild process, caching and storage is im…

Plone on OpenShift quickstart using the DIY cartridge

TLDR; Plone is now deployable easily on . Check out the repository here:

Plone on

Yesterday I posted about  deploying Plone using a cartridge in your own private OpenShift Origin VM.

Afterwards that day, I had some chat in the #openshift IRC channel and was informed that it is OK to run buildout in, and last night, I converted the scripts and config from the cartridge so that it fits in the workflow of the DIY cartridge.

Deploys Plone 4.2 with Dexterity content types easily and quickly on openshift.redhat.comDownloads are cached in ${OPENSHIFT_TMP_DIR}/${OPENDIR_APP_UUID}-cache. However, as this is not shared, it means all new apps will have to redownload the python eggs. While it might be possible to use a shared download cache for this  (OPENSHIFT_TMP_DIR is apparently /tmp), I am not sure whether the SELinux settings in the server allows it or not.…

Plone cartridge for deployment on OpenShift

I was poking around OpenShift on last weekend to see what it offers, and also to see whether I can deploy Plone on it.

TLDR; Plone deploys well on my OpenShift VM. I created a cartridge for it here: . I can now easily add new Plone deployments for my development server with less work.

About OpenShift

OpenShift is a Platform as a Service (PaaS) software from Red Hat. It can be summarized as a FOSS Heroku-like platform for deploying web applications easily.

Support for applications comes in 'cartridges', which basically a set of files and scripts to prepare a self-contained environment for your application deployment. OpenShift includes several official cartridges to deploy popular applications and frameworks such as Drupal, RoR, Django, WSGI, etc. There is also a cartridge called 'DIY' which allows you to import any http daemon and serve it through OpenShift - thus providing a basic way in integrating non-officially support…

Consolidated community site infrastructure on Plone

In Inigo, we believe in helping out local FOSS communities and help them grow. We help out in community events where we can, present FOSS talks, and provide some platforms for local communities to grow. One of such platform is our consolidated community site infrastructure on Plone.

The system/infra and its components was originally developed for the Fedora Malaysia website, while keeping in mind to keep it generic enough so that other communities could use the same components for their own community sites. The infra is already at a usable state, and we can add new sites easily with just a few clicks.

Features in this consolidated infra are:
Document/Content management (Plone built-in)Calendar system (powered by solgema.fullcalendar addon)Conference/BarCamp system (powered by collective.conference addon, which was developed for FUDCon Kuala Lumpur 2012)Blog (powered by Products.Scrawl)Simple yet powerful theming engine (powered by Diazo) - Check out Diazo, you'l…

FUDCon Kuala Lumpur 2012 Post-Conference Report

Fedora User Developer Conference (FUDCon) Kuala Lumpur 2012 - which I was the event owner - ended successfully on Sunday, 20th May 2012. With only around 3 months of planning (1 month for the bid, and 8 weeks for the organizing process), FUDCon Kuala Lumpur might have been one of the shortest FUDCon planning ever, if not the shortest!!.

With roughly a total of 34 crew and volunteers, we managed to pull it off successfully. To some of the crews, our experience pulling off a crazy stunt of organizing FOSS.My 2008 in 30 days might have helped us in getting prepared for the worst.

We were hit by the Murphy's Law several times before and during the conference, and one of it was Harish unfortunate tennis calf injury made him unable to come to FUDCon KL. This created a challenge for us in the monetary stuff related to on-site payments, but thanks to Harish's swift action sending us some cash through Western Union , we managed to cover a number of them.


With only 8 wee…

Going to FUDCon KL 2012

Or more like .. i'm organizing it :P ...

22 days more to go ~~ and archetype.fieldtraverser doesnt seem to support archetype.fieldtraverser's ++atfield+FieldName urls. Here's a quick hack to make it cacheable.

Add this into your configure.zcml:

<configure ... xmlns:cache="" ... /> ... <cache:ruleset for="archetypes.fieldtraverser.fieldtraverser.FieldContentView" ruleset="plone.content.itemView" /> ... </configure>
Thats it. It should be following the contentItem caching rule settings afterward.

FUDCon APAC: KL 2012 : Pre-registration & funding request is now open

Location: UCTI-APIIT, Bukit Jalil, Kuala Lumpur
Date: 18-20th May 2012

FUDCon is the Fedora Users and Developers Conference, a major free software event held in various regions around the world, usually annually per region by the Fedora Project, a GNU/Linux distribution community.

FUDCon is a combination of sessions, talks, workshops, and hackfests in which  contributors work on specific initiatives. Topics include infrastructure, feature development, community building, general management and governance, marketing, testing and QA, packaging, etc.

This year, Malaysia gets the opportunity to host this premier event for the Asia Pacific region and we are inviting everyone, developers and users alike,to participate in this event which will be a span of 3 days, at The AsiaPacific University College of Technology and Innovation (UCTI a.k.a APIIT), Bukit Jalil.

Pre-registration for FUDCon KL 2012 is now open and you may pre-register …

FADKL Jan 2012

The Fedora Activity Day (FAD) is a regional event (either one-day or a multi-day) that allows Fedora contributors to gather together in order to work on specific tasks related to the Fedora Project. It is usually held in Barcamp format, and the activities ranges from simple introductory talks to a whole day of building new features for Fedora. Example activities includes:
TalksSprints/hackathons - coding sessionWorkshopsDiscussion group - eg: planning on how to promote Fedora in MalaysiaBut wait, what is Barcamp?
Barcamp is an open, participatory workshop-events, the content of which is provided by participants. Talks and sessions for each days are proposed by attendees , usually on-site, and all attendees are encouraged to present or facilitate a session.

Talk Submission

Any talks are accepted, as long as it meet one or several of these criteria.
Software is available in Fedora repositoriesSoftware is known to be going to be available in Fedora repositoriesTalk/sessi…

Ubuntu launched online AppStore

Just saw this news which was posted a few days ago:

Seems like Ubuntu also have follow suit in the online appstore concept

For Fedora or PackageKit-powered-distros users, AppRepo project might be of interest to you, which, coincidentally, launched a couple of weeks before the Ubuntu App Directory article above.

AppRepo is powered by PackageKit .catalog file, so it is quite distro agnostic. However at the moment our contributors are mainly Fedora users, so the applications at the moment only support Fedora.

If you want to help out, we could use some help in populating the AppRepo with more apps. We choose to not use automated import to make the AppRepo a bit 'human'. If it was not added by anyone, its probably not worth looking at. So if you think theres apps thats worth to be looked at, please, add them into AppRepo and give love to it by adding screenshots and nice descriptions.

Nonetheless we are planning on…