Niteo
  • Startup Studio
  • Projects
  • About
  • Team
  • Careers
  • Blog
  • Contact
  1. Blog
  2. Author: Peter Lamut
  • NiteoWeb attended a Pyramid sprint in Halle, Germany

    Aug 21, 2013

    —

    by

    Peter Lamut
    in Tech

    Gocept, a company based in Halle (Saale), Germany, organized a Pyramid sprint, which lasted from 15th to 17th August 2013. The sprint took place at their headquarters which, by the way, has a lovely garden perfectly suited for relaxation, eating, drinking and development (not necessarily in that order!). A bunch of NiteoWeb former and present…

    Read more »: NiteoWeb attended a Pyramid sprint in Halle, Germany
  • Setuptools – run custom code in setup.py

    Aug 15, 2013

    —

    by

    Peter Lamut
    in Tech

    A week or so ago I started developing an experimental Python package for one of our projects. At some point I realized that it would be convenient to automatically execute some additional initialization code during the package installation process (i.e. when “python setup.py install” is run). This can be achived by subclassing the setuptools.command.install class…

    Read more »: Setuptools – run custom code in setup.py
  • Write a Plone CLI maintenance script

    Jul 31, 2013

    —

    by

    Peter Lamut
    in Tech

    This is a quick tip on how to write your own command line maintenance scripts for your Plone application. Recently one of our clients expressed a need for a maintenance script which would walk the database of a Plone application and, for every object, print out all the roles users have assigned on that object.…

    Read more »: Write a Plone CLI maintenance script
  • Convert z3c.form field desc. to tooltip

    Dec 14, 2012

    —

    by

    Peter Lamut
    in Tech

    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 example: Sometimes however, you might want to make things a little bit different. Perhaps you want to save some screen space by hiding…

    Read more »: Convert z3c.form field desc. to tooltip
  • How to change element’s ID with Diazo?

    Dec 13, 2012

    —

    by

    Peter Lamut
    in Tech

    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 and define two different sets of CSS rules for each version. When applying Diazo rules to a theme file, you therefore…

    Read more »: How to change element’s ID with Diazo?

Search

Topics

  • General
  • Marketing
  • PeopleOps
  • Tech

Latest Posts

  • Sprint season is open
  • Niteo IRL#15 – Kranjska Gora
  • NixCon 2024 Berlin
  • PyCon JP 2024
  • Niteo IRL#13 – Lanzarote
  • EuroPython 2023
  • Niteo Summer IRL meetup in Ljubljana
Projects
  • Flagship
  • Open Source
  • Sold
  • Client
About
  • Venture Lab
  • Company
  • Timeline
  • Giving Back
Team
  • People
  • IRL
  • Conferences
Careers
  • Work & Coworkers
  • Management
  • Benefits
  • Open Jobs
Contact
  • Support
  • Address
  • Legal

© 2007 – 2024 Niteo