Mikko Ohtamaa: Clean up Python source code with PythonTidy, available as...
PythonTidy is a utility to reformat Python source code according to Python PEP-8 style guide. It cleans up your source code and makes it adhere the community recommended practices.PythonTidy does not...
View ArticleRok Garbas: Plonistas! It's time to test your javascript
When I say "test your Javascript" I don't meant to write functional tests for your application (eg: Selenium tests), but to write proper unit tests for your Javascript code.Problem with testing...
View ArticleShuttle Thread: Python 2.4 on Debian multiarch
<p>I recently had to work on a project that needed Python 2.4. "Not a problem", I thought, "I'll just compile a Python and be on my way". However the bz2 module wasn't available. Strange, since...
View ArticleAbstract Developers: Using YAFOWIL form library in Plone
YAFOWIL is a framework agnostic Python library that aims at simplifying forms' building.It's a creature of the wonderful Blue Dynamic Alliance and despite the funny name ("Yet Another FOrm WIdget...
View ArticleReinout van Rees: Intersphinx links to Django's documentation
Intersphinx is a very neat way to point at other projects' documentation from within your own. Handy if you want to reference a Python module or an official Django setting or class.You have to do some...
View ArticleDomen Kožar: Movember contributions
November has been a busy month. Some things I have been involved with (mostly during weekends and evenings):released mr.bob (project skeleton renderer replacing Paste and templer) 0.1a2 and 0.1a3. I'd...
View ArticleReinout van Rees: Temporary standing desk at work
I've got a standing desk at home that I quite like. So I thought "why not also try it at the office?".My poor desk is now lacking four screws: every leg is only using one screw for the very last hole...
View ArticleMikko Ohtamaa: New useful Plone addons
Here is a lighting blog post about some useful Plone add-ons.silvuple: Force admin user interface into your native language to make it easier to manage foreign sites. List and manage LinguaPlone...
View ArticleMikko Ohtamaa: psutil – advanced OS process management utilities for Python
psutil is a Python library and API for UNIX system administration utilities. It provides Pythonic API e.g. for top, lsof, netstat and kill like tasks.The benefits of using this library includeBecause...
View ArticleRok Garbas: Plone Logo with CSS
HTML part<div class="plone-logo"> <div class="plone-circle"> <div class="plone-circle-inner"> <div class="plone-dot-1"></div> <div class="plone-dot-2"></div>...
View ArticleNiteoweb: How to change element's ID with Diazo?
A common scenario: on your website all subpages share a common header, but you want a different header on the front page. Let's say you differentiate between both header versions by their ID attribute...
View ArticleMikko Ohtamaa: Timeouting commands in shell scripts
Often you want to automatize something using shell scripting. In a perfect world your script robot works for you without getting tired, without hick-ups, and you can just sit at the front of your desk...
View ArticlePlone.org: Plone Conference 2013 Coming to Brasília, Brazil
September 29: Early Birds’ DinnerSeptember 30-October 1: Pre-conference TrainingOctober 2-4: Plone Conference 2013October 5-6: Post-conference SprintsOctober 7: Free TimeOctober 8-11: Caipirinha Sprint...
View Articleunweb.me: Plumi is critical for the commons!
We are excited to write about www.criticalcommons.org going live after smooth cooperation between Anna Helme, Steve Anderson, Erik Loyer and Unweb.me. The new version adds significant improvements to...
View ArticleAbstract Developers: SimpleManagement now in collective!
abstract.simplemanagement, the project management tool that we started to develop here at Abstract (see Mizio's blog post for info) has now been moved to the collective, where the development will...
View ArticleAlex Clark: The Zen of Zope, by Alex Clark
>>> import other The Zen of Zope, by Alex Clark Beautiful is an attribute of ugly. Explicit is implemented by implicit. Simple is provided by complex. Complex is directly provided by...
View ArticleAnderson Leeb Blog: Compound Conditionals in Diazo
Say for instance that you are using Twitter Bootstrap, and you want to map Plone's three column layout into a Bootstrap row. When all three columns are present, the center column should take up, for...
View ArticleSimples Consultoria: Products.contentmigration saves the day
DisclaimerSummary above seems to be written by a bad Michael Bay movie publicist but something like that happened at work today. So let's forget about the plot holes and enjoy some lines of codeThe...
View ArticleMikko Ohtamaa: Configuring your Python application using environment variables
This blog post is a short explanation how to give and consume environment variables in your (Python) code. It’s a nice little trick, but if you are not well-versed in UNIX systems you might not know...
View ArticleNiteoweb: Convert z3c.form field desc. to tooltip
Let's say you have a typical form with some input fields. By default z3c.form displays a description (if provided in form definition) above each form field, like in the screenshot below for...
View Article